Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Datifragshader.c60 new_ati_fs(struct gl_context *ctx, struct ati_fragment_shader *curProg) in new_ati_fs() argument
66 _mesa_init_gl_program(prog, MESA_SHADER_FRAGMENT, curProg->Id, true); in new_ati_fs()
67 prog->ati_fs = curProg; in new_ati_fs()
91 static void match_pair_inst(struct ati_fragment_shader *curProg, GLuint optype) in match_pair_inst() argument
93 if (optype == curProg->last_optype) { in match_pair_inst()
94 curProg->last_optype = ATI_FRAGMENT_SHADER_ALPHA_OP; in match_pair_inst()
235 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI() local
245 if (curProg->Id == id) { in _mesa_BindFragmentShaderATI()
250 if (curProg->Id != 0) { in _mesa_BindFragmentShaderATI()
251 curProg->RefCount--; in _mesa_BindFragmentShaderATI()
[all …]
Darbprogram.c109 struct gl_program *curProg, *newProg; in _mesa_BindProgramARB() local
114 curProg = ctx->VertexProgram.Current; in _mesa_BindProgramARB()
118 curProg = ctx->FragmentProgram.Current; in _mesa_BindProgramARB()
136 if (curProg->Id == id) { in _mesa_BindProgramARB()