• Home
  • Raw
  • Download

Lines Matching refs:shProg

73                                           struct gl_shader_program *shProg)  in _mesa_transform_feedback_is_using_program()  argument
75 if (!shProg->last_vert_prog) in _mesa_transform_feedback_is_using_program()
80 callback_data.prog = shProg->last_vert_prog; in _mesa_transform_feedback_is_using_program()
870 struct gl_shader_program *shProg, GLsizei count, in transform_feedback_varyings() argument
876 for (i = 0; i < (GLint) shProg->TransformFeedback.NumVarying; i++) { in transform_feedback_varyings()
877 free(shProg->TransformFeedback.VaryingNames[i]); in transform_feedback_varyings()
879 free(shProg->TransformFeedback.VaryingNames); in transform_feedback_varyings()
882 shProg->TransformFeedback.VaryingNames = in transform_feedback_varyings()
885 if (!shProg->TransformFeedback.VaryingNames) { in transform_feedback_varyings()
892 shProg->TransformFeedback.VaryingNames[i] = strdup(varyings[i]); in transform_feedback_varyings()
894 shProg->TransformFeedback.NumVarying = count; in transform_feedback_varyings()
896 shProg->TransformFeedback.BufferMode = bufferMode; in transform_feedback_varyings()
911 struct gl_shader_program *shProg = _mesa_lookup_shader_program(ctx, program); in _mesa_TransformFeedbackVaryings_no_error() local
912 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode); in _mesa_TransformFeedbackVaryings_no_error()
920 struct gl_shader_program *shProg; in _mesa_TransformFeedbackVaryings() local
953 shProg = _mesa_lookup_shader_program_err(ctx, program, in _mesa_TransformFeedbackVaryings()
955 if (!shProg) in _mesa_TransformFeedbackVaryings()
990 transform_feedback_varyings(ctx, shProg, count, varyings, bufferMode); in _mesa_TransformFeedbackVaryings()
1003 const struct gl_shader_program *shProg; in _mesa_GetTransformFeedbackVarying() local
1007 shProg = _mesa_lookup_shader_program_err(ctx, program, in _mesa_GetTransformFeedbackVarying()
1009 if (!shProg) in _mesa_GetTransformFeedbackVarying()
1012 res = _mesa_program_resource_find_index((struct gl_shader_program *) shProg, in _mesa_GetTransformFeedbackVarying()
1026 _mesa_program_resource_prop((struct gl_shader_program *) shProg, in _mesa_GetTransformFeedbackVarying()
1030 _mesa_program_resource_prop((struct gl_shader_program *) shProg, in _mesa_GetTransformFeedbackVarying()