mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 12:26:26 -05:00
shader_ir/decode: Silent implicit sign conversion warning
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
This commit is contained in:
parent
e8abe4b77c
commit
da02946f4f
1 changed files with 2 additions and 2 deletions
|
@ -564,7 +564,7 @@ std::vector<Node> ShaderIR::GetAoffiCoordinates(Node aoffi_reg, std::size_t coor
|
||||||
return {{0, 4, 8}, 4, 8, 16};
|
return {{0, 4, 8}, 4, 8, 16};
|
||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
const u32 mask = (1 << size) - 1;
|
const u32 mask = (1U << size) - 1;
|
||||||
|
|
||||||
std::vector<Node> aoffi;
|
std::vector<Node> aoffi;
|
||||||
aoffi.reserve(coord_count);
|
aoffi.reserve(coord_count);
|
||||||
|
@ -595,4 +595,4 @@ std::vector<Node> ShaderIR::GetAoffiCoordinates(Node aoffi_reg, std::size_t coor
|
||||||
return aoffi;
|
return aoffi;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace VideoCommon::Shader
|
} // namespace VideoCommon::Shader
|
||||||
|
|
Loading…
Reference in a new issue