r300g: abort if FS compilation fails on non-debug builds
authorMarek Olšák <maraeo@gmail.com>
Sun, 7 Mar 2010 00:12:57 +0000 (01:12 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 7 Mar 2010 00:12:57 +0000 (01:12 +0100)
src/gallium/drivers/r300/r300_fs.c

index 3c2625269b863617025992638f4a5e8d79eb1339..9e71e61c303593efe8f106c1264dafa592f327ef 100644 (file)
@@ -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... */