upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/d3d12_command_objects.md
diff options
context:
space:
mode:
authorwxrrry <127362966+wxrrry@users.noreply.github.com>2026-11-23 03:28:30 +0300
committerwxrrry <127362966+wxrrry@users.noreply.github.com>2026-11-23 03:28:30 +0300
commit862d3e918dca5d749291084923e59f2d3dbd6204 (patch)
tree9e312d0b657f0d0f0be4ac77228e884ac562bfff /docs/d3d12_command_objects.md
parentaa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff)
rdna2spirv: restrict %ms_counts store in mesh shaders to invocation 0 (SHADER-766)
- tools/rdna2spirv.py: when emitting s_sendmsg(MSG_GS_ALLOC_REQ) in stage ms/msc, guard OpStore %ms_counts with local_index == 0 to eliminate SharedMemoryDataRace-RaceOnStore. The counts are uniform across the workgroup (from SGPR m0), and all invocations synchronize at the subsequent workgroup barrier before loading %ms_counts. - tests/test_mesh_alloc_single_writer.py: add unit tests verifying the invocation-0 guard and valid SPIR-V assembly for native mesh and --mesh-compute.
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions