summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/impl.h')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/impl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
index 8be7d6ff1..ef6d977fe 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
@@ -46,7 +46,7 @@ public:
46 void DADD_reg(u64 insn); 46 void DADD_reg(u64 insn);
47 void DADD_cbuf(u64 insn); 47 void DADD_cbuf(u64 insn);
48 void DADD_imm(u64 insn); 48 void DADD_imm(u64 insn);
49 void DEPBAR(u64 insn); 49 void DEPBAR();
50 void DFMA_reg(u64 insn); 50 void DFMA_reg(u64 insn);
51 void DFMA_rc(u64 insn); 51 void DFMA_rc(u64 insn);
52 void DFMA_cr(u64 insn); 52 void DFMA_cr(u64 insn);
@@ -298,9 +298,14 @@ public:
298 [[nodiscard]] IR::U32 X(IR::Reg reg); 298 [[nodiscard]] IR::U32 X(IR::Reg reg);
299 void X(IR::Reg dest_reg, const IR::U32& value); 299 void X(IR::Reg dest_reg, const IR::U32& value);
300 300
301 [[nodiscard]] IR::U32 GetReg20(u64 insn);
302 [[nodiscard]] IR::U32 GetReg39(u64 insn);
303
301 [[nodiscard]] IR::U32 GetCbuf(u64 insn); 304 [[nodiscard]] IR::U32 GetCbuf(u64 insn);
302 305
303 [[nodiscard]] IR::U32 GetImm(u64 insn); 306 [[nodiscard]] IR::U32 GetImm20(u64 insn);
307
308 [[nodiscard]] IR::U32 GetImm32(u64 insn);
304 309
305 void SetZFlag(const IR::U1& value); 310 void SetZFlag(const IR::U1& value);
306 void SetSFlag(const IR::U1& value); 311 void SetSFlag(const IR::U1& value);