diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-25 22:04:53 -0300 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:28 +0100 |
commit | c15332c44fa50dc44e2ebd1a682048f1e30dc136 (patch) | |
tree | 9229d46e1274a541aa1b15b6b2f31512b49fb784 /src/shader_recompiler/frontend/ir/ir_emitter.cpp | |
parent | 74efa57c1b78b4a07ad0003e847bd5f0aa7c7bb5 (diff) |
shader: Add IsTextureScaled opcode
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index 3dfba8e716..3ccd91c10f 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp @@ -1946,6 +1946,10 @@ Value IREmitter::ImageAtomicExchange(const Value& handle, const Value& coords, c return Inst(op, Flags{info}, handle, coords, value); } +U1 IREmitter::IsTextureScaled(const U32& index) { + return Inst<U1>(Opcode::IsTextureScaled, index); +} + U1 IREmitter::VoteAll(const U1& value) { return Inst<U1>(Opcode::VoteAll, value); } |