ScarletNX / ScarletNX documentation / Graphics pipeline libraries · ← previous · next →
Open questions
- The feedback loop flag without its dynamic state: which parts must have
VK_PIPELINE_CREATE_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT? The VUIDs in validusage.json of the installed layer
do not say. Check the spec section of the flag, then the layer on a device without
attachmentFeedbackLoopDynamicState (lavapipe, or the setting forced off in a scratch build).
- The cost of a cache hit for a 1.7 MB part: the warm method of the shipped programs depends on it. Measure a
part make with a warm
g_pipeline.pcache on the Ounce game. If it is more than tens of milliseconds, keep the parts of the
vertex programs alive instead, and measure the driver memory that they hold.
- The driver's cache key with a new module handle: check that a part made from a new
VkShaderModule with the same
SPIR-V is a hit (the creation feedback's APPLICATION_PIPELINE_CACHE_HIT bit).
- The fast link on the GPU thread: is about 1 ms small enough there, or must the link always go to a worker?
Measure the "pipeline link" zone.
- The GPU cost of the fast link: how much slower is a draw on the fast link than on the optimized pipeline on
NVIDIA and RADV? It sets how much the background queue matters.
INDEPENDENT_SETS on RADV and ANV: does it cost GPU time on descriptor binds? Compare the GPU frame time with
GPL on and off on an AMD GPU, which this machine does not have.
- Driver memory: thousands of parts and pipelines live for the whole run. Measure the memory of the process with
GPL on and off over a long run.
- Robustness on parts: check under the layer that
VkPipelineRobustnessCreateInfoEXT on each part and on the link
is valid, and that vertex fetch stays robust on the fast link.
- VUID-RuntimeSpirv-OpEntryPoint-08743 at a link: one run under the layer reported two times that a fragment
input at location 4 has no vertex output. Two more runs under the layer, one of them with cold caches, did not
report it. A debug build of the second logged the modules of each of its 437 links and wrote out their SPIR-V: no
fragment input of any of them lacks an output of the vertex stage, and no pipeline of these menus has a geometry or
tessellation stage. The message names no handles, so its link is not known. To find it, run under the layer with a
break on that VUID and read the two modules of the link on the stack.
← previous · next →