Lines Matching defs:func
416 nir_function *func = ralloc(shader, nir_function);
418 exec_list_push_tail(&shader->functions, &func->node);
420 func->name = ralloc_strdup(func, name);
421 func->shader = shader;
422 func->num_params = 0;
423 func->params = NULL;
424 func->impl = NULL;
425 func->is_entrypoint = false;
426 func->is_preamble = false;
428 return func;
3535 foreach_list_typed_safe(nir_function, func, node, &nir->functions) {
3536 if (!func->is_entrypoint)
3537 exec_node_remove(&func->node);