tgsi: drop unused swizzle/negate variables

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
macos/master
Dave Airlie 7 years ago
parent c96011d2ac
commit f4c56d624f
  1. 4
      src/gallium/auxiliary/tgsi/tgsi_ureg.c

@ -1043,8 +1043,6 @@ ureg_insn(struct ureg_program *ureg,
struct ureg_emit_insn_result insn; struct ureg_emit_insn_result insn;
unsigned i; unsigned i;
boolean saturate; boolean saturate;
boolean negate = FALSE;
unsigned swizzle[4] = { 0 };
if (nr_dst && ureg_dst_is_empty(dst[0])) { if (nr_dst && ureg_dst_is_empty(dst[0])) {
return; return;
@ -1081,8 +1079,6 @@ ureg_tex_insn(struct ureg_program *ureg,
struct ureg_emit_insn_result insn; struct ureg_emit_insn_result insn;
unsigned i; unsigned i;
boolean saturate; boolean saturate;
boolean negate = FALSE;
unsigned swizzle[4] = { 0 };
if (nr_dst && ureg_dst_is_empty(dst[0])) { if (nr_dst && ureg_dst_is_empty(dst[0])) {
return; return;

Loading…
Cancel
Save