summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-12-11 18:12:29 -0400
committerGravatar FernandoS272019-12-11 19:53:17 -0400
commitaf89723fa3d4ca13fc2ce7be545170d093eb4c31 (patch)
tree584e8189da320a63c6bce2d91dae547f49d2826c /src/video_core/engines
parentGl_Shader_compiler: Correct Depth Compare for Texture Gather operations. (diff)
downloadyuzu-af89723fa3d4ca13fc2ce7be545170d093eb4c31.tar.gz
yuzu-af89723fa3d4ca13fc2ce7be545170d093eb4c31.tar.xz
yuzu-af89723fa3d4ca13fc2ce7be545170d093eb4c31.zip
Shader_Ir: Correct TLD4S encoding and implement f16 flag.
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 290d929df..d6a2cc8b8 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -1292,6 +1292,7 @@ union Instruction {
1292 BitField<50, 1, u64> dc_flag; 1292 BitField<50, 1, u64> dc_flag;
1293 BitField<51, 1, u64> aoffi_flag; 1293 BitField<51, 1, u64> aoffi_flag;
1294 BitField<52, 2, u64> component; 1294 BitField<52, 2, u64> component;
1295 BitField<55, 1, u64> fp16_flag;
1295 1296
1296 bool UsesMiscMode(TextureMiscMode mode) const { 1297 bool UsesMiscMode(TextureMiscMode mode) const {
1297 switch (mode) { 1298 switch (mode) {
@@ -1972,7 +1973,7 @@ private:
1972 INST("1101-01---------", Id::TLDS, Type::Texture, "TLDS"), 1973 INST("1101-01---------", Id::TLDS, Type::Texture, "TLDS"),
1973 INST("110010----111---", Id::TLD4, Type::Texture, "TLD4"), 1974 INST("110010----111---", Id::TLD4, Type::Texture, "TLD4"),
1974 INST("1101111011111---", Id::TLD4_B, Type::Texture, "TLD4_B"), 1975 INST("1101111011111---", Id::TLD4_B, Type::Texture, "TLD4_B"),
1975 INST("1101111100------", Id::TLD4S, Type::Texture, "TLD4S"), 1976 INST("11011111--00----", Id::TLD4S, Type::Texture, "TLD4S"),
1976 INST("110111110110----", Id::TMML_B, Type::Texture, "TMML_B"), 1977 INST("110111110110----", Id::TMML_B, Type::Texture, "TMML_B"),
1977 INST("1101111101011---", Id::TMML, Type::Texture, "TMML"), 1978 INST("1101111101011---", Id::TMML, Type::Texture, "TMML"),
1978 INST("11011110011110--", Id::TXD_B, Type::Texture, "TXD_B"), 1979 INST("11011110011110--", Id::TXD_B, Type::Texture, "TXD_B"),