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:
authorAwkGrep256 <AwkGrep256@users.noreply.github.com>2026-11-22 22:45:41 +0300
committerAwkGrep256 <AwkGrep256@users.noreply.github.com>2026-11-22 22:45:59 +0300
commitadefa18b1386241953ddec58e540e72647ff5420 (patch)
tree019df1d96e0f61a1741cf7faf830156f0d90ad85 /runtime/src/pe_loader.cpp
parent4c414d121663c06ab2cbfb04596cc2a39457be77 (diff)
tools: ps_oracle.py runs on Linux AMD GPUs (RADV backend)
RADV returns VK_KHR_pipeline_binary data as one binary per stage (radv_shader_serialize), not the AMD Windows driver's single PAL ELF, so ps_oracle exited 77 on every Linux AMD GPU. Find the pixel stage, its code, sizes, num_vgprs/num_sgprs and rsrc1 by values that must agree (radv_shader_info's size changes between Mesa versions), replace the code and raise the VGPR counts. GFX10 only (GFX11+ is refused with "unsupported architecture"); --set stays PAL-only. Checked on gfx1036 (RADV RAPHAEL_MENDOCINO, Mesa 26.3.1); an RX 9070 XT (RADV GFX1201) is refused with exit 77. 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