From 3e58acc3148f4f79156ede1fd32c2c532e65c034 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Sun, 11 Jan 2026 21:46:44 -0400 Subject: [PATCH] [engines, maxwell] Guard for flags on extended register dirty tracking table --- src/video_core/engines/maxwell_3d.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index a6ca0851bb..14117b644b 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -329,7 +329,9 @@ void Maxwell3D::ProcessDirtyRegisters(u32 method, u32 argument) { const u8 flag0 = table0[method]; const u8 flag1 = table1[method]; dirty.flags[flag0] = true; - dirty.flags[flag1] = true; + if (flag1 != flag0) { + dirty.flags[flag1] = true; + } } void Maxwell3D::ProcessMethodCall(u32 method, u32 argument, u32 nonshadow_argument,