Home
last modified time | relevance | path

Searched refs:inst_mad (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.c243 struct rc_instruction * inst_mad; in rc_transform_fragment_wpos() local
276 inst_mad = rc_insert_new_instruction(c, inst_mul); in rc_transform_fragment_wpos()
277 inst_mad->U.I.Opcode = RC_OPCODE_MAD; in rc_transform_fragment_wpos()
279 inst_mad->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
280 inst_mad->U.I.DstReg.Index = tempregi; in rc_transform_fragment_wpos()
281 inst_mad->U.I.DstReg.WriteMask = RC_MASK_XYZ; in rc_transform_fragment_wpos()
283 inst_mad->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
284 inst_mad->U.I.SrcReg[0].Index = tempregi; in rc_transform_fragment_wpos()
285 inst_mad->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_XYZ0; in rc_transform_fragment_wpos()
287 inst_mad->U.I.SrcReg[1].File = RC_FILE_CONSTANT; in rc_transform_fragment_wpos()
[all …]
Dradeon_program_tex.c325 struct rc_instruction *inst_mul, *inst_frc, *inst_mad, *inst_add; in radeonTransformTEX() local
348 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 …]