Home
last modified time | relevance | path

Searched refs:subroutine_types (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dir_clone.cpp275 …copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_type… in clone()
277 copy->subroutine_types[i] = this->subroutine_types[i]; in clone()
Dlower_subroutine.cpp96 if (ir->sub_var->type->without_array() == fn->subroutine_types[i]) { in visit_leave()
Dglsl_parser_extras.h968 ir_function **subroutine_types; member
Dast_to_hir.cpp6350 f->subroutine_types = ralloc_array(state, const struct glsl_type *, in hir()
6362 ir_function *fn = state->subroutine_types[i]; in hir()
6378 f->subroutine_types[idx++] = type; in hir()
6393 state->subroutine_types = (ir_function **)reralloc(state, state->subroutine_types, in hir()
6396 state->subroutine_types[state->num_subroutine_types] = f; in hir()
Dir.cpp2269 if (fn != NULL && fn->subroutine_types) in steal_memory()
2270 ralloc_steal(new_ctx, fn->subroutine_types); in steal_memory()
Dir.h1398 const struct glsl_type **subroutine_types; variable
Dglsl_parser_extras.cpp214 this->subroutine_types = NULL; in _mesa_glsl_parse_state()
Dast_function.cpp742 f = state->subroutine_types[i]; in match_subroutine_by_name()
Dlinker.cpp3412 … p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types[j] = fn->subroutine_types[j]; in link_assign_subroutine_types()
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp38 hash_table *glsl_type::subroutine_types = NULL; member in glsl_type
565 if (glsl_type::subroutine_types != NULL) { in glsl_type_singleton_decref()
566 _mesa_hash_table_destroy(glsl_type::subroutine_types, hash_free_type_function); in glsl_type_singleton_decref()
567 glsl_type::subroutine_types = NULL; in glsl_type_singleton_decref()
1532 if (subroutine_types == NULL) { in get_subroutine_instance()
1533 subroutine_types = _mesa_hash_table_create(NULL, record_key_hash, in get_subroutine_instance()
1537 const struct hash_entry *entry = _mesa_hash_table_search(subroutine_types, in get_subroutine_instance()
1542 entry = _mesa_hash_table_insert(subroutine_types, t, (void *) t); in get_subroutine_instance()
Dglsl_types.h1341 static struct hash_table *subroutine_types; member