From 3281ae96c8e38ecb0d92155ff46142d3cb4d57b7 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 17 Jan 2016 03:44:22 -0500 Subject: [PATCH] tgsi: initialize Atomic field in tgsi_default_declaration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Spotted by Coverity. Signed-off-by: Ilia Mirkin Reviewed-by: Edward O'Callaghan Reviewed-by: Marek Olšák --- src/gallium/auxiliary/tgsi/tgsi_build.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2