Lines Matching refs:shProg
221 create_shader_variable(struct gl_shader_program *shProg, in create_shader_variable() argument
231 struct gl_shader_variable *out = rzalloc(shProg, in create_shader_variable()
241 out->name.string = ralloc_strdup(shProg, "gl_VertexID"); in create_shader_variable()
246 out->name.string = ralloc_strdup(shProg, "gl_TessLevelOuter"); in create_shader_variable()
252 out->name.string = ralloc_strdup(shProg, "gl_TessLevelInner"); in create_shader_variable()
255 out->name.string = ralloc_strdup(shProg, name); in create_shader_variable()
302 struct gl_shader_program *shProg, in add_shader_variable() argument
346 name = ralloc_asprintf(shProg, "%s.%s", interface_name, name); in add_shader_variable()
370 char *field_name = ralloc_asprintf(shProg, "%s.%s", name, field->name); in add_shader_variable()
371 if (!add_shader_variable(consts, shProg, resource_set, in add_shader_variable()
406 char *elem = ralloc_asprintf(shProg, "%s[%d]", name, i); in add_shader_variable()
407 if (!add_shader_variable(consts, shProg, resource_set, in add_shader_variable()
428 create_shader_variable(shProg, var, name, type, interface_type, in add_shader_variable()
434 return link_util_add_program_resource(shProg, resource_set, in add_shader_variable()
554 struct gl_shader_program *shProg, in nir_add_packed_var_to_resource_list() argument
559 if (!add_shader_variable(consts, shProg, resource_set, 1 << stage, in nir_add_packed_var_to_resource_list()