aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/lower_vector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/lower_vector.cpp')
-rw-r--r--mesalib/src/glsl/lower_vector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/lower_vector.cpp b/mesalib/src/glsl/lower_vector.cpp
index 57963a121..0cd6909db 100644
--- a/mesalib/src/glsl/lower_vector.cpp
+++ b/mesalib/src/glsl/lower_vector.cpp
@@ -183,7 +183,7 @@ lower_vector_visitor::handle_rvalue(ir_rvalue **rvalue)
if (assigned > 0) {
ir_constant *const c =
new(mem_ctx) ir_constant(glsl_type::get_instance(expr->type->base_type,
- assigned, 0),
+ assigned, 1),
&d);
ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp);
ir_assignment *const assign =