mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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:
parent
3c63a2d2f0
commit
e413d2fbc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue