GS/DX12: Fix incorrect sampler being used in utility draws

This commit is contained in:
Connor McLaughlin 2022-12-19 23:22:23 +10:00 committed by refractionpcsx2
parent 1480d9ac20
commit 09f2d4f546
1 changed files with 1 additions and 1 deletions

View File

@ -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;