diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-18 02:04:22 -0300 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:32 -0400 |
commit | 9bb3e008c9f4bbdd35c095b506c3a3312d17e383 (patch) | |
tree | 320cc594970b6ef658d8bed88ceabded0f84caea /src/shader_recompiler/frontend/ir/opcodes.inc | |
parent | 4bad415bcab581c55770a16ef2e8fe1e6d105ff1 (diff) |
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
Diffstat (limited to 'src/shader_recompiler/frontend/ir/opcodes.inc')
-rw-r--r-- | src/shader_recompiler/frontend/ir/opcodes.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.inc index 6196b867dd..8a8d0d7593 100644 --- a/src/shader_recompiler/frontend/ir/opcodes.inc +++ b/src/shader_recompiler/frontend/ir/opcodes.inc @@ -6,7 +6,8 @@ OPCODE(Phi, Opaque, ) OPCODE(Identity, Opaque, Opaque, ) OPCODE(Void, Void, ) -OPCODE(DummyReference, Void, Opaque, ) +OPCODE(ConditionRef, U1, U1, ) +OPCODE(Reference, Void, Opaque, ) OPCODE(PhiMove, Void, Opaque, Opaque, ) // Special operations |