upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorBACONMANXDGOD <167630566+BACONMANXDGOD@users.noreply.github.com>2026-11-21 22:32:20 -0600
committerBACONMANXDGOD <167630566+BACONMANXDGOD@users.noreply.github.com>2026-11-22 01:09:17 -0600
commitc774f25f09eaac0168a8655005e0b9d36cfc88f6 (patch)
tree916e812bf0c6f65143a857b0aff11a04dbfbacc3 /runtime/src/pe_loader.cpp
parentc63773d51235d72250d48699f29830ac9ddafd60 (diff)
rdna2spirv: barrier rounds for wave32 compute shaders whose s_barrier isn't in uniform control flow (SHADER-91)
On RDNA every s_barrier counts against the same workgroup barrier and a wave that has ended no longer counts; SPIR-V needs every OpControlBarrier reached by the whole workgroup in uniform control flow. A native wave32 compute shader whose s_barrier sits anywhere but a top-level block of the structured tree now runs in rounds, the emulated wave64 loop without its cross-lane part: s_barrier ends a segment, each invocation runs until its next s_barrier or the end, and the workgroup meets at one OpControlBarrier at the end of the round. A per-round count of the invocations not done (three Workgroup words) ends the loop. Native wave64 cs and ms are unchanged. Intel Arrow Lake Xe-LPG iGPU (32.0.101.8132): cs_barrier_divergent and the new cs_barrier_early_end and cs_barrier_loop lose the device with the plain translation and pass with barrier rounds; all three pass on an RTX 5070 Ti (617.42) either way. docs/design.md's Workgroup barriers row describes it. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions