From 0df0fc28a5950e94008b8558a09226a45cc71d2a Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 19 Feb 2019 13:32:25 -0500 Subject: [PATCH] freedreno/ir3: rename put_dst() This was overlooked when it moved to ir3_context.c and ceased to be static.. Signed-off-by: Rob Clark --- src/freedreno/ir3/ir3_compiler_nir.c | 14 +++++++------- src/freedreno/ir3/ir3_context.c | 2 +- src/freedreno/ir3/ir3_context.h | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c index 22da1508f8b..8599d910ad3 100644 --- a/src/freedreno/ir3/ir3_compiler_nir.c +++ b/src/freedreno/ir3/ir3_compiler_nir.c @@ -324,7 +324,7 @@ emit_alu(struct ir3_context *ctx, nir_alu_instr *alu) dst[i] = ir3_MOV(b, src[i], TYPE_U32); } - put_dst(ctx, &alu->dest.dest); + ir3_put_dst(ctx, &alu->dest.dest); return; } @@ -344,7 +344,7 @@ emit_alu(struct ir3_context *ctx, nir_alu_instr *alu) } } - put_dst(ctx, &alu->dest.dest); + ir3_put_dst(ctx, &alu->dest.dest); return; } @@ -649,7 +649,7 @@ emit_alu(struct ir3_context *ctx, nir_alu_instr *alu) break; } - put_dst(ctx, &alu->dest.dest); + ir3_put_dst(ctx, &alu->dest.dest); } /* handles direct/indirect UBO reads: */ @@ -1364,7 +1364,7 @@ emit_intrinsic(struct ir3_context *ctx, nir_intrinsic_instr *intr) } if (info->has_dest) - put_dst(ctx, &intr->dest); + ir3_put_dst(ctx, &intr->dest); } static void @@ -1692,7 +1692,7 @@ emit_tex(struct ir3_context *ctx, nir_tex_instr *tex) } } - put_dst(ctx, &tex->dest); + ir3_put_dst(ctx, &tex->dest); } static void @@ -1717,7 +1717,7 @@ emit_tex_query_levels(struct ir3_context *ctx, nir_tex_instr *tex) if (ctx->compiler->levels_add_one) dst[0] = ir3_ADD_U(b, dst[0], 0, create_immed(b, 1), 0); - put_dst(ctx, &tex->dest); + ir3_put_dst(ctx, &tex->dest); } static void @@ -1761,7 +1761,7 @@ emit_tex_txs(struct ir3_context *ctx, nir_tex_instr *tex) } } - put_dst(ctx, &tex->dest); + ir3_put_dst(ctx, &tex->dest); } static void diff --git a/src/freedreno/ir3/ir3_context.c b/src/freedreno/ir3/ir3_context.c index d768c21e6f5..7c35b9ba65f 100644 --- a/src/freedreno/ir3/ir3_context.c +++ b/src/freedreno/ir3/ir3_context.c @@ -242,7 +242,7 @@ ir3_get_src(struct ir3_context *ctx, nir_src *src) } void -put_dst(struct ir3_context *ctx, nir_dest *dst) +ir3_put_dst(struct ir3_context *ctx, nir_dest *dst) { unsigned bit_size = nir_dest_bit_size(*dst); diff --git a/src/freedreno/ir3/ir3_context.h b/src/freedreno/ir3/ir3_context.h index c79ea0ef422..81715f7fa11 100644 --- a/src/freedreno/ir3/ir3_context.h +++ b/src/freedreno/ir3/ir3_context.h @@ -154,7 +154,7 @@ unsigned ir3_pointer_size(struct ir3_context *ctx) struct ir3_instruction ** ir3_get_dst_ssa(struct ir3_context *ctx, nir_ssa_def *dst, unsigned n); struct ir3_instruction ** ir3_get_dst(struct ir3_context *ctx, nir_dest *dst, unsigned n); struct ir3_instruction * const * ir3_get_src(struct ir3_context *ctx, nir_src *src); -void put_dst(struct ir3_context *ctx, nir_dest *dst); +void ir3_put_dst(struct ir3_context *ctx, nir_dest *dst); struct ir3_instruction * ir3_create_collect(struct ir3_context *ctx, struct ir3_instruction *const *arr, unsigned arrsz); void ir3_split_dest(struct ir3_block *block, struct ir3_instruction **dst, -- 2.30.2