diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-03-27 12:11:50 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-04-08 17:35:18 +0200 |
commit | fd4e994de3196dfdd2a3f2caf4ca8934e719c296 (patch) | |
tree | 3012794162498bd6caabd7fbf3c3841ae80d6f5a /src/video_core/shader/shader_ir.h | |
parent | Implement TXQ_B (diff) | |
download | yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.tar yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.tar.gz yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.tar.bz2 yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.tar.lz yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.tar.xz yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.tar.zst yuzu-fd4e994de3196dfdd2a3f2caf4ca8934e719c296.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index ed321cfe5..11495799f 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -769,11 +769,10 @@ private: void WriteTexsInstructionHalfFloat(NodeBlock& bb, Tegra::Shader::Instruction instr, const Node4& components); - Node4 GetTexCode( - Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, - Tegra::Shader::TextureProcessMode process_mode, bool depth_compare, bool is_array, - bool is_aoffi, bool is_bindless = false, - Tegra::Shader::Register bindless_reg = static_cast<Tegra::Shader::Register>(0)); + Node4 GetTexCode(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, + Tegra::Shader::TextureProcessMode process_mode, bool depth_compare, + bool is_array, bool is_aoffi, + std::optional<Tegra::Shader::Register> bindless_reg); Node4 GetTexsCode(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, Tegra::Shader::TextureProcessMode process_mode, bool depth_compare, @@ -790,12 +789,11 @@ private: bool lod_bias_enabled, std::size_t max_coords, std::size_t max_inputs); std::vector<Node> GetAoffiCoordinates(Node aoffi_reg, std::size_t coord_count, bool is_tld4); - - Node4 GetTextureCode( - Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, - Tegra::Shader::TextureProcessMode process_mode, std::vector<Node> coords, Node array, - Node depth_compare, u32 bias_offset, std::vector<Node> aoffi, bool is_bindless = false, - Tegra::Shader::Register bindless_reg = static_cast<Tegra::Shader::Register>(0)); + + Node4 GetTextureCode(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, + Tegra::Shader::TextureProcessMode process_mode, std::vector<Node> coords, + Node array, Node depth_compare, u32 bias_offset, std::vector<Node> aoffi, + std::optional<Tegra::Shader::Register> bindless_reg); Node GetVideoOperand(Node op, bool is_chunk, bool is_signed, Tegra::Shader::VideoType type, u64 byte_height); |