summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-11-08 14:04:15 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-11-14 16:15:26 +0100
commit95137a04e1925c6467a1623a1eb883c14a8c89ba (patch)
tree4d28a8c2f758ea2d1fb7f2f5ac17f017a50d3b0e
parentMerge pull request #3081 from ReinUsesLisp/fswzadd-shuffles (diff)
downloadyuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.tar
yuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.tar.gz
yuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.tar.bz2
yuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.tar.lz
yuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.tar.xz
yuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.tar.zst
yuzu-95137a04e1925c6467a1623a1eb883c14a8c89ba.zip
-rw-r--r--src/video_core/engines/shader_bytecode.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 9fafed4a2..f8d67e227 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -1632,6 +1632,8 @@ public:
TLD4S, // Texture Load 4 with scalar / non - vec4 source / destinations
TMML_B, // Texture Mip Map Level
TMML, // Texture Mip Map Level
+ TXD, // Texture Gradient/Load with Derivates
+ TXD_B, // Texture Gradient/Load with Derivates Bindless
SUST, // Surface Store
SULD, // Surface Load
SUATOM, // Surface Atomic Operation
@@ -1664,6 +1666,9 @@ public:
ISCADD_C, // Scale and Add
ISCADD_R,
ISCADD_IMM,
+ FLO_R,
+ FLO_C,
+ FLO_IMM,
LEA_R1,
LEA_R2,
LEA_RZ,
@@ -1727,6 +1732,10 @@ public:
SHR_C,
SHR_R,
SHR_IMM,
+ SHF_RIGHT_R,
+ SHF_RIGHT_IMM,
+ SHF_LEFT_R,
+ SHF_LEFT_IMM,
FMNMX_C,
FMNMX_R,
FMNMX_IMM,
@@ -1924,6 +1933,8 @@ private:
INST("1101111100------", Id::TLD4S, Type::Texture, "TLD4S"),
INST("110111110110----", Id::TMML_B, Type::Texture, "TMML_B"),
INST("1101111101011---", Id::TMML, Type::Texture, "TMML"),
+ INST("11011110011110--", Id::TXD_B, Type::Texture, "TXD_B"),
+ INST("11011110001110--", Id::TXD, Type::Texture, "TXD"),
INST("11101011001-----", Id::SUST, Type::Image, "SUST"),
INST("11101011000-----", Id::SULD, Type::Image, "SULD"),
INST("1110101000------", Id::SUATOM, Type::Image, "SUATOM_D"),
@@ -1965,6 +1976,9 @@ private:
INST("010110110100----", Id::ICMP_R, Type::ArithmeticInteger, "ICMP_R"),
INST("010010110100----", Id::ICMP_CR, Type::ArithmeticInteger, "ICMP_CR"),
INST("0011011-0100----", Id::ICMP_IMM, Type::ArithmeticInteger, "ICMP_IMM"),
+ INST("010111000011‬0---", Id::FLO_R, Type::ArithmeticInteger, "FLO_R"),
+ INST("0100110000110---", Id::FLO_C, Type::ArithmeticInteger, "FLO_C"),
+ INST("0011100-00110---", Id::FLO_IMM, Type::ArithmeticInteger, "FLO_IMM"),
INST("0101101111011---", Id::LEA_R2, Type::ArithmeticInteger, "LEA_R2"),
INST("0101101111010---", Id::LEA_R1, Type::ArithmeticInteger, "LEA_R1"),
INST("001101101101----", Id::LEA_IMM, Type::ArithmeticInteger, "LEA_IMM"),
@@ -2022,6 +2036,10 @@ private:
INST("0100110000101---", Id::SHR_C, Type::Shift, "SHR_C"),
INST("0101110000101---", Id::SHR_R, Type::Shift, "SHR_R"),
INST("0011100-00101---", Id::SHR_IMM, Type::Shift, "SHR_IMM"),
+ INST("0101110011111---", Id::SHF_RIGHT_R, Type::Shift, "SHF_RIGHT_R"),
+ INST("0011100-11111---", Id::SHF_RIGHT_IMM, Type::Shift, "SHF_RIGHT_IMM"),
+ INST("0101101111111---", Id::SHF_LEFT_R, Type::Shift, "SHF_LEFT_R"),
+ INST("0011011-11111---", Id::SHF_LEFT_IMM, Type::Shift, "SHF_LEFT_IMM"),
INST("0100110011100---", Id::I2I_C, Type::Conversion, "I2I_C"),
INST("0101110011100---", Id::I2I_R, Type::Conversion, "I2I_R"),
INST("0011101-11100---", Id::I2I_IMM, Type::Conversion, "I2I_IMM"),