Lines Matching refs:shProg
101 struct gl_shader_program *shProg =
104 if (!shProg)
123 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++)
124 if (shProg->data->ProgramResourceList[i].Type == programInterface)
139 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
140 if (shProg->data->ProgramResourceList[i].Type != programInterface)
143 _mesa_program_resource_name_len(&shProg->data->ProgramResourceList[i]);
150 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
151 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
154 shProg->data->ProgramResourceList[i].Data;
160 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
161 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
164 shProg->data->ProgramResourceList[i].Data;
169 _mesa_program_resource_find_name(shProg, GL_BUFFER_VARIABLE,
180 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
181 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
184 shProg->data->ProgramResourceList[i].Data;
190 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
191 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
194 shProg->data->ProgramResourceList[i].Data;
214 for (i = 0, *params = 0; i < shProg->data->NumProgramResourceList; i++) {
215 if (shProg->data->ProgramResourceList[i].Type == programInterface) {
218 shProg->data->ProgramResourceList[i].Data;
275 struct gl_shader_program *shProg =
278 if (!shProg || !name)
316 res = _mesa_program_resource_find_name(shProg, programInterface, name,
321 return _mesa_program_resource_index(shProg, res);
345 struct gl_shader_program *shProg =
349 if (!shProg || !name)
360 _mesa_get_program_resource_name(shProg, programInterface, index, bufSize,
378 struct gl_shader_program *shProg =
381 if (!shProg || !params)
393 _mesa_get_program_resourceiv(shProg, programInterface, index,
408 struct gl_shader_program *shProg =
411 if (!shProg || !name)
443 return _mesa_program_resource_location(shProg, programInterface, name);
464 struct gl_shader_program *shProg =
467 if (!shProg || !name)
482 return _mesa_program_resource_location_index(shProg, GL_PROGRAM_OUTPUT,