From da02946f4f0c249439c9445cff923798705cbe12 Mon Sep 17 00:00:00 2001 From: Mat M Date: Sun, 31 Mar 2019 00:12:54 -0300 Subject: shader_ir/decode: Silent implicit sign conversion warning Co-Authored-By: ReinUsesLisp --- src/video_core/shader/decode/texture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video_core') 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 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 aoffi; aoffi.reserve(coord_count); @@ -595,4 +595,4 @@ std::vector ShaderIR::GetAoffiCoordinates(Node aoffi_reg, std::size_t coor return aoffi; } -} // namespace VideoCommon::Shader \ No newline at end of file +} // namespace VideoCommon::Shader -- cgit v1.2.3