glsl: fix component size calculation for tessellation and geom shaders

Broken in commit abdab88b30 when adding arrays of arrays support

Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Timothy Arceri 2015-09-28 11:03:19 +10:00
parent 3c63a2d2f0
commit e413d2fbc4

View file

@ -964,7 +964,7 @@ varying_matches::record(ir_variable *producer_var, ir_variable *consumer_var)
}
slots *= type->matrix_columns;
} else {
slots = var->type->matrix_columns;
slots = type->matrix_columns;
}
this->matches[this->num_matches].num_components = 4 * slots;
} else {