glsl/opt_array_splitting: Fix indentation
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
This commit is contained in:
parent
4a60002424
commit
283c8372cb
|
@ -389,9 +389,7 @@ optimize_split_arrays(exec_list *instructions, bool linked)
|
|||
|
||||
entry->mem_ctx = ralloc_parent(entry->var);
|
||||
|
||||
entry->components = ralloc_array(mem_ctx,
|
||||
ir_variable *,
|
||||
entry->size);
|
||||
entry->components = ralloc_array(mem_ctx, ir_variable *, entry->size);
|
||||
|
||||
for (unsigned int i = 0; i < entry->size; i++) {
|
||||
const char *name = ralloc_asprintf(mem_ctx, "%s_%d",
|
||||
|
|
Loading…
Reference in New Issue