summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-05-21 00:53:06 +0200
committerSubv <subv2112@gmail.com>2018-05-21 00:53:06 +0200
commit8440cef2239cc86ec915513c722da835160515bb (patch)
tree69644862eca47e3e41d758e66fe4e6de2b230f9c /src/video_core/engines
parentMerge pull request #436 from bunnei/multi-core (diff)
downloadyuzu-8440cef2239cc86ec915513c722da835160515bb.tar
yuzu-8440cef2239cc86ec915513c722da835160515bb.tar.gz
yuzu-8440cef2239cc86ec915513c722da835160515bb.tar.bz2
yuzu-8440cef2239cc86ec915513c722da835160515bb.tar.lz
yuzu-8440cef2239cc86ec915513c722da835160515bb.tar.xz
yuzu-8440cef2239cc86ec915513c722da835160515bb.tar.zst
yuzu-8440cef2239cc86ec915513c722da835160515bb.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 e1ceec268..4ed1429b0 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)};