From b51f8593d85fe35b1fd7bf76447a6f380d210c69 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 19 Mar 2013 07:55:48 -0600 Subject: [PATCH] tgsi: add initializer data to fix MSVC compile error --- src/gallium/auxiliary/tgsi/tgsi_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.c b/src/gallium/auxiliary/tgsi/tgsi_util.c index dfd32d7be44..90179c81bbb 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_util.c +++ b/src/gallium/auxiliary/tgsi/tgsi_util.c @@ -327,7 +327,7 @@ tgsi_util_get_inst_usage_mask(const struct tgsi_full_instruction *inst, struct tgsi_src_register tgsi_util_get_src_from_ind(const struct tgsi_ind_register *reg) { - struct tgsi_src_register src = {}; + struct tgsi_src_register src = { 0 }; src.File = reg->File; src.Index = reg->Index; -- 2.30.2