mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user