projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
897303f
)
tgsi: add initializer data to fix MSVC compile error
author
Brian Paul
<brianp@vmware.com>
Tue, 19 Mar 2013 13:55:48 +0000
(07:55 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 19 Mar 2013 13:55:48 +0000
(07:55 -0600)
src/gallium/auxiliary/tgsi/tgsi_util.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_util.c
b/src/gallium/auxiliary/tgsi/tgsi_util.c
index dfd32d7be4417a2519f57823f93551649492f713..90179c81bbb75e2ae36c7544bd743e7e19d22053 100644
(file)
--- 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;