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

Author: Marek Olšák <[email protected]>
Date:   Sun Mar  7 01:12:57 2010 +0100

r300g: abort if FS compilation fails on non-debug builds

---

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

diff --git a/src/gallium/drivers/r300/r300_fs.c 
b/src/gallium/drivers/r300/r300_fs.c
index 3c26252..9e71e61 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -207,6 +207,7 @@ static void r300_translate_fragment_shader(
         DBG(r300, DBG_FP, "r300: Error compiling fragment program: %s\n",
             compiler.Base.ErrorMsg);
         assert(0);
+        abort();
     }
 
     /* And, finally... */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to