gallivm: fix appveyor build after images changes

This commit is contained in:
Dave Airlie 2019-08-27 13:36:03 +10:00
parent c501c2cef6
commit e6eb444554
1 changed files with 2 additions and 1 deletions

View 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 &&