Home
last modified time | relevance | path

Searched refs:curProg (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Datifragshader.c110 static void match_pair_inst(struct ati_fragment_shader *curProg, GLuint optype) in match_pair_inst() argument
112 if (optype == curProg->last_optype) { in match_pair_inst()
113 curProg->last_optype = 1; in match_pair_inst()
181 static int check_arith_arg(struct ati_fragment_shader *curProg, in check_arith_arg() argument
203 if ((curProg->cur_pass == 1) && in check_arith_arg()
205 curProg->interpinp1 = GL_TRUE; in check_arith_arg()
239 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI() local
249 if (curProg->Id == id) { in _mesa_BindFragmentShaderATI()
254 if (curProg->Id != 0) { in _mesa_BindFragmentShaderATI()
255 curProg->RefCount--; in _mesa_BindFragmentShaderATI()
[all …]
Darbprogram.c75 struct gl_program *curProg, *newProg; in _mesa_BindProgram() local
83 curProg = &ctx->VertexProgram.Current->Base; in _mesa_BindProgram()
89 curProg = &ctx->FragmentProgram.Current->Base; in _mesa_BindProgram()
130 if (curProg->Id == id) { in _mesa_BindProgram()