diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-23 04:38:01 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:52 +0100 |
commit | ec98e4d842d5ba04b329c866f5c9b1e7314069f2 (patch) | |
tree | e767cf2354e536cb45dcd2ce349153b8ee945c3a /src/video_core/shader/shader_ir.h | |
parent | shader_ir: Fixup TEX and TEXS and partially fix TLD4 decompiling (diff) | |
download | yuzu-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 'src/video_core/shader/shader_ir.h')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 3 |
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); |