D3D12.X: disable blending on typed integer color targets #2271
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2271
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2271"
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?
@Swagi-REDACTED on GitHub · 2026-11-25 11:55 UTC · original
Swagi-REDACTED:d3d12x/integer-target-blend→main· +195 −0 · 2 files · 1 commits · openPC D3D12 rejected an
R8_UINTattachment with blending enabled during an integration run of A newer retail game (debug error 676,E_INVALIDARG). Disable blending on active typed integer color targets, expanding shared state so float/normalized attachments keep their effective blending. This addresses pipeline creation; the separate world-loading failure remains unresolved.What is in it
real.rs: normalize translated graphics descriptions before their driver-cache key and two-pass MS/GS streams before native creation; CPU and synthetic GPU regressions.README.md: document the supported mixed-target behavior and its validation limits.Tested
cargo test --locked -p xcl --lib integer_blend -- --test-threads=4: 5 passed, 0 failed, 0 ignored. Before the conversion, 4 failed and 1 passed; the native mixed-MRT descriptor returned0x80070057. Afterward both native descriptor and stream APIs create the pipeline.cargo test --locked --workspace -- --test-threads=4: 1159 passed, 0 failed, 46 ignored; 25 explicit SKIPPED events (20 wave64, three unsupported per-lane f16 forms, one heap-windows-disabled fixture, one driver-cache measurement requiring Windows Developer Mode). Default runtime flags, NVIDIA selected.cargo build --locked --release --workspace: passed on the clean committed head. Sixty-second title smokes below retain profile/menu rendering, without advancing into world loading.Regression run
Main:
This PR's head:
Not tested
AI use
@DarkPanda69 on GitHub · 2026-11-25 12:20 UTC · original
AMD run (listed as untested), plus an RTX 3060: the new pipeline test passes on both.
Head
f73d97dapplied onmain1a0bbe3, debug, Windows 11 Pro 26200,XCL_ADAPTERset to each card:gpu_integer_blend_mixed_targets_create_a_pipelineok, so the AMD driver accepts the pipeline with blending off on the integer targets. Wholegpu::filter: 629 passed, 2 failed, 22 ignored, the same as onmain; the 2 failures are the AMD fuzz seeds 722 and 1599 tracked in #2115.gpu::631 passed, 0 failed, 22 ignored.Not tested: output pixel readback, a title.
AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.
@nnonno91 on GitHub · 2026-11-25 15:18 UTC · original
Independent Windows test of
f73d97dbc3abbb708229abec4a7e56d2e5dc051a. Confirmed the original blend state was rejected and the corrected mixed-target pipeline was accepted on both Radeon integrated graphics and RTX 5090.Tested
cargo test --locked -p xcl --lib integer_blend -- --nocapture --test-threads=1on each selected adapter. Each run reported 5 passed, 0 failed, 0 ignored, and no logged skips. The GPU test created a pipeline with mixed integer and non-integer targets through the native descriptor and stream forms.cargo test --locked -p xcl --lib gpu_integer_blend_mixed_targets_create_a_pipeline -- --nocapture --test-threads=1reported 1 passed, 0 failed, 0 ignored, and no logged skips per adapter. Both logged0x80070057for the unnormalized native descriptor before successfully creating the corrected pipelines. Restored the clean checkout.Not tested
Rendered pixel values, the parent revision, retail titles, or the full workspace suite.
AI use
OpenAI Codex (GPT-6.2 Sol) prepared and ran the tests, verified the results, and wrote this report.
@DavidM1911 on GitHub · 2026-11-25 17:09 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.