From 88a618ce86602e962343683eacea60ebdd20e4e1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 24 Oct 2016 13:42:09 -0700 Subject: tgsi: trivial build fix for MSVC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index cbb3eec07fb..aeb326a8bfe 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; -- cgit v1.2.3