summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/pred.h
diff options
context:
space:
mode:
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);