tgsi: Remove redundant code.
authorMichal Krol <michal@tungstengraphics.com>
Sun, 20 Jul 2008 17:29:52 +0000 (19:29 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sun, 20 Jul 2008 17:29:52 +0000 (19:29 +0200)
src/gallium/auxiliary/tgsi/util/tgsi_dump.c
src/gallium/auxiliary/tgsi/util/tgsi_dump_c.c

index 08d0d52..a9d500c 100644 (file)
@@ -536,7 +536,6 @@ tgsi_dump(
    /* sanity checks */
    assert( strcmp( opcode_names[TGSI_OPCODE_CONT], "CONT" ) == 0 );
    assert( strcmp( opcode_names[TGSI_OPCODE_END], "END" ) == 0 );
-   assert( strcmp( opcode_names[TGSI_OPCODE_END], "END" ) == 0 );
 
    ctx.iter.prolog = prolog;
    ctx.iter.iterate_instruction = iter_instruction;
index e7d1079..eabd74b 100644 (file)
@@ -773,7 +773,6 @@ tgsi_dump_c(
    /* sanity checks */
    assert(strcmp(TGSI_OPCODES[TGSI_OPCODE_CONT], "OPCODE_CONT") == 0);
    assert(strcmp(TGSI_OPCODES[TGSI_OPCODE_END], "OPCODE_END") == 0);
-   assert(strcmp(TGSI_OPCODES[TGSI_OPCODE_END], "OPCODE_END") == 0);
 
    tgsi_parse_init( &parse, tokens );