gallivm: fix appveyor build after images changes
authorDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 03:36:03 +0000 (13:36 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 03:36:03 +0000 (13:36 +1000)
src/gallium/auxiliary/gallivm/lp_bld_format_soa.c

index a6ec91c4a3f3863ccb04b20f38eee6685192224a..1f21fa030077d9400de2daa097c626459ef83977 100644 (file)
@@ -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 &&