Skip to content

dxbc: recover corroborated descriptors in later compute tables - #254

Draft
Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/critical-binding-proof-20261126
Draft

Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/critical-binding-proof-20261126

Conversation

@Valdi320

Copy link
Copy Markdown
Contributor

Candidate for two refusal classes in #233. The existing read_bindings recognizes later compute table locations, but descriptor_class used by uncovered_descriptor only recognized tables 0/1. Apply the same width normalization after independent user/used row and SGPR checks. Also correct the distinction between root parameter descriptor types and descriptor range types when detecting register collisions; refuse an already occupied synthetic private name.

Two DXBC regression tests fail before the change. New cases cover raw/typed SRV and UAV, CBV in the third table (s6), reconstruction of the missing-root-descriptor list, wrong parameter/SGPR and occupied alias names. The translator fixture uses a real atomic add through a recovered raw UAV at slot 2; it refuses an explicitly occupied SRV or absent corroborating metadata. No broad reinterpretation of SRVs as UAVs.

All six no-GPU groups passed, including 70 DXBC tests. The new GPU control ran emitted HLSL through DXC/DXV and a real three-table D3D12 root on RTX 4080 / GE-Proton11-14: 8 cases, 3072 words, 0 mismatches (128 modified, 2944 preserved). Used the previously built D3D12 provider for this isolated native compute control; it tests emitted HLSL and the reconstructed table shape, not the new runtime's automatic root reconstruction. Full GPU/Lanes and AMD validation outstanding.

The real captured 24 s6 and 10 atomic failures from #233 are not locally available, so this is a demonstrated defect and a candidate, not confirmation all title programs are fixed. Please test against those pairs locally if convenient. No title files included. Draft pending 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