summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-16 23:47:26 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:28 +0200
commit80940b17069f6baa733a9b572445b27bc7509137 (patch)
treeb6d73140e8f84cd4c3916895cbf054d124c98b7e /src/shader_recompiler/frontend/ir/ir_emitter.cpp
parentshader: Implement PIXLD.MY_INDEX (diff)
downloadyuzu-80940b17069f6baa733a9b572445b27bc7509137.tar
yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.gz
yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.bz2
yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.lz
yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.xz
yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.zst
yuzu-80940b17069f6baa733a9b572445b27bc7509137.zip
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.cpp4
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 141efd86c..ef3b00bc2 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
@@ -343,6 +343,10 @@ void IREmitter::SetFragColor(u32 index, u32 component, const F32& value) {
Inst(Opcode::SetFragColor, Imm32(index), Imm32(component), value);
}
+void IREmitter::SetSampleMask(const U32& value) {
+ Inst(Opcode::SetSampleMask, value);
+}
+
void IREmitter::SetFragDepth(const F32& value) {
Inst(Opcode::SetFragDepth, value);
}