[Mesa-dev] [PATCH] tgsi: remove ureg_label_insn
Marek Olšák
maraeo at gmail.com
Fri Feb 10 10:25:03 UTC 2017
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Thu, Feb 9, 2017 at 3:36 PM, <marcandre.lureau at redhat.com> wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
>
> Unused since commit 2897cb3dba9287011f9c43cd2f214100952370c0.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
> src/gallium/auxiliary/tgsi/tgsi_ureg.c | 31 -------------------------------
> src/gallium/auxiliary/tgsi/tgsi_ureg.h | 7 -------
> 2 files changed, 38 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> index 196a893b75..8d1b6cc7da 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> @@ -1488,37 +1488,6 @@ ureg_tex_insn(struct ureg_program *ureg,
>
>
> void
> -ureg_label_insn(struct ureg_program *ureg,
> - unsigned opcode,
> - const struct ureg_src *src,
> - unsigned nr_src,
> - unsigned *label_token )
> -{
> - struct ureg_emit_insn_result insn;
> - unsigned i;
> -
> - insn = ureg_emit_insn(ureg,
> - opcode,
> - FALSE,
> - FALSE,
> - FALSE,
> - TGSI_SWIZZLE_X,
> - TGSI_SWIZZLE_Y,
> - TGSI_SWIZZLE_Z,
> - TGSI_SWIZZLE_W,
> - 0,
> - nr_src);
> -
> - ureg_emit_label( ureg, insn.extended_token, label_token );
> -
> - for (i = 0; i < nr_src; i++)
> - ureg_emit_src( ureg, src[i] );
> -
> - ureg_fixup_insn_size( ureg, insn.insn_token );
> -}
> -
> -
> -void
> ureg_memory_insn(struct ureg_program *ureg,
> unsigned opcode,
> const struct ureg_dst *dst,
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
> index 51f69853b7..99908d9ce0 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
> @@ -571,13 +571,6 @@ ureg_tex_insn(struct ureg_program *ureg,
>
>
> void
> -ureg_label_insn(struct ureg_program *ureg,
> - unsigned opcode,
> - const struct ureg_src *src,
> - unsigned nr_src,
> - unsigned *label);
> -
> -void
> ureg_memory_insn(struct ureg_program *ureg,
> unsigned opcode,
> const struct ureg_dst *dst,
> --
> 2.11.0.295.gd7dffce1c.dirty
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list