projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
683794f
)
ttn: add missing writemask on store_output
author
Rob Clark
<robclark@freedesktop.org>
Wed, 13 Jan 2016 23:39:56 +0000
(18:39 -0500)
committer
Rob Clark
<robclark@freedesktop.org>
Sat, 16 Jan 2016 18:35:44 +0000
(13:35 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/auxiliary/nir/tgsi_to_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/nir/tgsi_to_nir.c
b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index
7c57759
..
9b19448
100644
(file)
--- 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);
}