Host mesh pipeline refused (0x80070057 / D3D12 id=676): BlendOp=MAX enabled on DXGI_FORMAT_R8_UINT RT slot 2 ([mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]) #2775
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2775
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@SomePlebb on GitHub · 2026-11-25 20:13 UTC · original
Summary
During world load in Series 1.0.2.1 (
b99f876b74d4a77f...), host mesh PSO creation for[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]fails withE_INVALIDARG (0x80070057)and drops all draws using that pipeline.Running with
VICTORY_D3D12_DEBUG=1andVICTORY_PIPELINE_LOGshows the title creates this pipeline withIndependentBlendEnable = TRUEandBlendEnable = TRUE(BlendOp = D3D12_BLEND_OP_MAX,SrcBlend = ONE,DestBlend = ONE,RenderTargetWriteMask = 1) on RT slot 2, whose format isDXGI_FORMAT_R8_UINT(62). While console/RDNA2 supportsMIN/MAXblending on integer formats, desktop D3D12 rejectsBlendEnable = TRUEon any*_UINT/*_SINTrender target (id=676).Scanning the full
VICTORY_PIPELINE_LOG(81,700+ entries through world entry) shows this is the only pipeline enabling blending on an integer RTV format.System & Environment
10.0.26200)32.0.21045.29003)67e8ae1(clean working tree,target\diag\victory.exe)b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)Log Output (
VICTORY_D3D12_DEBUG=1)Pipeline State (
VICTORY_PIPELINE_LOG, line 81704)857787903a089873a6fdcdbac77df8a9[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]NumRenderTargets = 3,DSVFormat = 0,SampleDesc = {1, 0}):DXGI_FORMAT_R32_FLOAT(41) —BlendEnable=1, Src=ONE(2), Dst=ONE(2), Op=MAX(5), SrcA=ONE(2), DstA=ZERO(1), OpA=ADD(1), Mask=15DXGI_FORMAT_B4G4R4A4_UNORM(115) —BlendEnable=1, Src=ONE(2), Dst=ONE(2), Op=MAX(5), SrcA=ONE(2), DstA=ONE(2), OpA=MAX(5), Mask=15DXGI_FORMAT_R8_UINT(62) —BlendEnable=1, Src=ONE(2), Dst=ONE(2), Op=MAX(5), SrcA=ONE(2), DstA=ZERO(1), OpA=ADD(1), Mask=1IndependentBlendEnable = 1,FillMode = SOLID(3),CullMode = NONE(1),FrontCounterClockwise = 1,DepthEnable = 0,StencilEnable = 0Code Location & Suggested Fix
In
crates/victory-gpu/src/pipeline/host.rs:RTFormats) is converted viacrate::resource::pc_formataround lines 156–161.mesh_pipeline(...)) runs and logs the refusal at lines 578–585 (parallel graphics PSO path at lines 632–660).Sanitizing
g.blendbefore host PSO creation—forcingBlendEnable = FALSEon any active RTV slot with a non-blendable integer format (*_UINT/*_SINT) and enablingIndependentBlendEnable = TRUEif other slots remain blended—would let the PSO create on desktop D3D12 instead of dropping the mesh pass (with the caveat that slot 2 would overwrite rather thanMAX-blend).github-bot referenced this issue2026-11-26 05:14:33 +00:00
@Marvisak on GitHub · 2026-11-25 21:45 UTC · original
Automated triage for the maintainers.
The defect is real on main
61bfc77. Incrates/victory-gpu/src/pipeline/host.rs,GraphicsState::readcopies the title's blend description as is (subobject 8), and both the graphics path andmesh_pipelinepassg.blendto the host unchanged. Nothing turns blending off on*_UINT/*_SINTtargets.This is the same defect, and the same pipeline (
[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35], R8_UINT on RT 2), as the older open issue #806. That issue was found under vkd3d-proton. Open PRs that turn blending off on integer targets: #1152 (fixes #806), #2042, #2790 and #2801 (written for this issue). The new information here is that native Windows on an AMD RX 6600 (Adrenalin 26.11.2) also refuses the pipeline. #806 assumed Windows drivers accept it, so this data point belongs there.I propose closing this as a duplicate of #806. It will be closed in 48 hours unless the reporter replies or a maintainer removes the
triage: proposed closelabel.Generated by Claude Code