summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar namkazy2020-03-22 13:41:16 +0700
committerGravatar namkazy2020-03-22 13:41:16 +0700
commitf66743cd0cd07e811b5a4340b6412d288b448c9c (patch)
treebfa057ee4fbb7df81c9f28bf69012cb9197f711d /src
parentmaxwell_3d: init shadow_state (diff)
downloadyuzu-f66743cd0cd07e811b5a4340b6412d288b448c9c.tar.gz
yuzu-f66743cd0cd07e811b5a4340b6412d288b448c9c.tar.xz
yuzu-f66743cd0cd07e811b5a4340b6412d288b448c9c.zip
maxwell_3d: change declaration order
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/maxwell_3d.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 17119beda..d24c9f657 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1276,7 +1276,9 @@ public:
1276 }; 1276 };
1277 std::array<u32, NUM_REGS> reg_array; 1277 std::array<u32, NUM_REGS> reg_array;
1278 }; 1278 };
1279 } regs{}; 1279 };
1280
1281 Regs regs{};
1280 1282
1281 /// Store temporary hw register values, used by some calls to restore state after a operation 1283 /// Store temporary hw register values, used by some calls to restore state after a operation
1282 Regs shadow_state; 1284 Regs shadow_state;