diff options
author | Marc-André Lureau <[email protected]> | 2017-02-09 18:36:32 +0400 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-02-10 12:46:23 +1000 |
commit | bd1cab1168b30502c8371a3e837b4fc2e39c23bf (patch) | |
tree | 580d99cb6cc159f3f3767fc80ba18d9f2c28a6d3 /src/gallium/auxiliary | |
parent | e5a5d17d1363fe9b00cee93a5c7bc98b134f235b (diff) |
tgsi: remove ureg_label_insn
Unused since commit 2897cb3dba9287011f9c43cd2f214100952370c0.
Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 31 | ||||
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.h | 7 |
2 files changed, 0 insertions, 38 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 196a893b759..8d1b6cc7da4 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 51f69853b7e..99908d9ce05 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, |