diff options
author | Michal Krol <michal@tungstengraphics.com> | 2008-07-20 19:29:52 +0200 |
---|---|---|
committer | Michal Krol <michal@tungstengraphics.com> | 2008-07-20 19:29:52 +0200 |
commit | 613f0df64dd2c2db71dd73b595225016ae596576 (patch) | |
tree | 10954a5708de0b8e73381bf2d5d6111ca886ca40 /src | |
parent | 83f245bd242cd2c5f59f072095dcc47aa6153b21 (diff) | |
download | external_mesa3d-613f0df64dd2c2db71dd73b595225016ae596576.zip external_mesa3d-613f0df64dd2c2db71dd73b595225016ae596576.tar.gz external_mesa3d-613f0df64dd2c2db71dd73b595225016ae596576.tar.bz2 |
tgsi: Remove redundant code.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_dump.c | 1 | ||||
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_dump_c.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c index 08d0d52..a9d500c 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c @@ -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; diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump_c.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump_c.c index e7d1079..eabd74b 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_dump_c.c +++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump_c.c @@ -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 ); |