Lines Matching defs:subs
73 struct gl_subroutine_function *subs;
86 subs = rzalloc_array(prog, struct gl_subroutine_function,
88 glprog->sh.SubroutineFunctions = subs;
91 subs[j].name = ralloc_strdup(prog, blob_read_string (metadata));
92 subs[j].index = (int) blob_read_uint32(metadata);
93 subs[j].num_compat_types = (int) blob_read_uint32(metadata);
95 subs[j].types = rzalloc_array(prog, const struct glsl_type *,
96 subs[j].num_compat_types);
97 for (int k = 0; k < subs[j].num_compat_types; k++) {
98 subs[j].types[k] = decode_type_from_blob(metadata);