[Mesa-dev] [PATCH] tgsi: initialize Atomic field in tgsi_default_declaration
eocallaghan at alterapraxis.com
eocallaghan at alterapraxis.com
Sun Jan 17 01:28:26 PST 2016
Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
On 2016-01-17 19:46, Ilia Mirkin wrote:
> Spotted by Coverity.
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
> 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 ea20746..83f5062 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;
More information about the mesa-dev
mailing list