mirror of https://github.com/PCSX2/pcsx2.git
GS/Vulkan: Fix RT being left bound as texture
This commit is contained in:
parent
795741a341
commit
3005ba629f
|
@ -3020,9 +3020,8 @@ void GSDeviceVK::RenderHW(GSHWDrawConfig& config)
|
|||
}
|
||||
}
|
||||
// clear texture binding when it's bound to RT or DS
|
||||
if (!config.tex && m_tfx_textures[0] &&
|
||||
((!pipe.feedback_loop && config.rt && static_cast<GSTextureVK*>(config.rt)->GetView() == m_tfx_textures[0]) ||
|
||||
(config.ds && static_cast<GSTextureVK*>(config.ds)->GetView() == m_tfx_textures[0])))
|
||||
if (!config.tex && ((config.rt && static_cast<GSTextureVK*>(config.rt)->GetView() == m_tfx_textures[0]) ||
|
||||
(config.ds && static_cast<GSTextureVK*>(config.ds)->GetView() == m_tfx_textures[0])))
|
||||
{
|
||||
PSSetShaderResource(0, nullptr, false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue