nir/print: Drop legacy NIR
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24432>
This commit is contained in:
committed by
Marge Bot
parent
09d7f6d64b
commit
efc1c3261a
@@ -406,11 +406,6 @@ print_alu_src(nir_alu_instr *instr, unsigned src, print_state *state)
|
||||
{
|
||||
FILE *fp = state->fp;
|
||||
|
||||
if (instr->src[src].negate)
|
||||
fprintf(fp, "-");
|
||||
if (instr->src[src].abs)
|
||||
fprintf(fp, "abs(");
|
||||
|
||||
const nir_op_info *info = &nir_op_infos[instr->op];
|
||||
print_src(&instr->src[src].src, state, info->input_types[src]);
|
||||
|
||||
@@ -440,9 +435,6 @@ print_alu_src(nir_alu_instr *instr, unsigned src, print_state *state)
|
||||
fprintf(fp, "%c", comp_mask_string(live_channels)[instr->src[src].swizzle[i]]);
|
||||
}
|
||||
}
|
||||
|
||||
if (instr->src[src].abs)
|
||||
fprintf(fp, ")");
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user