glsl: fix broken indentation in do_structure_splitting()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Samuel Pitoiset 2017-05-25 18:29:50 +02:00
parent ad717102d9
commit 71efec290c

View file

@ -339,13 +339,10 @@ do_structure_splitting(exec_list *instructions)
entry->mem_ctx = ralloc_parent(entry->var);
entry->components = ralloc_array(mem_ctx,
ir_variable *,
type->length);
entry->components = ralloc_array(mem_ctx, ir_variable *, type->length);
for (unsigned int i = 0; i < entry->var->type->length; i++) {
const char *name = ralloc_asprintf(mem_ctx, "%s_%s",
entry->var->name,
const char *name = ralloc_asprintf(mem_ctx, "%s_%s", entry->var->name,
type->fields.structure[i].name);
entry->components[i] =