From 2dfc75c3419f7b4d9f8925278e2267bd29954791 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 16 Dec 2023 12:41:35 +1000 Subject: [PATCH] GS/DX12: Fix a warning during PrimID DATE pipeline creation --- pcsx2/GS/Renderers/DX12/GSDevice12.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/DX12/GSDevice12.cpp b/pcsx2/GS/Renderers/DX12/GSDevice12.cpp index bc5c64b146..cac671dc34 100644 --- a/pcsx2/GS/Renderers/DX12/GSDevice12.cpp +++ b/pcsx2/GS/Renderers/DX12/GSDevice12.cpp @@ -2929,8 +2929,8 @@ GSDevice12::ComPtr GSDevice12::CreateTFXPipeline(const Pipe if (IsDATEModePrimIDInit(p.ps.date)) { // image DATE prepass - gpb.SetBlendState(0, true, D3D12_BLEND_ONE, D3D12_BLEND_ZERO, D3D12_BLEND_OP_MIN, D3D12_BLEND_ONE, - D3D12_BLEND_ZERO, D3D12_BLEND_OP_ADD, D3D12_COLOR_WRITE_ENABLE_RED); + gpb.SetBlendState(0, true, D3D12_BLEND_ONE, D3D12_BLEND_ONE, D3D12_BLEND_OP_MIN, D3D12_BLEND_ONE, + D3D12_BLEND_ONE, D3D12_BLEND_OP_ADD, D3D12_COLOR_WRITE_ENABLE_RED); } else if (pbs.enable) {