[virglrenderer-devel] [PATCH 6/8] tgsi: drop unused swizzle/negate variables
Dave Airlie
airlied at gmail.com
Mon May 21 03:07:27 UTC 2018
From: Dave Airlie <airlied at redhat.com>
---
src/gallium/auxiliary/tgsi/tgsi_ureg.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index fdb1bcc..b4423d4 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -1043,8 +1043,6 @@ ureg_insn(struct ureg_program *ureg,
struct ureg_emit_insn_result insn;
unsigned i;
boolean saturate;
- boolean negate = FALSE;
- unsigned swizzle[4] = { 0 };
if (nr_dst && ureg_dst_is_empty(dst[0])) {
return;
@@ -1081,8 +1079,6 @@ ureg_tex_insn(struct ureg_program *ureg,
struct ureg_emit_insn_result insn;
unsigned i;
boolean saturate;
- boolean negate = FALSE;
- unsigned swizzle[4] = { 0 };
if (nr_dst && ureg_dst_is_empty(dst[0])) {
return;
--
2.14.3
More information about the virglrenderer-devel
mailing list