diff options
author | Brian Paul <[email protected]> | 2013-03-19 07:55:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-03-19 07:55:48 -0600 |
commit | b51f8593d85fe35b1fd7bf76447a6f380d210c69 (patch) | |
tree | addadeafcce74f56c92b7807067010088091c27c /src/gallium/auxiliary/tgsi/tgsi_util.c | |
parent | 897303f8ffb78026bf6563c87c699e37465e9f33 (diff) |
tgsi: add initializer data to fix MSVC compile error
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_util.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.c b/src/gallium/auxiliary/tgsi/tgsi_util.c index dfd32d7be44..90179c81bbb 100644 --- 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; |