From: Rhys Kidd Date: Wed, 24 Aug 2016 04:13:04 +0000 (-0400) Subject: gallium/ttn: Remove duplicated TGSI_OPCODE_DP2A initialization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9c989763aa7ad636407cb33c27d586e6f559d7a;p=mesa.git gallium/ttn: Remove duplicated TGSI_OPCODE_DP2A initialization Duplicate line is currently on 1535. Identified by Clang, when run through Eric Anholt's Travis harness. Signed-off-by: Rhys Kidd Reviewed-by: Eric Anholt --- diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 906c6436faf..7f5774dcfa8 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -1575,7 +1575,6 @@ static const nir_op op_trans[TGSI_OPCODE_LAST] = { [TGSI_OPCODE_TXB] = 0, [TGSI_OPCODE_DIV] = nir_op_fdiv, [TGSI_OPCODE_DP2] = 0, - [TGSI_OPCODE_DP2A] = 0, [TGSI_OPCODE_TXL] = 0, [TGSI_OPCODE_BRK] = 0,