diff options
| author | 2021-07-25 22:04:53 -0300 | |
|---|---|---|
| committer | 2021-11-16 22:11:28 +0100 | |
| commit | c15332c44fa50dc44e2ebd1a682048f1e30dc136 (patch) | |
| tree | 9229d46e1274a541aa1b15b6b2f31512b49fb784 /src/shader_recompiler/frontend/ir/ir_emitter.cpp | |
| parent | texture_cache: Add image getters (diff) | |
| download | yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.gz yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.xz yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.zip | |
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 3dfba8e71..3ccd91c10 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 | |||
| 1946 | return Inst(op, Flags{info}, handle, coords, value); | 1946 | return Inst(op, Flags{info}, handle, coords, value); |
| 1947 | } | 1947 | } |
| 1948 | 1948 | ||
| 1949 | U1 IREmitter::IsTextureScaled(const U32& index) { | ||
| 1950 | return Inst<U1>(Opcode::IsTextureScaled, index); | ||
| 1951 | } | ||
| 1952 | |||
| 1949 | U1 IREmitter::VoteAll(const U1& value) { | 1953 | U1 IREmitter::VoteAll(const U1& value) { |
| 1950 | return Inst<U1>(Opcode::VoteAll, value); | 1954 | return Inst<U1>(Opcode::VoteAll, value); |
| 1951 | } | 1955 | } |