Skip to content

Commit 85e5229

Browse files
committed
Fix ROV depth forcing even when depth is read only.
1 parent a5182b3 commit 85e5229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcsx2/GS/Renderers/HW/GSRendererHW.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6642,7 +6642,7 @@ void GSRendererHW::SetupROV()
66426642
// If we use color ROV with discard or the pixel shader writes to depth,
66436643
// we cannot use early depth stencil, so must use depth ROV with feedback.
66446644
// Same applies in reverse for depth ROV forcing color ROV with feedback.
6645-
if (m_conf.ds && depth_write && rov_color && (m_conf.ps.HasShaderDiscard() || m_conf.ps.zwrite))
6645+
if (m_conf.ds && rov_color && (m_conf.ps.HasShaderDiscard() || m_conf.ps.zwrite))
66466646
{
66476647
GL_INS("ROV: Color ROV with shader discard/depth write forces depth ROV");
66486648
rov_depth = true;

0 commit comments

Comments
 (0)