diff options
author | Ilia Mirkin <[email protected]> | 2016-01-17 03:44:22 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-01-17 16:37:04 -0500 |
commit | 3281ae96c8e38ecb0d92155ff46142d3cb4d57b7 (patch) | |
tree | c43f5fe28b6864c7f63f3ab25c991554a2893953 | |
parent | 5a81b48ad0a895d4a609bb9eddd55a9456cb9091 (diff) |
tgsi: initialize Atomic field in tgsi_default_declaration
Spotted by Coverity.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index ea207461d27..83f50628b40 100644 --- 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; |