mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 11:34:18 +01:00
GS/HW: Fix incorrect depth preload shader
This commit is contained in:
1 parent
b453a6a46d
commit
2fdea258fa
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user