mirror of https://github.com/PCSX2/pcsx2.git
GS/DX12: Fix a warning during PrimID DATE pipeline creation
This commit is contained in:
parent
e75a1edea8
commit
2dfc75c341
|
@ -2929,8 +2929,8 @@ GSDevice12::ComPtr<ID3D12PipelineState> GSDevice12::CreateTFXPipeline(const Pipe
|
||||||
if (IsDATEModePrimIDInit(p.ps.date))
|
if (IsDATEModePrimIDInit(p.ps.date))
|
||||||
{
|
{
|
||||||
// image DATE prepass
|
// image DATE prepass
|
||||||
gpb.SetBlendState(0, true, D3D12_BLEND_ONE, D3D12_BLEND_ZERO, D3D12_BLEND_OP_MIN, D3D12_BLEND_ONE,
|
gpb.SetBlendState(0, true, D3D12_BLEND_ONE, D3D12_BLEND_ONE, D3D12_BLEND_OP_MIN, D3D12_BLEND_ONE,
|
||||||
D3D12_BLEND_ZERO, D3D12_BLEND_OP_ADD, D3D12_COLOR_WRITE_ENABLE_RED);
|
D3D12_BLEND_ONE, D3D12_BLEND_OP_ADD, D3D12_COLOR_WRITE_ENABLE_RED);
|
||||||
}
|
}
|
||||||
else if (pbs.enable)
|
else if (pbs.enable)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue