From: Dave Airlie Date: Tue, 27 Aug 2019 03:36:03 +0000 (+1000) Subject: gallivm: fix appveyor build after images changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6eb4445545544f9c016734c34b0dbf7b8a6bacc;p=mesa.git gallivm: fix appveyor build after images changes --- 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 &&