diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-27 07:07:52 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-27 19:22:17 +0100 |
commit | 3e469cecc199ace52decb3c9be9105cb83689d97 (patch) | |
tree | 7f98fe0c84edc326e7a02b5d5fa134802c1d06c2 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #2976 from FernandoS27/cache-fast-brx-rebased (diff) | |
download | yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.tar yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.tar.gz yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.tar.bz2 yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.tar.lz yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.tar.xz yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.tar.zst yuzu-3e469cecc199ace52decb3c9be9105cb83689d97.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index fa846a621..987ad77b2 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1166,6 +1166,8 @@ public: struct DirtyRegs { static constexpr std::size_t NUM_REGS = 256; + static_assert(NUM_REGS - 1 <= std::numeric_limits<u8>::max()); + union { struct { bool null_dirty; |