mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
glsl: Initialize lower_vector_visitor::dont_lower_swz.
Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
74b02b8e3f
commit
94e3ecae2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue