From: Dave Airlie Date: Fri, 5 Oct 2018 00:52:51 +0000 (+1000) Subject: st/glsl_to_tgsi: initialise need_uarl in contructor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc2fe57922f027aafbe3c50154cf6d980dbe1adf;p=mesa.git st/glsl_to_tgsi: initialise need_uarl in contructor Found by coverity Reviewed-by: Marek Olšák --- 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;