Disable blending only on writable integer render targets #61
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/PastiiJay--klbf-lab!61
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-61"
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?
@HandshakeHackin on GitHub · 2026-11-26 04:50 UTC · original
HandshakeHackin:fix/writable-integer-target-blend→beta· +168 −12 · 1 files · 2 commits · openIn #55, both shaders translate, then vkd3d-proton refuses blending on the writable
R8_UINTtarget at RT2. The maintainer saw the same mesh pipeline return0x80070057on a Windows RX 9070 XT in #31.This change disables blending on writable UINT/SINT targets in mesh and graphics pipelines. If a mixed set inherits RT0’s settings, it first copies the effective state to the other targets so they keep their blend factors and write masks. The host pipeline library keys the corrected descriptor. Title pipeline IDs and existing skip lists keep their captured-state keys.
Four Windows tests passed, including a WARP reproduction that rejects the original descriptor and creates the corrected pipeline. A separate draw/readback checked all 16 pixels in each of three targets with both shared and independent settings. The normalized targets retained alpha blending and the independent channel mask. RT2 contained the shader’s integer value, 7, in both runs. WARP also created the mixed-target mesh PSO in both modes. Four regression tests · Draw and readback log
For the Radeon comparison, keep the scene and settings the same and check whether the log now says
host mesh pipelinefor meshf5e50eb2108c425band pixelce3f0432a08f1d35. The original Proton run first bound this pair at frame 970. Any visible change in the same scene is a separate observation. Windows x64 beta test build with SHA-256@PastiiJay on GitHub · 2026-11-26 04:51 UTC · original
Nice, this matches what we saw on #55 and #31. It goes on the Radeon run next, same scene and settings, and we will report whether
f5e50eb2108c425b/ce3f0432a08f1d35reachhost mesh pipeline.@HandshakeHackin on GitHub · 2026-11-26 05:01 UTC · original
At head
5f2ed97, the four focused tests passed on Windows WARP and the release executable passed its startup check. Moving the helper also lets #27 and this PR merge cleanly. Current beta test build with checksumI extended the pixel check to call
DispatchMeshas well asDrawInstanced. All three targets matched between the two paths in both blend modes, including the independent channel mask and the integer value 7. Mesh and vertex draw readbacksThe upstream check stops at the existing
sgd5.rs:557Clippy error covered by #25. With #18, #25, #27 and the maintainer’s WARP-only test condition from448b737applied in a separate integration build, both strict Clippy passes and the asset check passed. The workspace ran 588 tests successfully with 13 ignored, then all four focused blend tests passed including the opt-in native WARP case. Upstream check · Full Windows integration log@PastiiJay on GitHub · 2026-11-26 05:11 UTC · original
Radeon result: RX 9070 XT, Windows 11, Series S mode, same scene, 5 min per run, current beta with and without this PR as the only difference.
host mesh pipeline refused ... (0x80070057)for meshf5e50eb2108c425b/ pixelce3f0432a08f1d35.host mesh pipelinefor that same pair, no refusal.No crash in either run, and room fps stayed comparable (medians 7.8 and 6.9, within our normal run-to-run variation).
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.