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.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.h954 ir_function **subroutine_types; member
Dast_to_hir.cpp6325 f->subroutine_types = ralloc_array(state, const struct glsl_type *, in hir()
6337 ir_function *fn = state->subroutine_types[i]; in hir()
6353 f->subroutine_types[idx++] = type; in hir()
6368 state->subroutine_types = (ir_function **)reralloc(state, state->subroutine_types, in hir()
6371 state->subroutine_types[state->num_subroutine_types] = f; in hir()
Dir.cpp2270 if (fn != NULL && fn->subroutine_types) in steal_memory()
2271 ralloc_steal(new_ctx, fn->subroutine_types); in steal_memory()
Dir.h1401 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.cpp4373 … p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types[j] = fn->subroutine_types[j]; in link_assign_subroutine_types()
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp39 hash_table *glsl_type::subroutine_types = NULL; member in glsl_type
570 if (glsl_type::subroutine_types != NULL) { in glsl_type_singleton_decref()
571 _mesa_hash_table_destroy(glsl_type::subroutine_types, hash_free_type_function); in glsl_type_singleton_decref()
572 glsl_type::subroutine_types = NULL; in glsl_type_singleton_decref()
1421 if (subroutine_types == NULL) { in get_subroutine_instance()
1422 subroutine_types = _mesa_hash_table_create(NULL, record_key_hash, in get_subroutine_instance()
1426 const struct hash_entry *entry = _mesa_hash_table_search(subroutine_types, in get_subroutine_instance()
1431 entry = _mesa_hash_table_insert(subroutine_types, t, (void *) t); in get_subroutine_instance()
Dglsl_types.h1325 static struct hash_table *subroutine_types; member