mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
ir_function_inlining: Handle inlining of structure dereferences.
This commit is contained in:
parent
c0bfe8723e
commit
35e8e461ca
1 changed files with 1 additions and 2 deletions
|
|
@ -205,8 +205,7 @@ ir_function_cloning_visitor::visit(ir_dereference *ir)
|
|||
this->result = new ir_dereference(var, index);
|
||||
} else {
|
||||
assert(ir->mode == ir_dereference::ir_reference_record);
|
||||
/* FINISHME: inlining of structure references */
|
||||
assert(0);
|
||||
this->result = new ir_dereference(var, strdup(ir->selector.field));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue