d3d12: name the check that refuses a reflected table draw #583
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/583"
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 csj0oe on 2026-11-30T08:02:24Z.
What
A draw with a reflected table was refused with a bare
E_INVALIDARG, so a run's skipped draws could not be attributed to a check.with_reflected_tablenow returns aTableRefusal { reason, code }: every arm carries a&'static strnaming the failed check, andrecording.rsappends it to the existing skip line, e.g.Reasons cover: layout/root-signature mismatch, more than 64 root slots, slot never bound, root signature with no descriptor table, no native descriptor base, no resource heap, an unmaterialized view slot, a view outside the heap, a strided table on an unpaged heap, and the heap/arena refusal keeping its original code. Admission is unchanged; only diagnostics.
Tests
a_refused_reflected_table_names_the_check_that_failedtriggers three arms and asserts distinct reasons plusE_INVALIDARG. The paged-layout path is untouched.Not run
NVIDIA, and the D3D12/Lanes GPU suites that
CONTRIBUTINGasks for on aruntime/d3d12change.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T09:50:24Z.
Thanks. Naming the check that refused a draw is the right shape for this kind of diagnostic. I checked how often it fires before deciding:
guest caller 0x325b658).The skip seems to have stopped on current main. That leaves this PR as diagnostics for a fault we no longer see, so I'm holding it, as with #567, #568 and #581.
If you still see
skipped draw with a reflected tableon current main, please post the log line and the scene. Then fold these reasons into the PR that fixes it: they'll be worth keeping there.Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-11-30T10:10:22Z.
Closing. I checked our side to confirm your observation: the reflected-table skip no longer appears on current main — 0 occurrences in the live run, and the last ones are in our 27-29 November logs. So this is diagnostics for a fault we no longer see, and the named reasons belong in the PR that fixes it if it comes back. Branch kept for that.
Pull request closed