Searched refs:curProg (Results 1 – 4 of 4) sorted by relevance
76 static void match_pair_inst(struct ati_fragment_shader *curProg, GLuint optype) in match_pair_inst() argument78 if (optype == curProg->last_optype) { in match_pair_inst()79 curProg->last_optype = ATI_FRAGMENT_SHADER_ALPHA_OP; in match_pair_inst()220 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI() local230 if (curProg->Id == id) { in _mesa_BindFragmentShaderATI()235 if (curProg->Id != 0) { in _mesa_BindFragmentShaderATI()236 curProg->RefCount--; in _mesa_BindFragmentShaderATI()237 if (curProg->RefCount <= 0) { in _mesa_BindFragmentShaderATI()363 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_EndFragmentShaderATI() local372 if (curProg->interpinp1 && (ctx->ATIFragmentShader.Current->cur_pass > 1)) { in _mesa_EndFragmentShaderATI()[all …]
106 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB() local111 curProg = ctx->VertexProgram.Current; in _mesa_BindProgramARB()115 curProg = ctx->FragmentProgram.Current; in _mesa_BindProgramARB()133 if (curProg->Id == id) { in _mesa_BindProgramARB()
472 struct ati_fragment_shader *curProg);
142 st_new_ati_fs(struct gl_context *ctx, struct ati_fragment_shader *curProg) in st_new_ati_fs() argument145 curProg->Id, true); in st_new_ati_fs()147 stfp->ati_fs = curProg; in st_new_ati_fs()