Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dir_clone.cpp282 …copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_type… in clone()
284 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.h951 ir_function **subroutine_types; member
Dast_to_hir.cpp6262 f->subroutine_types = ralloc_array(state, const struct glsl_type *, in hir()
6274 ir_function *fn = state->subroutine_types[i]; in hir()
6290 f->subroutine_types[idx++] = type; in hir()
6305 state->subroutine_types = (ir_function **)reralloc(state, state->subroutine_types, in hir()
6308 state->subroutine_types[state->num_subroutine_types] = f; in hir()
Dir.cpp2267 if (fn != NULL && fn->subroutine_types) in steal_memory()
2268 ralloc_steal(new_ctx, fn->subroutine_types); in steal_memory()
Dir.h1395 const struct glsl_type **subroutine_types; variable
Dglsl_parser_extras.cpp214 this->subroutine_types = NULL; in _mesa_glsl_parse_state()
Dast_function.cpp741 f = state->subroutine_types[i]; in match_subroutine_by_name()
Dlinker.cpp4333 … p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types[j] = fn->subroutine_types[j]; in link_assign_subroutine_types()
/external/mesa3d/src/compiler/
Dglsl_types.cpp38 hash_table *glsl_type::subroutine_types = NULL; member in glsl_type
562 if (glsl_type::subroutine_types != NULL) { in glsl_type_singleton_decref()
563 _mesa_hash_table_destroy(glsl_type::subroutine_types, hash_free_type_function); in glsl_type_singleton_decref()
564 glsl_type::subroutine_types = NULL; in glsl_type_singleton_decref()
1410 if (subroutine_types == NULL) { in get_subroutine_instance()
1411 subroutine_types = _mesa_hash_table_create(NULL, record_key_hash, in get_subroutine_instance()
1415 const struct hash_entry *entry = _mesa_hash_table_search(subroutine_types, in get_subroutine_instance()
1420 entry = _mesa_hash_table_insert(subroutine_types, t, (void *) t); in get_subroutine_instance()
Dglsl_types.h1323 static struct hash_table *subroutine_types; member