diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-22 10:59:07 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-22 10:59:07 -0400 |
| commit | 1509d2ffbdf98ead108d672795b2e9a7a93f4ce6 (patch) | |
| tree | 45bc3b8537dbde097a34e74bf802a84317dfb1c6 /src/video_core/shader/shader_ir.h | |
| parent | 1572fb9bf216e2d022067c15764ecdb5f2e0ed31 (diff) | |
Shader_Ir: Fix TLD4S from using a component mask.
TLD4S always outputs 4 values, the previous code checked a component
mask and omitted those values that weren't part of it. This commit
corrects that and makes sure all 4 values are set.
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
| -rw-r--r-- | src/video_core/shader/shader_ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 105981d67..df64845f5 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -322,7 +322,7 @@ private: const Node4& components); void WriteTexsInstructionFloat(NodeBlock& bb, Tegra::Shader::Instruction instr, - const Node4& components); + const Node4& components, bool ignore_mask = false); void WriteTexsInstructionHalfFloat(NodeBlock& bb, Tegra::Shader::Instruction instr, const Node4& components); |
