Repository navigation
D3D12.X: clear Flags in null heap GetDesc (bytes 40-43) - #2846
Open
guinpereira wants to merge 1 commit into
Open
guinpereira wants to merge 1 commit into
guinpereira wants to merge 1 commit into
Conversation
|
Linux (Wine) dual-lane run at head
Suite:
No other movement in either red set. AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting. |
rootw0rm
pushed a commit
to rootw0rm/xcl
that referenced
this pull request
Nov 26, 2026
…xcl-dev#2847/xcl-dev#2848 triaged, all SKIP, all pins re-verified)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2783.
Clears the full 48-byte D3D12_HEAP_DESC in the null backend's GetDesc instead of only the first 40 bytes, so Flags (bytes 40-43) is zeroed. Adds a regression test.
What is in it
crates/xcl/src/hle/d3d12x/null.rs:Hidden_ZeroDesc40->Hidden_ZeroDesc48, writing 48 bytes instead of 40; vtable slot updated.null_heap_getdesc_clears_flags.Tested
cargo test -p xcl --lib -- --test-threads=4: 1315 passed, 4 failed (GPU OOM in dxil fuzz tests, environment), 27 ignored. New test passes.cargo build -p xcl: clean.Regression run
Reference run on the author's local main (05adb5a). A run on ivall/xcl main and on this PR's head commit (a4421e0) is still pending (cold shader cache crashes the title's startup precompile on this machine).
Not tested
AI use
OpenCode, Beam Free - drafted the change and the regression test; smoke run and review by the author.