[Mesa-dev] [PATCH] st/glsl_to_tgsi: initialise need_uarl in contructor

Marek Olšák maraeo at gmail.com
Fri Oct 5 21:36:59 UTC 2018


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek
On Thu, Oct 4, 2018 at 8:55 PM Dave Airlie <airlied at gmail.com> wrote:
>
> From: Dave Airlie <airlied at redhat.com>
>
> Found by coverity
> ---
>  src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> index 7ada3476961..dea91c7a189 100644
> --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> @@ -4656,6 +4656,7 @@ glsl_to_tgsi_visitor::glsl_to_tgsi_visitor()
>     ctx = NULL;
>     prog = NULL;
>     precise = 0;
> +   need_uarl = false;
>     shader_program = NULL;
>     shader = NULL;
>     options = NULL;
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list