Searched refs:inst_cmp (Results 1 – 2 of 2) sorted by relevance
183 struct rc_instruction * inst_cmp = rc_insert_new_instruction(s->C, inst_endif); in inject_cmp() local184 inst_cmp->U.I.Opcode = RC_OPCODE_CMP; in inject_cmp()185 inst_cmp->U.I.DstReg.File = file; in inject_cmp()186 inst_cmp->U.I.DstReg.Index = index; in inject_cmp()187 inst_cmp->U.I.DstReg.WriteMask = RC_MASK_XYZW; in inject_cmp()188 inst_cmp->U.I.SrcReg[0] = inst_if->U.I.SrcReg[0]; in inject_cmp()189 inst_cmp->U.I.SrcReg[0].Abs = 1; in inject_cmp()190 inst_cmp->U.I.SrcReg[0].Negate = RC_MASK_XYZW; in inject_cmp()191 inst_cmp->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; in inject_cmp()192 inst_cmp->U.I.SrcReg[1].Index = ifproxy.Proxied ? ifproxy.Index : index; in inject_cmp()[all …]
159 struct rc_instruction *inst_mul, *inst_add, *inst_cmp; in radeonTransformTEX() local244 inst_cmp = rc_insert_new_instruction(c, inst_add); in radeonTransformTEX()245 inst_cmp->U.I.Opcode = RC_OPCODE_CMP; in radeonTransformTEX()246 inst_cmp->U.I.SaturateMode = saturate_mode; in radeonTransformTEX()247 inst_cmp->U.I.DstReg = output_reg; in radeonTransformTEX()248 inst_cmp->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in radeonTransformTEX()249 inst_cmp->U.I.SrcReg[0].Index = tmp_sum; in radeonTransformTEX()250 inst_cmp->U.I.SrcReg[0].Swizzle = in radeonTransformTEX()253 inst_cmp->U.I.SrcReg[pass] = shadow_pass_value(compiler, inst->U.I.TexSrcUnit); in radeonTransformTEX()254 inst_cmp->U.I.SrcReg[fail] = shadow_fail_value(compiler, inst->U.I.TexSrcUnit); in radeonTransformTEX()