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()361 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_EndFragmentShaderATI() local370 if (curProg->interpinp1 && (ctx->ATIFragmentShader.Current->cur_pass > 1)) { in _mesa_EndFragmentShaderATI()[all …]
69 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB() local74 curProg = ctx->VertexProgram.Current; in _mesa_BindProgramARB()78 curProg = ctx->FragmentProgram.Current; in _mesa_BindProgramARB()119 if (curProg->Id == id) { in _mesa_BindProgramARB()
456 struct ati_fragment_shader *curProg);
260 st_new_ati_fs(struct gl_context *ctx, struct ati_fragment_shader *curProg) in st_new_ati_fs() argument263 curProg->Id, true); in st_new_ati_fs()265 stfp->ati_fs = curProg; in st_new_ati_fs()