Home
last modified time | relevance | path

Searched refs:SubroutineFunctions (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dlinker.cpp3380 p->sh.SubroutineFunctions = reralloc(p, p->sh.SubroutineFunctions, in link_assign_subroutine_types()
3383 … p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].name.string = ralloc_strdup(p, fn->name); in link_assign_subroutine_types()
3384 resource_name_updated(&p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].name); in link_assign_subroutine_types()
3385 …p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].num_compat_types = fn->num_subroutine_type… in link_assign_subroutine_types()
3386 p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types = in link_assign_subroutine_types()
3398 if (p->sh.SubroutineFunctions[j].index != -1 && in link_assign_subroutine_types()
3399 p->sh.SubroutineFunctions[j].index == fn->subroutine_index) { in link_assign_subroutine_types()
3405 p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].index = in link_assign_subroutine_types()
3412 … p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types[j] = fn->subroutine_types[j]; in link_assign_subroutine_types()
3435 char *name = p->sh.SubroutineFunctions[j].name.string; in verify_subroutine_associated_funcs()
Dserialize.cpp56 int num_types = glprog->sh.SubroutineFunctions[j].num_compat_types; in write_subroutines()
58 blob_write_string(metadata, glprog->sh.SubroutineFunctions[j].name.string); in write_subroutines()
59 blob_write_uint32(metadata, glprog->sh.SubroutineFunctions[j].index); in write_subroutines()
64 glprog->sh.SubroutineFunctions[j].types[k]); in write_subroutines()
88 glprog->sh.SubroutineFunctions = subs; in read_subroutines()
775 sh->Program->sh.SubroutineFunctions[j].name.string) == 0) { in write_shader_subroutine_index()
983 &sh->Program->sh.SubroutineFunctions[blob_read_uint32(metadata)]; in read_program_resource_data()
Dlinker_util.cpp342 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[f]; in link_util_calculate_subroutine_compat()
Dgl_nir_linker.c745 &p->sh.SubroutineFunctions[j], in nir_build_program_resource_list()
/third_party/mesa3d/src/mesa/main/
Dshader_types.h596 struct gl_subroutine_function *SubroutineFunctions; member
Dshaderapi.c2926 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[i]; in _mesa_GetActiveSubroutineUniformiv()
3074 if (p->sh.SubroutineFunctions[f].index == indices[j]) in _mesa_UniformSubroutinesuiv()
3075 subfn = &p->sh.SubroutineFunctions[f]; in _mesa_UniformSubroutinesuiv()
3759 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[i]; in find_compat_subroutine()
Dshader_query.cpp1637 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[i]; in _mesa_program_resource_prop()