projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a81b48
)
tgsi: initialize Atomic field in tgsi_default_declaration
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 17 Jan 2016 08:44:22 +0000
(
03:44
-0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 17 Jan 2016 21:37:04 +0000
(16:37 -0500)
Spotted by Coverity.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_build.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_build.c
b/src/gallium/auxiliary/tgsi/tgsi_build.c
index ea207461d27c95bbc7475d5241efaff0bda946c2..83f50628b407bc58ad4a9b4c209615bcc5f56bbf 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_build.c
@@
-110,6
+110,7
@@
tgsi_default_declaration( void )
declaration.Invariant = 0;
declaration.Local = 0;
declaration.Array = 0;
+ declaration.Atomic = 0;
declaration.Padding = 0;
return declaration;