Mesa (master): gallium/ttn: Remove duplicated TGSI_OPCODE_DP2A initialization

Eric Anholt anholt at kemper.freedesktop.org
Wed Aug 24 18:54:58 UTC 2016


Module: Mesa
Branch: master
Commit: c9c989763aa7ad636407cb33c27d586e6f559d7a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9c989763aa7ad636407cb33c27d586e6f559d7a

Author: Rhys Kidd <rhyskidd at gmail.com>
Date:   Wed Aug 24 00:13:04 2016 -0400

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 <rhyskidd at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/gallium/auxiliary/nir/tgsi_to_nir.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index 906c643..7f5774d 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,




More information about the mesa-commit mailing list