• Home
  • Raw
  • Download

Lines Matching refs:Current

239    struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current;  in _mesa_BindFragmentShaderATI()
281 ctx->ATIFragmentShader.Current = newProg; in _mesa_BindFragmentShaderATI()
283 ASSERT(ctx->ATIFragmentShader.Current); in _mesa_BindFragmentShaderATI()
308 if (ctx->ATIFragmentShader.Current && in _mesa_DeleteFragmentShaderATI()
309 ctx->ATIFragmentShader.Current->Id == id) { in _mesa_DeleteFragmentShaderATI()
345 if (ctx->ATIFragmentShader.Current->Instructions[i]) in _mesa_BeginFragmentShaderATI()
346 free(ctx->ATIFragmentShader.Current->Instructions[i]); in _mesa_BeginFragmentShaderATI()
347 if (ctx->ATIFragmentShader.Current->SetupInst[i]) in _mesa_BeginFragmentShaderATI()
348 free(ctx->ATIFragmentShader.Current->SetupInst[i]); in _mesa_BeginFragmentShaderATI()
354 ctx->ATIFragmentShader.Current->Instructions[i] = in _mesa_BeginFragmentShaderATI()
358 ctx->ATIFragmentShader.Current->SetupInst[i] = in _mesa_BeginFragmentShaderATI()
365 ctx->ATIFragmentShader.Current->LocalConstDef = 0; in _mesa_BeginFragmentShaderATI()
366 ctx->ATIFragmentShader.Current->numArithInstr[0] = 0; in _mesa_BeginFragmentShaderATI()
367 ctx->ATIFragmentShader.Current->numArithInstr[1] = 0; in _mesa_BeginFragmentShaderATI()
368 ctx->ATIFragmentShader.Current->regsAssigned[0] = 0; in _mesa_BeginFragmentShaderATI()
369 ctx->ATIFragmentShader.Current->regsAssigned[1] = 0; in _mesa_BeginFragmentShaderATI()
370 ctx->ATIFragmentShader.Current->NumPasses = 0; in _mesa_BeginFragmentShaderATI()
371 ctx->ATIFragmentShader.Current->cur_pass = 0; in _mesa_BeginFragmentShaderATI()
372 ctx->ATIFragmentShader.Current->last_optype = 0; in _mesa_BeginFragmentShaderATI()
373 ctx->ATIFragmentShader.Current->interpinp1 = GL_FALSE; in _mesa_BeginFragmentShaderATI()
374 ctx->ATIFragmentShader.Current->isValid = GL_FALSE; in _mesa_BeginFragmentShaderATI()
375 ctx->ATIFragmentShader.Current->swizzlerq = 0; in _mesa_BeginFragmentShaderATI()
383 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_EndFragmentShaderATI()
392 if (curProg->interpinp1 && (ctx->ATIFragmentShader.Current->cur_pass > 1)) { in _mesa_EndFragmentShaderATI()
399 ctx->ATIFragmentShader.Current->isValid = GL_TRUE; in _mesa_EndFragmentShaderATI()
400 if ((ctx->ATIFragmentShader.Current->cur_pass == 0) || in _mesa_EndFragmentShaderATI()
401 (ctx->ATIFragmentShader.Current->cur_pass == 2)) { in _mesa_EndFragmentShaderATI()
404 if (ctx->ATIFragmentShader.Current->cur_pass > 1) in _mesa_EndFragmentShaderATI()
405 ctx->ATIFragmentShader.Current->NumPasses = 2; in _mesa_EndFragmentShaderATI()
407 ctx->ATIFragmentShader.Current->NumPasses = 1; in _mesa_EndFragmentShaderATI()
409 ctx->ATIFragmentShader.Current->cur_pass = 0; in _mesa_EndFragmentShaderATI()
435 ctx->ATIFragmentShader.Current->isValid = GL_FALSE; in _mesa_EndFragmentShaderATI()
446 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_PassTexCoordATI()
518 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_SampleMapATI()
595 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_FragmentOpXATI()
786 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_SetFragmentShaderConstantATI()