mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 20:37:33 +01:00
shader/control_flow: Silence Intellisense cast warnings
This commit is contained in:
parent
deb1b54eed
commit
ae7dfa93be
@ -109,7 +109,7 @@ BlockInfo& CreateBlockInfo(CFGRebuildState& state, u32 start, u32 end) {
|
||||
}
|
||||
|
||||
Pred GetPredicate(u32 index, bool negated) {
|
||||
return static_cast<Pred>(index + (negated ? 8 : 0));
|
||||
return static_cast<Pred>(static_cast<u64>(index) + (negated ? 8ULL : 0ULL));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user