summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-29 21:58:42 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commit12783f8105e06c8aebcfccf29921441552b991f7 (patch)
treede357e680cad896c1d5d5cfcc0943a5a7cacc148
parentshader: Implement FSWZADD (diff)
downloadyuzu-12783f8105e06c8aebcfccf29921441552b991f7.tar
yuzu-12783f8105e06c8aebcfccf29921441552b991f7.tar.gz
yuzu-12783f8105e06c8aebcfccf29921441552b991f7.tar.bz2
yuzu-12783f8105e06c8aebcfccf29921441552b991f7.tar.lz
yuzu-12783f8105e06c8aebcfccf29921441552b991f7.tar.xz
yuzu-12783f8105e06c8aebcfccf29921441552b991f7.tar.zst
yuzu-12783f8105e06c8aebcfccf29921441552b991f7.zip
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
index 505fba46a..6e7dddead 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
@@ -1602,7 +1602,9 @@ U32 IREmitter::ShuffleButterfly(const IR::U32& value, const IR::U32& index, cons
const IR::U32& seg_mask) {
return Inst<U32>(Opcode::ShuffleButterfly, value, index, clamp, seg_mask);
}
+
F32 IREmitter::FSwizzleAdd(const F32& a, const F32& b, const U32& swizzle, FpControl control) {
return Inst<F32>(Opcode::FSwizzleAdd, Flags{control}, a, b, swizzle);
}
+
} // namespace Shader::IR