r300g: One less assert.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 9 Feb 2010 21:58:53 +0000 (13:58 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 9 Feb 2010 21:58:53 +0000 (13:58 -0800)
This entire codepath needs to be cleaned to be more pliant towards
shader failure.

src/gallium/drivers/r300/r300_tgsi_to_rc.c

index a88a9477b435b60930721a5b00765f7c30e014ab..1c82fccd9c09429d7c6914c30f62b9b74b020d63 100644 (file)
@@ -146,7 +146,6 @@ static unsigned translate_opcode(unsigned opcode)
     }
 
     debug_printf("r300: Unknown TGSI/RC opcode: %i\n", opcode);
-    assert(0);
     return RC_OPCODE_ILLEGAL_OPCODE;
 }