diff options
-rw-r--r-- | src/video_core/shader/decode/texture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp index 0d2e82dce..a775b402b 100644 --- a/src/video_core/shader/decode/texture.cpp +++ b/src/video_core/shader/decode/texture.cpp @@ -564,7 +564,7 @@ std::vector<Node> ShaderIR::GetAoffiCoordinates(Node aoffi_reg, std::size_t coor return {{0, 4, 8}, 4, 8, 16}; } }(); - const u32 mask = (1 << size) - 1; + const u32 mask = (1U << size) - 1; std::vector<Node> aoffi; aoffi.reserve(coord_count); @@ -595,4 +595,4 @@ std::vector<Node> ShaderIR::GetAoffiCoordinates(Node aoffi_reg, std::size_t coor return aoffi; } -} // namespace VideoCommon::Shader
\ No newline at end of file +} // namespace VideoCommon::Shader |