Lines Matching refs:dstReg
667 struct prog_dst_register *dstReg) in Parse_CondCodeMask() argument
670 dstReg->CondMask = COND_EQ; in Parse_CondCodeMask()
672 dstReg->CondMask = COND_GE; in Parse_CondCodeMask()
674 dstReg->CondMask = COND_GT; in Parse_CondCodeMask()
676 dstReg->CondMask = COND_LE; in Parse_CondCodeMask()
678 dstReg->CondMask = COND_LT; in Parse_CondCodeMask()
680 dstReg->CondMask = COND_NE; in Parse_CondCodeMask()
682 dstReg->CondMask = COND_TR; in Parse_CondCodeMask()
684 dstReg->CondMask = COND_FL; in Parse_CondCodeMask()
699 dstReg->CondSwizzle = MAKE_SWIZZLE4(swz[0], swz[1], swz[2], swz[3]); in Parse_CondCodeMask()
863 struct prog_dst_register *dstReg) in Parse_MaskedDstReg() argument
875 dstReg->File = PROGRAM_WRITE_ONLY; in Parse_MaskedDstReg()
878 dstReg->Index = idx; in Parse_MaskedDstReg()
882 dstReg->File = PROGRAM_TEMPORARY; in Parse_MaskedDstReg()
885 dstReg->Index = idx; in Parse_MaskedDstReg()
889 dstReg->File = PROGRAM_OUTPUT; in Parse_MaskedDstReg()
892 dstReg->Index = idx; in Parse_MaskedDstReg()
906 dstReg->WriteMask = 0; in Parse_MaskedDstReg()
909 dstReg->WriteMask |= WRITEMASK_X; in Parse_MaskedDstReg()
913 dstReg->WriteMask |= WRITEMASK_Y; in Parse_MaskedDstReg()
917 dstReg->WriteMask |= WRITEMASK_Z; in Parse_MaskedDstReg()
921 dstReg->WriteMask |= WRITEMASK_W; in Parse_MaskedDstReg()
930 dstReg->WriteMask = WRITEMASK_XYZW; in Parse_MaskedDstReg()
937 if (!Parse_CondCodeMask(parseState, dstReg)) in Parse_MaskedDstReg()
947 dstReg->CondMask = COND_TR; in Parse_MaskedDstReg()
948 dstReg->CondSwizzle = SWIZZLE_NOOP; in Parse_MaskedDstReg()