Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_tex.c84 struct rc_instruction *inst_mul, *inst_rcp; in projective_divide() local
88 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() local
179 inst_rcp = rc_insert_new_instruction(c, inst); in radeonTransformTEX()
[all …]
Dradeon_compiler.c239 struct rc_instruction * inst_rcp; in rc_transform_fragment_wpos() local
248 inst_rcp = rc_insert_new_instruction(c, &c->Program.Instructions); in rc_transform_fragment_wpos()
249 inst_rcp->U.I.Opcode = RC_OPCODE_RCP; in rc_transform_fragment_wpos()
251 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
252 inst_rcp->U.I.DstReg.Index = tempregi; in rc_transform_fragment_wpos()
253 inst_rcp->U.I.DstReg.WriteMask = RC_MASK_W; in rc_transform_fragment_wpos()
255 inst_rcp->U.I.SrcReg[0].File = RC_FILE_INPUT; in rc_transform_fragment_wpos()
256 inst_rcp->U.I.SrcReg[0].Index = new_input; in rc_transform_fragment_wpos()
257 inst_rcp->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW; in rc_transform_fragment_wpos()
259 inst_mul = rc_insert_new_instruction(c, inst_rcp); in rc_transform_fragment_wpos()