Lines Matching defs:shProg
100 struct gl_shader_program *shProg =
103 if (!shProg)
122 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++)
123 if (shProg->data->ProgramResourceList[i].Type == programInterface)
138 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
139 if (shProg->data->ProgramResourceList[i].Type != programInterface)
142 _mesa_program_resource_name_len(&shProg->data->ProgramResourceList[i]);
149 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
150 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
153 shProg->data->ProgramResourceList[i].Data;
159 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
160 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
163 shProg->data->ProgramResourceList[i].Data;
168 _mesa_program_resource_find_name(shProg, GL_BUFFER_VARIABLE,
179 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
180 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
183 shProg->data->ProgramResourceList[i].Data;
189 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
190 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
193 shProg->data->ProgramResourceList[i].Data;
213 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
214 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
217 shProg->data->ProgramResourceList[i].Data;
274 struct gl_shader_program *shProg =
277 if (!shProg || !name)
315 res = _mesa_program_resource_find_name(shProg, programInterface, name,
320 return _mesa_program_resource_index(shProg, res);
344 struct gl_shader_program *shProg =
348 if (!shProg || !name)
359 _mesa_get_program_resource_name(shProg, programInterface, index, bufSize,
377 struct gl_shader_program *shProg =
380 if (!shProg || !params)
392 _mesa_get_program_resourceiv(shProg, programInterface, index,
407 struct gl_shader_program *shProg =
410 if (!shProg || !name)
442 return _mesa_program_resource_location(shProg, programInterface, name);
463 struct gl_shader_program *shProg =
466 if (!shProg || !name)
481 return _mesa_program_resource_location_index(shProg, GL_PROGRAM_OUTPUT,