diff options
author | Brian Paul <[email protected]> | 2016-10-24 13:42:09 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-24 14:16:07 -0700 |
commit | 88a618ce86602e962343683eacea60ebdd20e4e1 (patch) | |
tree | f140a9e8b3fc22241858f66f6e8bc707bb4bd141 /src/gallium/auxiliary | |
parent | 6dbb8d12a8b78769b9803884fad5f0d9923023bc (diff) |
tgsi: trivial build fix for MSVC
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |