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()157 struct rc_instruction * inst_rcp = NULL; in radeonTransformTEX() local178 inst_rcp = rc_insert_new_instruction(c, inst); in radeonTransformTEX()[all …]
225 struct rc_instruction * inst_rcp; in rc_transform_fragment_wpos() local234 inst_rcp = rc_insert_new_instruction(c, &c->Program.Instructions); in rc_transform_fragment_wpos()235 inst_rcp->U.I.Opcode = RC_OPCODE_RCP; in rc_transform_fragment_wpos()237 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()238 inst_rcp->U.I.DstReg.Index = tempregi; in rc_transform_fragment_wpos()239 inst_rcp->U.I.DstReg.WriteMask = RC_MASK_W; in rc_transform_fragment_wpos()241 inst_rcp->U.I.SrcReg[0].File = RC_FILE_INPUT; in rc_transform_fragment_wpos()242 inst_rcp->U.I.SrcReg[0].Index = new_input; in rc_transform_fragment_wpos()243 inst_rcp->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW; in rc_transform_fragment_wpos()245 inst_mul = rc_insert_new_instruction(c, inst_rcp); in rc_transform_fragment_wpos()