d3d12 checks: measure constant and raw buffer views at every 16-byte offset #552
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/552"
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 NickStallman on 2026-11-29T22:29:45Z.
Refs #251. Three D3D12 controls that run only when named;
tuxbox.py checkruns the same cases as before. No provider, translator or cached-shader change.cbv-viewscompares root and table CBVs with root and raw table SRVs at 17 offsets (0 to 256, step 16), a 48-byte window, fixed and dynamic indices, odd offsets through CopyDescriptors. It reports how many offsets read right per view and what a read past the window returns (@akimfomin's boundary check). It fails unless the SRVs are 17/17 and the table SRV returns zero past its end; CBVs are reported, not judged.root-cbv-graphicsandroot-cbv-meshread a root CBV in VS or MS and PS, under the launcher's settings.--stock-cbvruns them without.Measured
GE-Proton11-14, provider and guests built from this branch.
cbv-viewsalways takes inherited settings (it doesn't use the launcher's layer); the other two take the launcher's unless--stock-cbv. "noheap" isVKD3D_CONFIG=no_descriptor_heapon top of the launcher settings.10de:2b85, 620.70.10)1002:13c0, RADV, Mesa 26.0.8)root-cbv-graphics, launcher settingsroot-cbv-mesh, launcher settingsvkd3d logged
VK_EXT_descriptor_heap enabledin the stock runs on the 5090.Tests
python tuxbox.py check --no-gpu: passed. Three mutations (drop the past=zero marker, let the cases into the default set, let them into check.py) each fail a test.Not run: the full GPU check (these cases aren't part of it), Windows, Lanes, the game. It does not measure the layer for
cbv-views, NVIDIA frame cost, or GPU-written data.python tuxbox.py checkofbc407de0(rebased ontoe5d2e913; no change to the patch): RTX 5090 (10de:2b85, 620.70.10) 200 pass, 0 fail; AMD iGPU (1002:13c0, RADV) 199 pass, 0 fail. GE-Proton11-14.Evidence: TuxBox check of
bc407de07d, no uncommitted changes, GPU 10de:2b85: 16 passed, 0 failed, 0 not runEvidence: TuxBox check of
bc407de07d, no uncommitted changes, GPU 1002:13c0: 16 passed, 0 failed, 0 not run🤖 Generated with Claude Code
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-30T04:57:40Z.
Rebased onto
e5d2e913(patch unchanged). The Miri job failed here and on #561 incompile_gate::tests::zero_slots_means_unlimited(assertion failed: peak(&Gate::new(0), 6) > 2,tests/compile_gate.rs:29). Neither PR touches that code and main's own run of the job passed, so it looks timing-dependent under Miri; three other pushes of ours today passed. I don't have a fix to offer yet, and can't rerun jobs here.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T09:54:34Z.
Merged into main as
3c2a9978(squashed and credited to you). Thanks.Your numbers reproduce on a second NVIDIA card, an RTX 4070 Ti SUPER (
10de:2705, GE-Proton11-14):cbv-views:root-cbv=5/17 table-cbv=5/17 root-srv=17/17 table-srv=17/17, withtable-srv-past=zeroand the restnext.root-cbv-graphicsandroot-cbv-mesh: 17/17 under the launcher's settings.root-cbv-graphics --stock-cbv: fails.The Miri failure you saw in
zero_slots_means_unlimitedwas ours. It's marked on main now.Imported from brcly/TuxBox. Originally posted by akimfomin on 2026-11-30T10:03:12Z.
@brcly Thanks for re-running the exact 4070 Ti SUPER and confirming the bounded-view result. That gives PortBridge an independent result to link for the 48-byte boundary control. I’ll carry the same table-vs-root and past-end checks into the comparison on native Windows. I’ll post those results here when we have them.
Pull request closed