diff options
author | Mat M <mathew1800@gmail.com> | 2019-03-31 05:12:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-31 05:12:54 +0200 |
commit | da02946f4f0c249439c9445cff923798705cbe12 (patch) | |
tree | 4e199585415642058fbe7138aba5cdca9754e7a0 /src/video_core/shader/decode/texture.cpp | |
parent | gl_shader_decompiler: Add AOFFI backing implementation (diff) | |
download | yuzu-da02946f4f0c249439c9445cff923798705cbe12.tar yuzu-da02946f4f0c249439c9445cff923798705cbe12.tar.gz yuzu-da02946f4f0c249439c9445cff923798705cbe12.tar.bz2 yuzu-da02946f4f0c249439c9445cff923798705cbe12.tar.lz yuzu-da02946f4f0c249439c9445cff923798705cbe12.tar.xz yuzu-da02946f4f0c249439c9445cff923798705cbe12.tar.zst yuzu-da02946f4f0c249439c9445cff923798705cbe12.zip |
Diffstat (limited to '')
-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 |