summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2019-12-16 01:26:11 -0300
committerGravatar GitHub2019-12-16 01:26:11 -0300
commiteac075692be0df873df04cbe8e09296f64d1dfe1 (patch)
treeba39ab7d01d91a606aabd41f84ed11455b283459 /src/video_core/engines
parentMerge pull request #3222 from ReinUsesLisp/maxwell-to-vk (diff)
parentShader_IR: Correct TLD4S Depth Compare. (diff)
downloadyuzu-eac075692be0df873df04cbe8e09296f64d1dfe1.tar.gz
yuzu-eac075692be0df873df04cbe8e09296f64d1dfe1.tar.xz
yuzu-eac075692be0df873df04cbe8e09296f64d1dfe1.zip
Merge pull request #3219 from FernandoS27/fix-bindless
Corrections and fixes to TLD4S & bindless samplers failing
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"),