Browse Source
shader_ir/decode: Silent implicit sign conversion warning
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
pull/15/merge
Mat M
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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
|
|
|
|
} // namespace VideoCommon::Shader
|