From: Vinson Lee Date: Tue, 24 Sep 2013 04:47:48 +0000 (-0700) Subject: glsl: Initialize lower_vector_visitor::dont_lower_swz. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94e3ecae2d0d7b22ca545026345ca872ec2edf72;p=mesa.git glsl: Initialize lower_vector_visitor::dont_lower_swz. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Kenneth Graunke --- diff --git a/src/glsl/lower_vector.cpp b/src/glsl/lower_vector.cpp index 9172b6af7b5..a658410ae6f 100644 --- a/src/glsl/lower_vector.cpp +++ b/src/glsl/lower_vector.cpp @@ -35,7 +35,7 @@ namespace { class lower_vector_visitor : public ir_rvalue_visitor { public: - lower_vector_visitor() : progress(false) + lower_vector_visitor() : dont_lower_swz(false), progress(false) { /* empty */ }