diff options
author | Vinson Lee <[email protected]> | 2013-09-23 21:47:48 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2013-09-24 22:51:23 -0700 |
commit | 94e3ecae2d0d7b22ca545026345ca872ec2edf72 (patch) | |
tree | bb1b1dae47620ff6754c2083012318805076c502 /src/glsl/lower_vector.cpp | |
parent | 74b02b8e3fd946db7bd3e1ebee86b5079b674c93 (diff) |
glsl: Initialize lower_vector_visitor::dont_lower_swz.
Fixes "Uninitialized scalar field" defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/lower_vector.cpp')
-rw-r--r-- | src/glsl/lower_vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ } |