glsl: glsl to nir fix uninit class member.
The constructor should init this to NULL Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
@@ -180,6 +180,7 @@ nir_visitor::nir_visitor(nir_shader *shader)
|
|||||||
this->overload_table = _mesa_pointer_hash_table_create(NULL);
|
this->overload_table = _mesa_pointer_hash_table_create(NULL);
|
||||||
this->result = NULL;
|
this->result = NULL;
|
||||||
this->impl = NULL;
|
this->impl = NULL;
|
||||||
|
this->deref = NULL;
|
||||||
memset(&this->b, 0, sizeof(this->b));
|
memset(&this->b, 0, sizeof(this->b));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user