diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 23:52:27 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 06:34:53 -0500 |
| commit | d88b2deea2159c177630f05c944e2ce7bd168bea (patch) | |
| tree | 75760a874321e7059eb7c95da836f2355843621c /runtime/test/queue_proxy_test.cpp | |
| parent | 0da4ca402817a213c9e339eac3798d246e56bfd7 (diff) | |
rendering(r5b): promote barrier+write shaders to VulkanMemoryModel with NonPrivatePointer/NonPrivateTexel
Under OpMemoryModel PhysicalStorageBuffer64 GLSL450 (and for plain Aligned PSB loads/stores even under VulkanMemoryModel), OpControlBarrier 0x948 does not invalidate per-CU GL0 vector caches on AMD RADV/ACO (Navi31). Multi-wave workgroups communicating through global buffers across s_barrier (or wave64-emulate ordering barriers) read stale GL0 values across CU0/CU1, corrupting facial-rig compute graph evaluation (collapsing character jaws).
Detect workgroup barriers paired with PhysicalStorageBuffer or storage-image writes+reads (236 shaders, <0.9% of corpus), promote them to VulkanMemoryModel with NonPrivatePointer/NonPrivateTexel and 0x6948 barriers, leave non-writing barrier shaders on GLSL450, document the rule in docs/design.md, and add 9 semantic regression tests.
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions