Lines Matching refs:curI
447 struct atifs_setupinst *curI; in _mesa_PassTexCoordATI() local
501 curI = &curProg->SetupInst[curProg->cur_pass >> 1][dst - GL_REG_0_ATI]; in _mesa_PassTexCoordATI()
503 curI->Opcode = ATI_FRAGMENT_SHADER_PASS_OP; in _mesa_PassTexCoordATI()
504 curI->src = coord; in _mesa_PassTexCoordATI()
505 curI->swizzle = swizzle; in _mesa_PassTexCoordATI()
519 struct atifs_setupinst *curI; in _mesa_SampleMapATI() local
574 curI = &curProg->SetupInst[curProg->cur_pass >> 1][dst - GL_REG_0_ATI]; in _mesa_SampleMapATI()
576 curI->Opcode = ATI_FRAGMENT_SHADER_SAMPLE_OP; in _mesa_SampleMapATI()
577 curI->src = interp; in _mesa_SampleMapATI()
578 curI->swizzle = swizzle; in _mesa_SampleMapATI()
597 struct atifs_instruction *curI; in _mesa_FragmentOpXATI() local
626 curI = &curProg->Instructions[curProg->cur_pass >> 1][ci]; in _mesa_FragmentOpXATI()
646 if (((op == GL_DOT2_ADD_ATI) && (curI->Opcode[0] != GL_DOT2_ADD_ATI)) || in _mesa_FragmentOpXATI()
647 ((op == GL_DOT3_ATI) && (curI->Opcode[0] != GL_DOT3_ATI)) || in _mesa_FragmentOpXATI()
648 ((op == GL_DOT4_ATI) && (curI->Opcode[0] != GL_DOT4_ATI)) || in _mesa_FragmentOpXATI()
649 ((op != GL_DOT4_ATI) && (curI->Opcode[0] == GL_DOT4_ATI))) { in _mesa_FragmentOpXATI()
683 curI->Opcode[optype] = op; in _mesa_FragmentOpXATI()
684 curI->SrcReg[optype][0].Index = arg1; in _mesa_FragmentOpXATI()
685 curI->SrcReg[optype][0].argRep = arg1Rep; in _mesa_FragmentOpXATI()
686 curI->SrcReg[optype][0].argMod = arg1Mod; in _mesa_FragmentOpXATI()
687 curI->ArgCount[optype] = arg_count; in _mesa_FragmentOpXATI()
690 curI->SrcReg[optype][1].Index = arg2; in _mesa_FragmentOpXATI()
691 curI->SrcReg[optype][1].argRep = arg2Rep; in _mesa_FragmentOpXATI()
692 curI->SrcReg[optype][1].argMod = arg2Mod; in _mesa_FragmentOpXATI()
696 curI->SrcReg[optype][2].Index = arg3; in _mesa_FragmentOpXATI()
697 curI->SrcReg[optype][2].argRep = arg3Rep; in _mesa_FragmentOpXATI()
698 curI->SrcReg[optype][2].argMod = arg3Mod; in _mesa_FragmentOpXATI()
701 curI->DstReg[optype].Index = dst; in _mesa_FragmentOpXATI()
702 curI->DstReg[optype].dstMod = dstMod; in _mesa_FragmentOpXATI()
703 curI->DstReg[optype].dstMask = dstMask; in _mesa_FragmentOpXATI()