Skip to content

xshader: permit proven bounded pixel code-table offsets - #256

Draft
Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/pixel-buffer-offset-20261126
Draft

Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/pixel-buffer-offset-20261126

Conversation

@Valdi320

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant