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.
This commit is contained in:
lightningterror
2026-03-31 02:07:12 +02:00
parent 2c7c8e19e2
commit ac69bb2142
+2 -1
View File
@@ -9947,8 +9947,9 @@ void GSRendererHW::EndHLEHardwareDraw(bool force_copy_on_hazard /* = false */)
if (!force_copy_on_hazard && config.tex == config.rt)
{
// Sample RT 1:1.
config.require_one_barrier = !features.framebuffer_fetch;
config.tex = nullptr;
config.ps.tex_is_fb = true;
config.require_one_barrier = !features.framebuffer_fetch;
}
else if (!force_copy_on_hazard && config.tex == config.ds && !config.depth.zwe &&
features.test_and_sample_depth)