aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/pred.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-02-03 16:43:04 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:21 -0400
commitd24a16045f0f6b0b873d5e3b5bf187c1a8c4343f (patch)
tree0108a028b437bc59dfe7864f333cf4c50a46d3b5 /src/shader_recompiler/frontend/ir/pred.h
parent6c4cc0cd062fbbba5349da1108d3c23cb330ca8a (diff)
shader: Initial instruction support
Diffstat (limited to 'src/shader_recompiler/frontend/ir/pred.h')
-rw-r--r--src/shader_recompiler/frontend/ir/pred.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/pred.h b/src/shader_recompiler/frontend/ir/pred.h
index daf23193f2..c6f2f82bfb 100644
--- a/src/shader_recompiler/frontend/ir/pred.h
+++ b/src/shader_recompiler/frontend/ir/pred.h
@@ -8,7 +8,16 @@
namespace Shader::IR {
-enum class Pred { P0, P1, P2, P3, P4, P5, P6, PT };
+enum class Pred : u64 {
+ P0,
+ P1,
+ P2,
+ P3,
+ P4,
+ P5,
+ P6,
+ PT,
+};
constexpr size_t NUM_USER_PREDS = 6;
constexpr size_t NUM_PREDS = 7;