Shaders: console lanes in groups of several host waves take their threads from a group counter (port of Vice-Tay c125c0c, fxceless #1243)

NVIDIA fills 2-D compute groups from 16 x 2 tiles, so rounding a host wave's
first flat id down to the wave size gives two waves of a 32 x 2 group the
same base. Such programs now take their console threads from an LDS counter
(wave_base), as wave64-in-halves programs already did; lanes are placed by
their rank among the active lanes. VICTORY_THREAD_TICKET=0 restores the old
rounding (part of the shader cache key).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
regiumlepidiandClaude Opus 5.5 committed 2026-11-27 11:22:23 +01:00
1 parent 9341f4316f
commit 854f57ff7a
2 files changed
+48 -9

No files matched your search

+1
View File
@@ -76,6 +76,7 @@ fn build() -> [u8; 32] {
"VICTORY_MESH_OUTPUT_STRICT",
"VICTORY_BVH_FENCES",
"VICTORY_BVH_BOUNDS",
"VICTORY_THREAD_TICKET",
] {
bytes.extend_from_slice(name.as_bytes());
bytes.push(b'=');