gallium/ttn: Remove duplicated TGSI_OPCODE_DP2A initialization
authorRhys Kidd <rhyskidd@gmail.com>
Wed, 24 Aug 2016 04:13:04 +0000 (00:13 -0400)
committerEric Anholt <eric@anholt.net>
Wed, 24 Aug 2016 18:54:50 +0000 (11:54 -0700)
Duplicate line is currently on 1535.

Identified by Clang, when run through Eric Anholt's Travis harness.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c

index 906c643..7f5774d 100644 (file)
@@ -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,