projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b02b8
)
glsl: Initialize lower_vector_visitor::dont_lower_swz.
author
Vinson Lee
<vlee@freedesktop.org>
Tue, 24 Sep 2013 04:47:48 +0000
(21:47 -0700)
committer
Vinson Lee
<vlee@freedesktop.org>
Wed, 25 Sep 2013 05:51:23 +0000
(22:51 -0700)
Fixes "Uninitialized scalar field" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/lower_vector.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/lower_vector.cpp
b/src/glsl/lower_vector.cpp
index 9172b6af7b504b9401ef1848616a6739f50c23a6..a658410ae6fd20e0a894b35ad3658fb3db59faf3 100644
(file)
--- 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 */
}