Searched refs:inst_rcp (Results 1 – 2 of 2) sorted by relevance
84 struct rc_instruction *inst_mul, *inst_rcp; in projective_divide() local88 inst_rcp = rc_insert_new_instruction(&compiler->Base, inst->Prev); in projective_divide()89 inst_rcp->U.I.Opcode = RC_OPCODE_RCP; in projective_divide()90 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in projective_divide()91 inst_rcp->U.I.DstReg.Index = temp; in projective_divide()92 inst_rcp->U.I.DstReg.WriteMask = RC_MASK_W; in projective_divide()93 inst_rcp->U.I.SrcReg[0] = inst->U.I.SrcReg[0]; in projective_divide()96 inst_rcp->U.I.SrcReg[0].Swizzle = in projective_divide()158 struct rc_instruction * inst_rcp = NULL; in radeonTransformTEX() local179 inst_rcp = rc_insert_new_instruction(c, inst); in radeonTransformTEX()[all …]
241 struct rc_instruction * inst_rcp; in rc_transform_fragment_wpos() local250 inst_rcp = rc_insert_new_instruction(c, &c->Program.Instructions); in rc_transform_fragment_wpos()251 inst_rcp->U.I.Opcode = RC_OPCODE_RCP; in rc_transform_fragment_wpos()253 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()254 inst_rcp->U.I.DstReg.Index = tempregi; in rc_transform_fragment_wpos()255 inst_rcp->U.I.DstReg.WriteMask = RC_MASK_W; in rc_transform_fragment_wpos()257 inst_rcp->U.I.SrcReg[0].File = RC_FILE_INPUT; in rc_transform_fragment_wpos()258 inst_rcp->U.I.SrcReg[0].Index = new_input; in rc_transform_fragment_wpos()259 inst_rcp->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW; in rc_transform_fragment_wpos()261 inst_mul = rc_insert_new_instruction(c, inst_rcp); in rc_transform_fragment_wpos()