From 23be2160713a713a53519568efa2516b770f07ae Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 14 Apr 2020 14:22:07 -0400 Subject: [PATCH] freedreno/ir3: don't overwrite wrmask in ir3_SAM Fixes (with other patches to allow these tests to run): dEQP-VK.ycbcr.query.size_lod.vertex.* Suggested-by: Rob Clark Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/ir3/ir3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h index b58cd6eb4be..54d740e75db 100644 --- a/src/freedreno/ir3/ir3.h +++ b/src/freedreno/ir3/ir3.h @@ -1568,10 +1568,10 @@ ir3_SAM(struct ir3_block *block, opc_t opc, type_t type, __ssa_src(sam, samp_tex, IR3_REG_HALF); } if (src0) { - __ssa_src(sam, src0, 0)->wrmask = (1 << (src0->regs_count - 1)) - 1; + __ssa_src(sam, src0, 0); } if (src1) { - __ssa_src(sam, src1, 0)->wrmask =(1 << (src1->regs_count - 1)) - 1; + __ssa_src(sam, src1, 0); } sam->cat5.type = type; -- 2.30.2