From: Brian Paul Date: Tue, 19 Mar 2013 13:55:48 +0000 (-0600) Subject: tgsi: add initializer data to fix MSVC compile error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b51f8593d85fe35b1fd7bf76447a6f380d210c69;p=mesa.git tgsi: add initializer data to fix MSVC compile error --- 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;