Searched refs:inst_mad (Results 1 – 2 of 2) sorted by relevance
325 struct rc_instruction *inst_mul, *inst_frc, *inst_mad, *inst_add; in radeonTransformTEX() local348 inst_mad = rc_insert_new_instruction(c, inst->Prev); in radeonTransformTEX()350 inst_mad->U.I.Opcode = RC_OPCODE_MAD; in radeonTransformTEX()351 inst_mad->U.I.DstReg.File = RC_FILE_TEMPORARY; in radeonTransformTEX()352 inst_mad->U.I.DstReg.Index = temp; in radeonTransformTEX()353 inst_mad->U.I.DstReg.WriteMask = RC_MASK_XYZ; in radeonTransformTEX()354 inst_mad->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in radeonTransformTEX()355 inst_mad->U.I.SrcReg[0].Index = temp; in radeonTransformTEX()356 inst_mad->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_XYZ0; in radeonTransformTEX()357 inst_mad->U.I.SrcReg[1].File = RC_FILE_CONSTANT; in radeonTransformTEX()[all …]
241 struct rc_instruction * inst_mad; in rc_transform_fragment_wpos() local274 inst_mad = rc_insert_new_instruction(c, inst_mul); in rc_transform_fragment_wpos()275 inst_mad->U.I.Opcode = RC_OPCODE_MAD; in rc_transform_fragment_wpos()277 inst_mad->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()278 inst_mad->U.I.DstReg.Index = tempregi; in rc_transform_fragment_wpos()279 inst_mad->U.I.DstReg.WriteMask = RC_MASK_XYZ; in rc_transform_fragment_wpos()281 inst_mad->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()282 inst_mad->U.I.SrcReg[0].Index = tempregi; in rc_transform_fragment_wpos()283 inst_mad->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_XYZ0; in rc_transform_fragment_wpos()285 inst_mad->U.I.SrcReg[1].File = RC_FILE_CONSTANT; in rc_transform_fragment_wpos()[all …]