GPU: no blending on integer render targets in host pipelines (the first room's walls) #45
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/Belobug--VIctory-Belobug-AMD!45
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/45/head"
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?
@Arvi23 on GitHub · 2026-11-25 12:47 UTC · original
Arvi23:pr/integer-target-blend→main· +122 −2 · 1 files · 1 commits · merged 2026-11-25 13:57 UTCThe console ignores blending on integer render targets, and the title leaves it on: the world has a mesh pipeline that blends into an
R8_UINTtarget. D3D12 doesn't allow that, so the driver refuses the pipeline withE_INVALIDARGand its draws are lost. On this tree that pipeline is[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35], and its draws are the first gameplay room's walls.What
One commit, authored by pgm1207, ported by hand from fxceless/victory-fork#51 (itself a port of Marvisak/VIctory#806 by pablogonz12):
host_blendturns blending off on integer render targets only. With one blend description for all targets, each target gets its own copy, so the others keep the title's blending.integer_targets_do_not_blendandblend_states_without_integer_blending_are_kept.Tested
RX 9070 XT, driver 32.0.32029.2010, Windows 10 LTSC 21H2 (with the Agility SDK runtime from the other PR), diagnostics build, run as your README describes.
4cbe9d7(+ Agility SDK)host mesh pipeline refused error=0x80070057 shaders=[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]39f0e9aeb156a61c, the compile that never ends)71652a2+ this commit + the Windows 10 PR39f0e9aeb156a61c;host mesh pipeline shaders=[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]createdcargo test -p victory-gpu --libon71652a2+ this commit: the two new tests pass. 110 passed, 1 failed (depth_bounds_control_a_title_draw, which fails the same on71652a2alone).Not tested: NVIDIA on this tree.
AI use: Claude Code (Claude Opus 5.5) ported the commit, ran the checks and wrote this. The runs are on my machine.
🤖 Generated with Claude Code
@Mbappinho on GitHub · 2026-11-25 13:13 UTC · original · edited 2026-11-25 13:15 UTC
Independent confirmation on Windows 11, same card.
Machine: RX 9070 XT 16 GB, driver 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB RAM, Windows 11. Diagnostics build, run as the README describes (Series X).
71652a2host mesh pipeline refused error=0x80070057 shaders=[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]71652a2+ this PR (8629211)compute 39f0e9aeb156a61c(0x80004005);host mesh pipeline shaders=[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]createdSo besides the walls, the draws of this pipeline include the face skin of the player character. With an equivalent local patch (same logic: shared blend state spread over the targets, integer targets cleared) tested just before, the other inmates' faces came back too.
cargo test -p victory-gpu --libon8629211: 111 passed, 0 failed, 4 ignored.depth_bounds_control_a_title_drawpasses here, so the failure in your table may be specific to Windows 10 LTSC / that runtime.Frame rate in the room: 4.4–5.2 fps in both runs (no measurable change); memory is the limit on 32 GB (commit 33–40 GB, about 11 GB of video memory spilled to system memory).


AI use: Hermes (Claude) ran the checks and drafted this; the runs are on my machine.