From cc2fe57922f027aafbe3c50154cf6d980dbe1adf Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 5 Oct 2018 10:52:51 +1000 Subject: st/glsl_to_tgsi: initialise need_uarl in contructor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found by coverity Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/state_tracker') 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; -- cgit v1.2.3