From: Ilia Mirkin Date: Sun, 17 Jan 2016 08:44:22 +0000 (-0500) Subject: tgsi: initialize Atomic field in tgsi_default_declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3281ae96c8e38ecb0d92155ff46142d3cb4d57b7;p=mesa.git tgsi: initialize Atomic field in tgsi_default_declaration Spotted by Coverity. Signed-off-by: Ilia Mirkin Reviewed-by: Edward O'Callaghan Reviewed-by: Marek Olšák --- 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;