Skip to content

Commit ac69bb2

Browse files
GS/HW: Don't bind source tex when using tex is fb hle.
Slot 2 will be used for fb read instead of slot 0, don't bind it when it's not needed.
1 parent 2c7c8e1 commit ac69bb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pcsx2/GS/Renderers/HW/GSRendererHW.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9947,8 +9947,9 @@ void GSRendererHW::EndHLEHardwareDraw(bool force_copy_on_hazard /* = false */)
99479947
if (!force_copy_on_hazard && config.tex == config.rt)
99489948
{
99499949
// Sample RT 1:1.
9950-
config.require_one_barrier = !features.framebuffer_fetch;
9950+
config.tex = nullptr;
99519951
config.ps.tex_is_fb = true;
9952+
config.require_one_barrier = !features.framebuffer_fetch;
99529953
}
99539954
else if (!force_copy_on_hazard && config.tex == config.ds && !config.depth.zwe &&
99549955
features.test_and_sample_depth)

0 commit comments

Comments
 (0)