• Home
  • Raw
  • Download

Lines Matching refs:Current

235    struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current;  in _mesa_BindFragmentShaderATI()
279 ctx->ATIFragmentShader.Current = newProg; in _mesa_BindFragmentShaderATI()
281 assert(ctx->ATIFragmentShader.Current); in _mesa_BindFragmentShaderATI()
303 if (ctx->ATIFragmentShader.Current && in _mesa_DeleteFragmentShaderATI()
304 ctx->ATIFragmentShader.Current->Id == id) { in _mesa_DeleteFragmentShaderATI()
339 free(ctx->ATIFragmentShader.Current->Instructions[i]); in _mesa_BeginFragmentShaderATI()
340 free(ctx->ATIFragmentShader.Current->SetupInst[i]); in _mesa_BeginFragmentShaderATI()
343 _mesa_reference_program(ctx, &ctx->ATIFragmentShader.Current->Program, NULL); in _mesa_BeginFragmentShaderATI()
348 ctx->ATIFragmentShader.Current->Instructions[i] = in _mesa_BeginFragmentShaderATI()
351 ctx->ATIFragmentShader.Current->SetupInst[i] = in _mesa_BeginFragmentShaderATI()
357 ctx->ATIFragmentShader.Current->LocalConstDef = 0; in _mesa_BeginFragmentShaderATI()
358 ctx->ATIFragmentShader.Current->numArithInstr[0] = 0; in _mesa_BeginFragmentShaderATI()
359 ctx->ATIFragmentShader.Current->numArithInstr[1] = 0; in _mesa_BeginFragmentShaderATI()
360 ctx->ATIFragmentShader.Current->regsAssigned[0] = 0; in _mesa_BeginFragmentShaderATI()
361 ctx->ATIFragmentShader.Current->regsAssigned[1] = 0; in _mesa_BeginFragmentShaderATI()
362 ctx->ATIFragmentShader.Current->NumPasses = 0; in _mesa_BeginFragmentShaderATI()
363 ctx->ATIFragmentShader.Current->cur_pass = 0; in _mesa_BeginFragmentShaderATI()
364 ctx->ATIFragmentShader.Current->last_optype = 0; in _mesa_BeginFragmentShaderATI()
365 ctx->ATIFragmentShader.Current->interpinp1 = GL_FALSE; in _mesa_BeginFragmentShaderATI()
366 ctx->ATIFragmentShader.Current->isValid = GL_FALSE; in _mesa_BeginFragmentShaderATI()
367 ctx->ATIFragmentShader.Current->swizzlerq = 0; in _mesa_BeginFragmentShaderATI()
370 _mesa_debug(ctx, "%s %u\n", __func__, ctx->ATIFragmentShader.Current->Id); in _mesa_BeginFragmentShaderATI()
378 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_EndFragmentShaderATI()
387 if (curProg->interpinp1 && (ctx->ATIFragmentShader.Current->cur_pass > 1)) { in _mesa_EndFragmentShaderATI()
394 ctx->ATIFragmentShader.Current->isValid = GL_TRUE; in _mesa_EndFragmentShaderATI()
395 if ((ctx->ATIFragmentShader.Current->cur_pass == 0) || in _mesa_EndFragmentShaderATI()
396 (ctx->ATIFragmentShader.Current->cur_pass == 2)) { in _mesa_EndFragmentShaderATI()
399 if (ctx->ATIFragmentShader.Current->cur_pass > 1) in _mesa_EndFragmentShaderATI()
400 ctx->ATIFragmentShader.Current->NumPasses = 2; in _mesa_EndFragmentShaderATI()
402 ctx->ATIFragmentShader.Current->NumPasses = 1; in _mesa_EndFragmentShaderATI()
404 ctx->ATIFragmentShader.Current->cur_pass = 0; in _mesa_EndFragmentShaderATI()
430 ctx->ATIFragmentShader.Current); in _mesa_EndFragmentShaderATI()
431 _mesa_reference_program(ctx, &ctx->ATIFragmentShader.Current->Program, in _mesa_EndFragmentShaderATI()
434 ctx->ATIFragmentShader.Current->Program = prog; in _mesa_EndFragmentShaderATI()
438 ctx->ATIFragmentShader.Current->isValid = GL_FALSE; in _mesa_EndFragmentShaderATI()
449 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_PassTexCoordATI()
522 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_SampleMapATI()
600 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_FragmentOpXATI()
825 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_SetFragmentShaderConstantATI()