Home | History | Annotate | Download | only in main

Lines Matching defs:shProg

66                                           struct gl_shader_program *shProg)
68 if (!shProg->last_vert_prog)
73 callback_data.prog = shProg->last_vert_prog;
857 struct gl_shader_program *shProg, GLsizei count,
863 for (i = 0; i < (GLint) shProg->TransformFeedback.NumVarying; i++) {
864 free(shProg->TransformFeedback.VaryingNames[i]);
866 free(shProg->TransformFeedback.VaryingNames);
869 shProg->TransformFeedback.VaryingNames =
872 if (!shProg->TransformFeedback.VaryingNames) {
879 shProg->TransformFeedback.VaryingNames[i] = strdup(varyings[i]);
881 shProg->TransformFeedback.NumVarying = count;
883 shProg->TransformFeedback.BufferMode = bufferMode;
898 struct gl_shader_program *shProg = _mesa_lookup_shader_program(ctx, program);
899 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode);
907 struct gl_shader_program *shProg;
940 shProg = _mesa_lookup_shader_program_err(ctx, program,
942 if (!shProg)
977 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode);
990 const struct gl_shader_program *shProg;
994 shProg = _mesa_lookup_shader_program_err(ctx, program,
996 if (!shProg)
999 res = _mesa_program_resource_find_index((struct gl_shader_program *) shProg,
1013 _mesa_program_resource_prop((struct gl_shader_program *) shProg,
1017 _mesa_program_resource_prop((struct gl_shader_program *) shProg,