summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-10-05 10:52:51 +1000
committerDave Airlie <[email protected]>2018-10-11 10:20:37 +1000
commitcc2fe57922f027aafbe3c50154cf6d980dbe1adf (patch)
tree6db257740d8fe3a507c199b040f89a0835a3760e /src/mesa/state_tracker
parentc5c3da6c90220f1333dd3d0d34642bcd33a609fb (diff)
st/glsl_to_tgsi: initialise need_uarl in contructor
Found by coverity Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp1
1 files changed, 1 insertions, 0 deletions
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;