From 09f2d4f54641e2e37c6cdbd9c9d93d3daefecf11 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 19 Dec 2022 23:22:23 +1000 Subject: [PATCH] GS/DX12: Fix incorrect sampler being used in utility draws --- pcsx2/GS/Renderers/DX12/GSDevice12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/DX12/GSDevice12.cpp b/pcsx2/GS/Renderers/DX12/GSDevice12.cpp index bd8dda2b87..2ebd07713b 100644 --- a/pcsx2/GS/Renderers/DX12/GSDevice12.cpp +++ b/pcsx2/GS/Renderers/DX12/GSDevice12.cpp @@ -2019,7 +2019,7 @@ void GSDevice12::SetUtilityTexture(GSTexture* dtex, const D3D12::DescriptorHandl } } - if (m_utility_sampler_gpu != sampler) + if (m_utility_sampler_cpu != sampler) { m_utility_sampler_cpu = sampler; m_dirty_flags |= DIRTY_FLAG_SAMPLERS_DESCRIPTOR_TABLE;