Mesa (master): r300g: One less assert.

Corbin Simpson csimpson at kemper.freedesktop.org
Tue Feb 9 22:00:42 UTC 2010


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

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Tue Feb  9 13:58:53 2010 -0800

r300g: One less assert.

This entire codepath needs to be cleaned to be more pliant towards
shader failure.

---

 src/gallium/drivers/r300/r300_tgsi_to_rc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.c b/src/gallium/drivers/r300/r300_tgsi_to_rc.c
index a88a947..1c82fcc 100644
--- a/src/gallium/drivers/r300/r300_tgsi_to_rc.c
+++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.c
@@ -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;
 }
 




More information about the mesa-commit mailing list