mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 18:30:31 +01:00
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:
parent
09d7f6d64b
commit
efc1c3261a
1 changed files with 0 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue