projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbb8d1
)
tgsi: trivial build fix for MSVC
author
Brian Paul
<brianp@vmware.com>
Mon, 24 Oct 2016 20:42:09 +0000
(13:42 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 24 Oct 2016 21:16:07 +0000
(14:16 -0700)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.c
b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index cbb3eec07fbabafb21521871943d105fd40ac216..aeb326a8bfee7423652e2aeb20c141d858f6f831 100644
(file)
--- 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;