Lines Matching defs:shProg
69 struct gl_shader_program *shProg)
71 if (!shProg->last_vert_prog)
76 callback_data.prog = shProg->last_vert_prog;
874 struct gl_shader_program *shProg, GLsizei count,
880 for (i = 0; i < (GLint) shProg->TransformFeedback.NumVarying; i++) {
881 free(shProg->TransformFeedback.VaryingNames[i]);
883 free(shProg->TransformFeedback.VaryingNames);
886 shProg->TransformFeedback.VaryingNames =
889 if (!shProg->TransformFeedback.VaryingNames) {
896 shProg->TransformFeedback.VaryingNames[i] = strdup(varyings[i]);
898 shProg->TransformFeedback.NumVarying = count;
900 shProg->TransformFeedback.BufferMode = bufferMode;
915 struct gl_shader_program *shProg = _mesa_lookup_shader_program(ctx, program);
916 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode);
924 struct gl_shader_program *shProg;
957 shProg = _mesa_lookup_shader_program_err(ctx, program,
959 if (!shProg)
994 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode);
1007 const struct gl_shader_program *shProg;
1011 shProg = _mesa_lookup_shader_program_err(ctx, program,
1013 if (!shProg)
1016 res = _mesa_program_resource_find_index((struct gl_shader_program *) shProg,
1030 _mesa_program_resource_prop((struct gl_shader_program *) shProg,
1034 _mesa_program_resource_prop((struct gl_shader_program *) shProg,