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:
authorshoal-rat <95214059+shoal-rat@users.noreply.github.com>2026-11-22 21:50:07 +0800
committershoal-rat <95214059+shoal-rat@users.noreply.github.com>2026-11-22 21:50:07 +0800
commit912a6aaf507a1542a48121a348f5d5e6824cbedc (patch)
treeb5ac78f85fc874d23175cdd92d37fd09bc3a750e /runtime/src/pe_loader.cpp
parent89b047cd8fab50675a43d76722a6a8a881f55dc2 (diff)
rdna2spirv: keep --f16-interp-fallback halves at location 29 and below (SHADER-291)
MoltenVK reports maxVertexOutputComponents = 124 because Metal counts gl_Position in its 128 vertex-output scalars, and the validation layer counts it too. With param 0's high halves at location 30, every VS that exports a param under --f16-interp-fallback (on by default on MoltenVK) failed VUID-RuntimeSpirv-Location-06272. Move the halves down one location so the top one is 29 ((29 + 1) * 4 + 4 = 124). Update the design.md contract row and the semantic test, which now also checks the boundary (param27 keeps param 0's halves, param28 drops them) and that no VS output goes above location 29. 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