diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-22 06:37:12 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-22 06:37:12 +0200 |
commit | c43eaa94f3e32c647bb54e0de4b9c35b114756a0 (patch) | |
tree | d13d28bc6489ac48afc55c48ee841543114aa140 /src/video_core/engines/shader_bytecode.h | |
parent | Merge pull request #761 from bunnei/improve-raster-cache (diff) | |
download | yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.tar yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.tar.gz yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.tar.bz2 yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.tar.lz yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.tar.xz yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.tar.zst yuzu-c43eaa94f3e32c647bb54e0de4b9c35b114756a0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 939a71022..f495b623b 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -290,6 +290,11 @@ union Instruction { union { BitField<39, 3, u64> pred; + BitField<42, 1, u64> neg_pred; + } sel; + + union { + BitField<39, 3, u64> pred; BitField<42, 1, u64> negate_pred; BitField<43, 2, IMinMaxExchange> exchange; BitField<48, 1, u64> is_signed; @@ -513,6 +518,9 @@ public: ISCADD_C, // Scale and Add ISCADD_R, ISCADD_IMM, + SEL_C, + SEL_R, + SEL_IMM, MUFU, // Multi-Function Operator RRO_C, // Range Reduction Operator RRO_R, @@ -713,6 +721,9 @@ private: INST("0100110000011---", Id::ISCADD_C, Type::ArithmeticInteger, "ISCADD_C"), INST("0101110000011---", Id::ISCADD_R, Type::ArithmeticInteger, "ISCADD_R"), INST("0011100-00011---", Id::ISCADD_IMM, Type::ArithmeticInteger, "ISCADD_IMM"), + INST("0100110010100---", Id::SEL_C, Type::ArithmeticInteger, "SEL_C"), + INST("0101110010100---", Id::SEL_R, Type::ArithmeticInteger, "SEL_R"), + INST("0011100010100---", Id::SEL_IMM, Type::ArithmeticInteger, "SEL_IMM"), INST("0101000010000---", Id::MUFU, Type::Arithmetic, "MUFU"), INST("0100110010010---", Id::RRO_C, Type::Arithmetic, "RRO_C"), INST("0101110010010---", Id::RRO_R, Type::Arithmetic, "RRO_R"), |