From: Rob Clark Date: Wed, 13 Jan 2016 23:39:56 +0000 (-0500) Subject: ttn: add missing writemask on store_output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f0377d65180febf622318c10f7a9190fac22f3b;p=mesa.git ttn: add missing writemask on store_output Signed-off-by: Rob Clark Reviewed-by: Kenneth Graunke --- diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 7c577592f70..9b194481277 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -1932,6 +1932,7 @@ ttn_add_output_stores(struct ttn_compile *c) store->src[0].reg.reg = c->output_regs[loc].reg; store->src[0].reg.base_offset = c->output_regs[loc].offset; store->const_index[0] = loc; + store->const_index[1] = 0xf; /* writemask */ store->src[1] = nir_src_for_ssa(nir_imm_int(b, 0)); nir_builder_instr_insert(b, &store->instr); }