mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
glsl: avoid hitting assert for arrays of arrays
Also add TODO comment about adding proper support Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
2d7a98de18
commit
dd89880dc0
1 changed files with 6 additions and 0 deletions
|
|
@ -242,6 +242,12 @@ ir_set_program_inouts_visitor::try_mark_partial_variable(ir_variable *var,
|
|||
type = type->fields.array;
|
||||
}
|
||||
|
||||
/* TODO: implement proper arrays of arrays support
|
||||
* for now let the caller mark whole variable as used.
|
||||
*/
|
||||
if (type->is_array() && type->fields.array->is_array())
|
||||
return false;
|
||||
|
||||
/* The code below only handles:
|
||||
*
|
||||
* - Indexing into matrices
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue