From b5d0060c3fb851bd41d0cc9d5124832ce65cc392 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Sun, 9 Oct 2022 14:05:25 +0100 Subject: [PATCH] Only use scissor for clear rect when enabled --- .../main/cpp/skyline/gpu/interconnect/maxwell_3d/maxwell_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/maxwell_3d.cpp b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/maxwell_3d.cpp index 723e25a2..1d48905b 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/maxwell_3d.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/maxwell_3d.cpp @@ -93,7 +93,7 @@ namespace skyline::gpu::interconnect::maxwell3d { }); } - if (clearSurfaceControl.useScissor0) { + if (clearSurfaceControl.useScissor0 && clearEngineRegisters.scissor0.enable) { const auto &scissor0{clearEngineRegisters.scissor0}; scissor = rectIntersection(scissor, { {scissor0.horizontal.xMin, scissor0.vertical.yMin},