Lines Matching refs:cur_pass
102 prog->numArithInstr[prog->cur_pass >> 1]++;
203 if ((curProg->cur_pass == 1) &&
371 ctx->ATIFragmentShader.Current->cur_pass = 0;
392 if (curProg->interpinp1 && (ctx->ATIFragmentShader.Current->cur_pass > 1)) {
400 if ((ctx->ATIFragmentShader.Current->cur_pass == 0) ||
401 (ctx->ATIFragmentShader.Current->cur_pass == 2)) {
404 if (ctx->ATIFragmentShader.Current->cur_pass > 1)
409 ctx->ATIFragmentShader.Current->cur_pass = 0;
454 if (curProg->cur_pass == 1) {
456 curProg->cur_pass = 2;
458 if ((curProg->cur_pass > 2) ||
459 ((1 << (dst - GL_REG_0_ATI)) & curProg->regsAssigned[curProg->cur_pass >> 1])) {
474 if ((curProg->cur_pass == 0) && (coord >= GL_REG_0_ATI)) {
497 curProg->regsAssigned[curProg->cur_pass >> 1] |= 1 << (dst - GL_REG_0_ATI);
501 curI = &curProg->SetupInst[curProg->cur_pass >> 1][dst - GL_REG_0_ATI];
526 if (curProg->cur_pass == 1) {
528 curProg->cur_pass = 2;
530 if ((curProg->cur_pass > 2) ||
531 ((1 << (dst - GL_REG_0_ATI)) & curProg->regsAssigned[curProg->cur_pass >> 1])) {
547 if ((curProg->cur_pass == 0) && (interp >= GL_REG_0_ATI)) {
570 curProg->regsAssigned[curProg->cur_pass >> 1] |= 1 << (dst - GL_REG_0_ATI);
574 curI = &curProg->SetupInst[curProg->cur_pass >> 1][dst - GL_REG_0_ATI];
605 if (curProg->cur_pass==0)
606 curProg->cur_pass=1;
608 else if (curProg->cur_pass==2)
609 curProg->cur_pass=3;
614 if (curProg->numArithInstr[curProg->cur_pass >> 1] > 7) {
623 ci = curProg->numArithInstr[curProg->cur_pass >> 1] - 1;
626 curI = &curProg->Instructions[curProg->cur_pass >> 1][ci];