diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-29 08:31:40 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 04:46:13 +0100 |
commit | d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea (patch) | |
tree | 0d8d248f88357b72c20a349af1eba6076d9ba9c0 /src/video_core/shader/shader_ir.h | |
parent | Merge pull request #2083 from ReinUsesLisp/shader-ir-cbuf-tracking (diff) | |
download | yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.tar yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.tar.gz yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.tar.bz2 yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.tar.lz yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.tar.xz yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.tar.zst yuzu-d62b0a9e2941eb9d43e84ee40fe1531c2dc92eea.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 1d4fbef53..0c3d9c61e 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -288,9 +288,10 @@ struct MetaHalfArithmetic { struct MetaTexture { const Sampler& sampler; + Node array{}; + Node depth_compare{}; + std::vector<Node> extras; u32 element{}; - u32 coords_count{}; - std::optional<u32> array_index; }; constexpr MetaArithmetic PRECISE = {true}; @@ -754,9 +755,8 @@ private: bool lod_bias_enabled, std::size_t max_coords, std::size_t max_inputs); Node4 GetTextureCode(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, - Tegra::Shader::TextureProcessMode process_mode, bool depth_compare, - bool is_array, std::size_t array_offset, std::size_t bias_offset, - std::vector<Node>&& coords); + Tegra::Shader::TextureProcessMode process_mode, std::vector<Node> coords, + Node array, Node depth_compare, u32 bias_offset); Node GetVideoOperand(Node op, bool is_chunk, bool is_signed, Tegra::Shader::VideoType type, u64 byte_height); |