diff options
| author | 2019-10-27 02:23:34 -0300 | |
|---|---|---|
| committer | 2019-11-07 01:44:08 -0300 | |
| commit | ae7dfa93be1c98f84d13cef9bd1e4d8652fccbdd (patch) | |
| tree | 98da8cd00887b1f0ba591e2c361851bdf2605e92 /src | |
| parent | shader/control_flow: Remove brace initializer in std containers (diff) | |
| download | yuzu-ae7dfa93be1c98f84d13cef9bd1e4d8652fccbdd.tar.gz yuzu-ae7dfa93be1c98f84d13cef9bd1e4d8652fccbdd.tar.xz yuzu-ae7dfa93be1c98f84d13cef9bd1e4d8652fccbdd.zip | |
shader/control_flow: Silence Intellisense cast warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/control_flow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp index 9c43aa6d6..1896abc22 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp | |||
| @@ -109,7 +109,7 @@ BlockInfo& CreateBlockInfo(CFGRebuildState& state, u32 start, u32 end) { | |||
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | Pred GetPredicate(u32 index, bool negated) { | 111 | Pred GetPredicate(u32 index, bool negated) { |
| 112 | return static_cast<Pred>(index + (negated ? 8 : 0)); | 112 | return static_cast<Pred>(static_cast<u64>(index) + (negated ? 8ULL : 0ULL)); |
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | /** | 115 | /** |