st/glsl_to_tgsi: initialise need_uarl in contructor
authorDave Airlie <airlied@redhat.com>
Fri, 5 Oct 2018 00:52:51 +0000 (10:52 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Oct 2018 00:20:37 +0000 (10:20 +1000)
Found by coverity

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index 7ada34769612624a0e7250a9dc1b7c140295a756..dea91c7a189a26eea1f1e6b96d59b1e3fc3c7e2f 100644 (file)
@@ -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;