mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
glsl: Avoid implicit int->uint conversions
Silences debug output regarding implicit int -> uint conversions
This commit is contained in:
parent
8a0425570c
commit
99f5145aab
2 changed files with 24 additions and 24 deletions
|
|
@ -283,7 +283,7 @@ std::string VertexProgramDecompiler::GetCond()
|
|||
std::string VertexProgramDecompiler::GetOptionalBranchCond()
|
||||
{
|
||||
std::string cond_operator = d3.brb_cond_true ? " != " : " == ";
|
||||
std::string cond = "(transform_branch_bits & (1 << " + std::to_string(d3.branch_index) + "))" + cond_operator + "0";
|
||||
std::string cond = "(transform_branch_bits & (1u << " + std::to_string(d3.branch_index) + "))" + cond_operator + "0";
|
||||
|
||||
return "if (" + cond + ")";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue