summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-21 05:44:07 +0200
committerGitHub <noreply@github.com>2018-05-21 05:44:07 +0200
commit898f0fa0299524236007cddbec83209790f05aae (patch)
tree4122d83721fb0eb7bc137db6cc35fc0a86bd405a /src/video_core/engines
parentMerge pull request #445 from greggameplayer/patch-2 (diff)
parentShaders: Implemented the FMNMX shader instruction. (diff)
downloadyuzu-898f0fa0299524236007cddbec83209790f05aae.tar
yuzu-898f0fa0299524236007cddbec83209790f05aae.tar.gz
yuzu-898f0fa0299524236007cddbec83209790f05aae.tar.bz2
yuzu-898f0fa0299524236007cddbec83209790f05aae.tar.lz
yuzu-898f0fa0299524236007cddbec83209790f05aae.tar.xz
yuzu-898f0fa0299524236007cddbec83209790f05aae.tar.zst
yuzu-898f0fa0299524236007cddbec83209790f05aae.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 7eb1bf8d9..8ea26c9c1 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -193,6 +193,11 @@ union Instruction {
BitField<50, 1, u64> abs_d;
BitField<56, 1, u64> negate_imm;
+ union {
+ BitField<39, 3, u64> pred;
+ BitField<42, 1, u64> negate_pred;
+ } fmnmx;
+
float GetImm20_19() const {
float result{};
u32 imm{static_cast<u32>(imm20_19)};