summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-09-02 09:51:56 +1000
committerDave Airlie <[email protected]>2014-09-16 15:13:05 +1000
commit7f6872d012e66b11b64179cd7c214d10d4ae55cd (patch)
tree175c8a1807ed47083366a3703decfd4510394922 /src/mesa/state_tracker
parent8de5522d93ee733cb4f32f5d432cbc4473545407 (diff)
st_glsl_to_tgsi: init have_sqrt field.
Coverity reported this. Signed-off-by: Dave Airlie <[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 7c2f0fca03c..b338a9836ae 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -3172,6 +3172,7 @@ glsl_to_tgsi_visitor::glsl_to_tgsi_visitor()
shader_program = NULL;
shader = NULL;
options = NULL;
+ have_sqrt = false;
}
glsl_to_tgsi_visitor::~glsl_to_tgsi_visitor()