Lines Matching refs:shProg
1103 struct gl_shader_program *shProg[3] = { in st_print_shaders() local
1113 if (shProg[j] == NULL) in st_print_shaders()
1116 for (i = 0; i < shProg[j]->NumShaders; i++) { in st_print_shaders()
1119 switch (shProg[j]->Shaders[i]->Type) { in st_print_shaders()
1121 sh = (i != 0) ? NULL : shProg[j]->Shaders[i]; in st_print_shaders()
1124 sh = (i != 1) ? NULL : shProg[j]->Shaders[i]; in st_print_shaders()
1127 sh = (i != 2) ? NULL : shProg[j]->Shaders[i]; in st_print_shaders()
1136 printf("GLSL shader %u of %u:\n", i, shProg[j]->NumShaders); in st_print_shaders()
1237 struct gl_shader_program *shProg = (struct gl_shader_program *) data; in destroy_shader_program_variants_cb() local
1240 for (i = 0; i < shProg->NumShaders; i++) { in destroy_shader_program_variants_cb()
1241 destroy_program_variants(st, shProg->Shaders[i]->Program); in destroy_shader_program_variants_cb()
1244 for (i = 0; i < Elements(shProg->_LinkedShaders); i++) { in destroy_shader_program_variants_cb()
1245 if (shProg->_LinkedShaders[i]) in destroy_shader_program_variants_cb()
1246 destroy_program_variants(st, shProg->_LinkedShaders[i]->Program); in destroy_shader_program_variants_cb()