diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-23 05:18:33 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:52 +0100 |
commit | 55e6786254d33e3501002bf7fbdd52552a0df32a (patch) | |
tree | c4d516419aff5dfa35c1de13efa77294afc50e16 /src/video_core/shader/shader_ir.h | |
parent | shader_decode: Update TLD4 reflecting #1862 changes (diff) | |
download | yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.tar yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.tar.gz yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.tar.bz2 yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.tar.lz yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.tar.xz yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.tar.zst yuzu-55e6786254d33e3501002bf7fbdd52552a0df32a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 691bd6d72..231f58f6a 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -154,6 +154,7 @@ enum class OperationCode { F4TextureGather, /// (MetaTexture, float[N] coords, float[M] params) -> float4 F4TextureQueryDimensions, /// (MetaTexture, float a) -> float4 F4TextureQueryLod, /// (MetaTexture, float[N] coords) -> float4 + F4TexelFetch, /// (MetaTexture, int[N], int) -> float4 Ipa, /// (abuf src) -> float @@ -694,6 +695,9 @@ private: Node GetTld4Code(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, bool depth_compare, bool is_array); + Node GetTldsCode(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, + 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); |