xshader: permit proven bounded pixel code-table offsets #256
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/256"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T17:33:43Z.
Candidate for a subset of the dynamic SOFFSET refusals in #227. The existing bounded GETPC-relative embedded-code-table offset proof was gated to compute even though pixel programs use the same scalar byte addressing and immutable embedded table. Permit the existing proof for pixel programs; leave packed and mesh paths excluded, and leave ordinary dynamic descriptor loads unchanged. The proof still rejects unaligned offsets, clobbered pointers, unsupported control flow and any possible address outside embedded data.
A synthetic pixel ISA fixture failed on main with 'code-table read with dynamic soffset unsupported', now emits a bounded table lookup. Truncated and unaligned cases still refuse. The new GPU control supplies a varying entry-live scalar from SV_Position (only input instrumentation); it keeps the actual translated address, load and export. DXC/DXV validation and four draws on RTX 4080 / GE-Proton11-14 passed: 1024 pixels, 4096 uint components, full and clipped scissor, zero differences. Previously built provider used for isolated translated pixel HLSL check. All six no-GPU groups passed on base
5c5677b.The actual 19 dynamic SOFFSET failures reported in #227 are not available locally. This is a demonstrated narrower refusal, not evidence all 19 are fixed. Full Lanes/GPU suite and AMD validation outstanding. Draft for review.