summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-12-23 04:38:01 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-15 21:54:52 +0100
commitec98e4d842d5ba04b329c866f5c9b1e7314069f2 (patch)
treee767cf2354e536cb45dcd2ce349153b8ee945c3a /src/video_core/shader/shader_ir.h
parentshader_ir: Fixup TEX and TEXS and partially fix TLD4 decompiling (diff)
downloadyuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.tar
yuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.tar.gz
yuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.tar.bz2
yuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.tar.lz
yuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.tar.xz
yuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.tar.zst
yuzu-ec98e4d842d5ba04b329c866f5c9b1e7314069f2.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/shader_ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 5939318c1..691bd6d72 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -691,6 +691,9 @@ private:
Tegra::Shader::TextureProcessMode process_mode, bool depth_compare,
bool is_array);
+ Node GetTld4Code(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type,
+ bool depth_compare, bool is_array);
+
std::tuple<std::size_t, std::size_t> ValidateAndGetCoordinateElement(
Tegra::Shader::TextureType texture_type, bool depth_compare, bool is_array,
bool lod_bias_enabled, std::size_t max_coords, std::size_t max_inputs);