diff options
author | Jonathan Marek <[email protected]> | 2020-04-14 14:22:07 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-14 19:12:47 +0000 |
commit | 23be2160713a713a53519568efa2516b770f07ae (patch) | |
tree | aa899ee4f3912cddff948f2fb0210c3299f8656f | |
parent | aeb5b9cebf5c5fde2eed9be1d0ec64afd8aa8b6d (diff) |
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 <[email protected]>
Signed-off-by: Jonathan Marek <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4557>
-rw-r--r-- | src/freedreno/ir3/ir3.h | 4 |
1 files 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; |