From: Brian Paul Date: Mon, 24 Oct 2016 20:42:09 +0000 (-0700) Subject: tgsi: trivial build fix for MSVC X-Git-Tag: upstream/17.1.0~5281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88a618ce86602e962343683eacea60ebdd20e4e1;p=platform%2Fupstream%2Fmesa.git tgsi: trivial build fix for MSVC Reviewed-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index cbb3eec..aeb326a 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -370,7 +370,7 @@ scan_instruction(struct tgsi_shader_info *info, if (fullinst->Instruction.Texture) { for (i = 0; i < fullinst->Texture.NumOffsets; i++) { - struct tgsi_full_src_register src = {}; + struct tgsi_full_src_register src = {{0}}; src.Register.File = fullinst->TexOffsets[i].File; src.Register.Index = fullinst->TexOffsets[i].Index;