diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-29 04:23:45 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | 6c51f496320f698e123207c09ca61e55180a31b5 (patch) | |
tree | c5ecbbce29797fd7ba3138e11f9c364899375e2b /src/shader_recompiler/frontend/ir/ir_emitter.h | |
parent | shader: Implement BRX (diff) | |
download | yuzu-6c51f496320f698e123207c09ca61e55180a31b5.tar yuzu-6c51f496320f698e123207c09ca61e55180a31b5.tar.gz yuzu-6c51f496320f698e123207c09ca61e55180a31b5.tar.bz2 yuzu-6c51f496320f698e123207c09ca61e55180a31b5.tar.lz yuzu-6c51f496320f698e123207c09ca61e55180a31b5.tar.xz yuzu-6c51f496320f698e123207c09ca61e55180a31b5.tar.zst yuzu-6c51f496320f698e123207c09ca61e55180a31b5.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h index 17bc32fc8..8f3325738 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.h +++ b/src/shader_recompiler/frontend/ir/ir_emitter.h @@ -277,6 +277,8 @@ public: const IR::U32& seg_mask); [[nodiscard]] U32 ShuffleButterfly(const IR::U32& value, const IR::U32& index, const IR::U32& clamp, const IR::U32& seg_mask); + [[nodiscard]] F32 FSwizzleAdd(const F32& a, const F32& b, const U32& swizzle, + FpControl control = {}); private: IR::Block::iterator insertion_point; |