mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 16:10:23 +01:00
i965: Fix use of undefined mem_ctx in vector splitting.
This commit is contained in:
parent
e3ccfd4e03
commit
3da98c1ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,6 @@ public:
|
|||
struct variable_entry *get_splitting_entry(ir_variable *var);
|
||||
|
||||
exec_list *variable_list;
|
||||
void *mem_ctx;
|
||||
};
|
||||
|
||||
struct variable_entry *
|
||||
|
|
@ -300,6 +299,7 @@ ir_vector_splitting_visitor::visit_leave(ir_assignment *ir)
|
|||
}
|
||||
ir->remove();
|
||||
} else if (lhs) {
|
||||
void *mem_ctx = lhs->mem_ctx;
|
||||
int elem = -1;
|
||||
|
||||
switch (ir->write_mask) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue