Lines Matching refs:curI
432 struct atifs_setupinst *curI; in _mesa_PassTexCoordATI() local
487 curI = &curProg->SetupInst[curProg->cur_pass >> 1][dst - GL_REG_0_ATI]; in _mesa_PassTexCoordATI()
489 curI->Opcode = ATI_FRAGMENT_SHADER_PASS_OP; in _mesa_PassTexCoordATI()
490 curI->src = coord; in _mesa_PassTexCoordATI()
491 curI->swizzle = swizzle; in _mesa_PassTexCoordATI()
505 struct atifs_setupinst *curI; in _mesa_SampleMapATI() local
561 curI = &curProg->SetupInst[curProg->cur_pass >> 1][dst - GL_REG_0_ATI]; in _mesa_SampleMapATI()
563 curI->Opcode = ATI_FRAGMENT_SHADER_SAMPLE_OP; in _mesa_SampleMapATI()
564 curI->src = interp; in _mesa_SampleMapATI()
565 curI->swizzle = swizzle; in _mesa_SampleMapATI()
584 struct atifs_instruction *curI; in _mesa_FragmentOpXATI() local
615 curI = &curProg->Instructions[new_pass >> 1][ci]; in _mesa_FragmentOpXATI()
635 if (((op == GL_DOT2_ADD_ATI) && (curI->Opcode[0] != GL_DOT2_ADD_ATI)) || in _mesa_FragmentOpXATI()
636 ((op == GL_DOT3_ATI) && (curI->Opcode[0] != GL_DOT3_ATI)) || in _mesa_FragmentOpXATI()
637 ((op == GL_DOT4_ATI) && (curI->Opcode[0] != GL_DOT4_ATI)) || in _mesa_FragmentOpXATI()
638 ((op != GL_DOT4_ATI) && (curI->Opcode[0] == GL_DOT4_ATI))) { in _mesa_FragmentOpXATI()
689 curI->Opcode[optype] = op; in _mesa_FragmentOpXATI()
690 curI->SrcReg[optype][0].Index = arg1; in _mesa_FragmentOpXATI()
691 curI->SrcReg[optype][0].argRep = arg1Rep; in _mesa_FragmentOpXATI()
692 curI->SrcReg[optype][0].argMod = arg1Mod; in _mesa_FragmentOpXATI()
693 curI->ArgCount[optype] = arg_count; in _mesa_FragmentOpXATI()
696 curI->SrcReg[optype][1].Index = arg2; in _mesa_FragmentOpXATI()
697 curI->SrcReg[optype][1].argRep = arg2Rep; in _mesa_FragmentOpXATI()
698 curI->SrcReg[optype][1].argMod = arg2Mod; in _mesa_FragmentOpXATI()
702 curI->SrcReg[optype][2].Index = arg3; in _mesa_FragmentOpXATI()
703 curI->SrcReg[optype][2].argRep = arg3Rep; in _mesa_FragmentOpXATI()
704 curI->SrcReg[optype][2].argMod = arg3Mod; in _mesa_FragmentOpXATI()
707 curI->DstReg[optype].Index = dst; in _mesa_FragmentOpXATI()
708 curI->DstReg[optype].dstMod = dstMod; in _mesa_FragmentOpXATI()
709 curI->DstReg[optype].dstMask = dstMask; in _mesa_FragmentOpXATI()