spirv: Drop the impl field from vtn_builder
We have a nir_builder and it has an impl field. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
@@ -1731,7 +1731,7 @@ vtn_create_variable(struct vtn_builder *b, struct vtn_value *val,
|
||||
|
||||
if (var->mode == vtn_variable_mode_local) {
|
||||
assert(var->members == NULL && var->var != NULL);
|
||||
nir_function_impl_add_variable(b->impl, var->var);
|
||||
nir_function_impl_add_variable(b->nb.impl, var->var);
|
||||
} else if (var->var) {
|
||||
nir_shader_add_variable(b->shader, var->var);
|
||||
} else if (var->members) {
|
||||
|
Reference in New Issue
Block a user