summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/pred.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-02-21 17:50:14 -0300
committerGravatar ameerj2021-07-22 21:51:22 -0400
commit704c6f353f68745168902c6c66c04bb730bd30e6 (patch)
tree71ed9654de41b5828ae2613167537d39499d2f3b /src/shader_recompiler/frontend/ir/pred.h
parentshader: Add denorm flush support (diff)
downloadyuzu-704c6f353f68745168902c6c66c04bb730bd30e6.tar.gz
yuzu-704c6f353f68745168902c6c66c04bb730bd30e6.tar.xz
yuzu-704c6f353f68745168902c6c66c04bb730bd30e6.zip
shader: Rename, implement FADD.SAT and P2R (imm)
Diffstat (limited to 'src/shader_recompiler/frontend/ir/pred.h')
-rw-r--r--src/shader_recompiler/frontend/ir/pred.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/pred.h b/src/shader_recompiler/frontend/ir/pred.h
index c6f2f82bf..4e7f32423 100644
--- a/src/shader_recompiler/frontend/ir/pred.h
+++ b/src/shader_recompiler/frontend/ir/pred.h
@@ -19,8 +19,8 @@ enum class Pred : u64 {
19 PT, 19 PT,
20}; 20};
21 21
22constexpr size_t NUM_USER_PREDS = 6; 22constexpr size_t NUM_USER_PREDS = 7;
23constexpr size_t NUM_PREDS = 7; 23constexpr size_t NUM_PREDS = 8;
24 24
25[[nodiscard]] constexpr size_t PredIndex(Pred pred) noexcept { 25[[nodiscard]] constexpr size_t PredIndex(Pred pred) noexcept {
26 return static_cast<size_t>(pred); 26 return static_cast<size_t>(pred);