GS/HW: Fix incorrect depth preload shader

This commit is contained in:
Stenzek 2023-03-08 02:01:29 +10:00 committed by refractionpcsx2
parent b453a6a46d
commit 2fdea258fa
1 changed files with 2 additions and 2 deletions

View File

@ -3690,8 +3690,8 @@ void GSTextureCache::Target::Update(bool reset_age)
{
// No need to sort here, it's all the one texture.
const ShaderConvert shader = (m_type == RenderTarget) ? ShaderConvert::COPY :
(upscaled ? ShaderConvert::RGBA8_TO_FLOAT32 :
ShaderConvert::RGBA8_TO_FLOAT32_BILN);
(upscaled ? ShaderConvert::RGBA8_TO_FLOAT32_BILN :
ShaderConvert::RGBA8_TO_FLOAT32);
g_gs_device->DrawMultiStretchRects(drects, ndrects, m_texture, shader);
}