Searched refs:inst_add (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_optimize.c | 470 struct rc_instruction * inst_add, in presub_helper() argument 480 rc_get_readers(c, inst_add, &reader_data, presub_scan_read, NULL, in presub_helper() 494 presub_replace(inst_add, reader.Inst, src_index); in presub_helper() 501 struct rc_instruction * inst_add, in presub_replace_add() argument 510 assert(!(inst_add->U.I.SrcReg[1].Negate && inst_add->U.I.SrcReg[0].Negate)); in presub_replace_add() 512 if (inst_add->U.I.SrcReg[1].Negate || inst_add->U.I.SrcReg[0].Negate) in presub_replace_add() 517 if (inst_add->U.I.SrcReg[1].Negate) { in presub_replace_add() 518 inst_reader->U.I.PreSub.SrcReg[0] = inst_add->U.I.SrcReg[1]; in presub_replace_add() 519 inst_reader->U.I.PreSub.SrcReg[1] = inst_add->U.I.SrcReg[0]; in presub_replace_add() 521 inst_reader->U.I.PreSub.SrcReg[0] = inst_add->U.I.SrcReg[0]; in presub_replace_add() [all …]
|
D | radeon_program_tex.c | 158 struct rc_instruction *inst_mul, *inst_add, *inst_cmp; in radeonTransformTEX() local 205 inst_add = rc_insert_new_instruction(c, inst_mul); in radeonTransformTEX() 206 inst_add->U.I.Opcode = RC_OPCODE_ADD; in radeonTransformTEX() 207 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY; in radeonTransformTEX() 208 inst_add->U.I.DstReg.Index = tmp_sum; in radeonTransformTEX() 209 inst_add->U.I.DstReg.WriteMask = RC_MASK_W; in radeonTransformTEX() 210 inst_add->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in radeonTransformTEX() 211 inst_add->U.I.SrcReg[0].Index = tmp_sum; in radeonTransformTEX() 212 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW; in radeonTransformTEX() 213 inst_add->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; in radeonTransformTEX() [all …]
|
D | radeon_compiler.c | 310 struct rc_instruction *inst_add; in rc_transform_fragment_face() local 314 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions); in rc_transform_fragment_face() 315 inst_add->U.I.Opcode = RC_OPCODE_ADD; in rc_transform_fragment_face() 317 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_face() 318 inst_add->U.I.DstReg.Index = tempregi; in rc_transform_fragment_face() 319 inst_add->U.I.DstReg.WriteMask = RC_MASK_X; in rc_transform_fragment_face() 321 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE; in rc_transform_fragment_face() 322 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111; in rc_transform_fragment_face() 324 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT; in rc_transform_fragment_face() 325 inst_add->U.I.SrcReg[1].Index = face; in rc_transform_fragment_face() [all …]
|