Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
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); 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()
771 sh->Program->sh.SubroutineFunctions[j].name) == 0) { in write_shader_subroutine_index()
978 &sh->Program->sh.SubroutineFunctions[blob_read_uint32(metadata)]; in read_program_resource_data()
Dlinker.cpp4272 type, &p->sh.SubroutineFunctions[j], 0)) in build_program_resource_list()
4342 p->sh.SubroutineFunctions = reralloc(p, p->sh.SubroutineFunctions, in link_assign_subroutine_types()
4345 p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].name = ralloc_strdup(p, fn->name); in link_assign_subroutine_types()
4346 …p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].num_compat_types = fn->num_subroutine_type… in link_assign_subroutine_types()
4347 p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types = in link_assign_subroutine_types()
4359 if (p->sh.SubroutineFunctions[j].index != -1 && in link_assign_subroutine_types()
4360 p->sh.SubroutineFunctions[j].index == fn->subroutine_index) { in link_assign_subroutine_types()
4366 p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].index = in link_assign_subroutine_types()
4373 … p->sh.SubroutineFunctions[p->sh.NumSubroutineFunctions].types[j] = fn->subroutine_types[j]; in link_assign_subroutine_types()
4396 char *name = p->sh.SubroutineFunctions[j].name; in verify_subroutine_associated_funcs()
Dlinker_util.cpp278 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[f]; in link_util_calculate_subroutine_compat()
Dgl_nir_linker.c590 &p->sh.SubroutineFunctions[j], in nir_build_program_resource_list()
/third_party/mesa3d/src/mesa/main/
Dshaderapi.c2961 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[i]; in _mesa_GetActiveSubroutineUniformiv()
3109 if (p->sh.SubroutineFunctions[f].index == indices[j]) in _mesa_UniformSubroutinesuiv()
3110 subfn = &p->sh.SubroutineFunctions[f]; in _mesa_UniformSubroutinesuiv()
3796 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[i]; in find_compat_subroutine()
Dshader_query.cpp1566 struct gl_subroutine_function *fn = &p->sh.SubroutineFunctions[i]; in _mesa_program_resource_prop()
Dmtypes.h2210 struct gl_subroutine_function *SubroutineFunctions; member