From: Jonathan Marek Date: Tue, 14 Apr 2020 18:22:07 +0000 (-0400) Subject: freedreno/ir3: don't overwrite wrmask in ir3_SAM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23be2160713a713a53519568efa2516b770f07ae;p=mesa.git 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: --- 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;