upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorquartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com>2026-11-27 17:29:50 +0800
committerquartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com>2026-11-27 17:29:50 +0800
commitdbdef2efd7c8c6bd2ec11d4456d28e4c34ece113 (patch)
tree2afb42d81581a804f21c47e987c77c1d9bcb9c71 /docs/testing.md
parentcd25a5c95a1a7c94f2167647fc2ef9b138512845 (diff)
mesh-serial-waves: a GPU fixture whose two waves run loops of different length
ms_w64x_wave_loops: each wave loops while a wave-wide count is not 0, 5 iterations in wave 0 and 9 in wave 1, so under --wave64-emulate the waves reach different numbers of workgroup barriers. Written after stalls were reported with the serial form on an RTX 2070 SUPER (issue 1608). On an RTX 4080 (NVIDIA 621.24) it draws 4096/4096 pixels exact side by side and in series; that does not explain the stalls. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/testing.md b/docs/testing.md
index 4d4e450a4..62f5ced44 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -579,7 +579,7 @@ constants, so those tests skip.
579`LEONIDA_MESH_SERIAL_WAVES=1` for `run_gpu_tests.py`, together with `LEONIDA_W64_EMULATE=1`, translates the mesh 579`LEONIDA_MESH_SERIAL_WAVES=1` for `run_gpu_tests.py`, together with `LEONIDA_W64_EMULATE=1`, translates the mesh
580shaders with `--mesh-serial-waves` (`docs/design.md`, "Mesh shaders with their waves in series"): the ones that 580shaders with `--mesh-serial-waves` (`docs/design.md`, "Mesh shaders with their waves in series"): the ones that
581qualify run one pass per wave in 64 invocations. The `ms_*` tests must pass with and without it; 581qualify run one pass per wave in 64 invocations. The `ms_*` tests must pass with and without it;
582`ms_w64x_wave_votes` is the one whose two waves take different branches and both give the triangle a vertex. 582`ms_w64x_wave_votes` is the one whose two waves take different branches and both give the triangle a vertex. `ms_w64x_wave_loops` is the one whose two waves run a loop of different length (5 and 9 iterations), each iteration reading a wave-wide count, so under emulation the waves reach different numbers of barriers.
583 583
584## GPUs without mesh shaders (NVIDIA Pascal and older) 584## GPUs without mesh shaders (NVIDIA Pascal and older)
585 585