diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-10-30 18:37:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-30 18:37:17 +0000 |
| commit | 658489ebf71ea7c66fda338072e38bb71deffb3b (patch) | |
| tree | f66de374ab21111f7c62b2eeac03d4cb4a4190bc /src/video_core/shader/shader_ir.h | |
| parent | 04b838c8576e880ea65becbf53246f6e6ddfaba7 (diff) | |
| parent | 9293c3a0f21b0729ed64fbc417f4102e5e27d009 (diff) | |
Merge pull request #3050 from FernandoS27/fix-tld4
shader_ir: Fix TLD4 and add bindless variant
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
| -rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 1fd44bde1..7582999a5 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -326,7 +326,7 @@ private: Node BitfieldInsert(Node base, Node insert, u32 offset, u32 bits); void WriteTexInstructionFloat(NodeBlock& bb, Tegra::Shader::Instruction instr, - const Node4& components); + const Node4& components, bool is_tld4 = false); void WriteTexsInstructionFloat(NodeBlock& bb, Tegra::Shader::Instruction instr, const Node4& components, bool ignore_mask = false); @@ -343,7 +343,7 @@ private: bool is_array); Node4 GetTld4Code(Tegra::Shader::Instruction instr, Tegra::Shader::TextureType texture_type, - bool depth_compare, bool is_array, bool is_aoffi); + bool depth_compare, bool is_array, bool is_aoffi, bool is_bindless); Node4 GetTldCode(Tegra::Shader::Instruction instr); |
