NVN's shader barriers reach the Vulkan shader address caches as the renderer's method_barrier kind 5 (shader
instruction invalidate). It advances a shader generation independent of the memory epoch. The next lookup reloads
code, while content-addressed modules remain reusable. This does not expire texture caches or force a host wait.
Repeated invalidations flush any held draw before advancing the generation. The Maxwell method encodings these come
from are documented in NVIDIA's public 3D class
and compute class headers.
GPU event waits yield only their queue's replay job until EQUAL or GEQUAL_WRAP succeeds. Other queues can release the event. Recorded shader subroutine selections update validated compiler-constant linkage tables, with relative and absolute calls in the shader translator. Copy conversions include supported volume color formats, sRGB transfer and GPU depth/stencil gathers when native image blits are unavailable.
Advanced blending uses exact ordinary-blend reductions, coherent native advanced operations or a fragment-interlock shader path. Each path has explicit format, attachment and device restrictions. These features do not imply full NVN compatibility. The rendering audit lists their current behavior, restrictions and synthetic checks.
| File | What it is | Built into |
|---|---|---|
tests/support/nvn_control.c | decoders for the 12-word macro 38 indexed draw and the macro 12 program bind | tests/nvn_control.c |
tests/support/nvn_command_gap.c | classifier of Maxwell method write effects in a span of command words | tests/nvn_command_gap.c |
src/nx/gpu/maxwell/draw_state.c | the 3D and compute engines' registers as the renderer's draw state, for the Maxwell front end and for the Vulkan tests that describe draws by register values | the runtime, and tests/vulkan_headless.c |
Every SNX_NVN_* variable is gone: these are [Debug] settings now. gpu_trace_target=address[:bytes] (vk/render.c) logs the clears and
draws that write a render target starting in that range, and replaced the older GPU trace variables.
Made from docs/layers/gpu/nvn.md at 69237645142c. GPL-3.0-or-later.