Searched refs:curProg (Results 1 – 4 of 4) sorted by relevance
77 static void match_pair_inst(struct ati_fragment_shader *curProg, GLuint optype) in match_pair_inst() argument79 if (optype == curProg->last_optype) { in match_pair_inst()80 curProg->last_optype = ATI_FRAGMENT_SHADER_ALPHA_OP; in match_pair_inst()221 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI() local231 if (curProg->Id == id) { in _mesa_BindFragmentShaderATI()236 if (curProg->Id != 0) { in _mesa_BindFragmentShaderATI()237 curProg->RefCount--; in _mesa_BindFragmentShaderATI()238 if (curProg->RefCount <= 0) { in _mesa_BindFragmentShaderATI()364 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_EndFragmentShaderATI() local373 if (curProg->interpinp1 && (ctx->ATIFragmentShader.Current->cur_pass > 1)) { in _mesa_EndFragmentShaderATI()[all …]
107 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB() local112 curProg = ctx->VertexProgram.Current; in _mesa_BindProgramARB()116 curProg = ctx->FragmentProgram.Current; in _mesa_BindProgramARB()134 if (curProg->Id == id) { in _mesa_BindProgramARB()
490 struct ati_fragment_shader *curProg);
141 st_new_ati_fs(struct gl_context *ctx, struct ati_fragment_shader *curProg) in st_new_ati_fs() argument144 curProg->Id, true); in st_new_ati_fs()146 stfp->ati_fs = curProg; in st_new_ati_fs()