[Mesa-dev] [PATCH] st/glsl_to_tgsi: initialise need_uarl in contructor
Dave Airlie
airlied at gmail.com
Fri Oct 5 00:53:08 UTC 2018
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
More information about the mesa-dev
mailing list