aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-08-27 13:36:03 +1000
committerDave Airlie <[email protected]>2019-08-27 13:36:03 +1000
commite6eb4445545544f9c016734c34b0dbf7b8a6bacc (patch)
tree32e58cda7404b98261ab0913edbe5259be007fea
parentc501c2cef67795a45a35c90c697450fdb23d3d48 (diff)
gallivm: fix appveyor build after images changes
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_format_soa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
index a6ec91c4a3f..1f21fa03007 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
@@ -984,9 +984,10 @@ lp_build_store_rgba_soa(struct gallivm_state *gallivm,
const LLVMValueRef rgba_in[4])
{
enum pipe_format format = format_desc->format;
- LLVMValueRef packed[4] = {};
+ LLVMValueRef packed[4];
unsigned num_stores;
+ memset(packed, 0, sizeof(LLVMValueRef) * 4);
if (format_desc->layout == UTIL_FORMAT_LAYOUT_PLAIN &&
format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB &&
format_desc->block.width == 1 &&