summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_fs.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-03-27 22:25:13 +0100
committerMarek Olšák <maraeo@gmail.com>2010-03-27 22:28:25 +0100
commit4b8d3480764daf45cbbc03d76cd8b7c81937f532 (patch)
treeac0576eefd2d73e8e863b3c69bb0a75088278693 /src/gallium/drivers/r300/r300_fs.c
parent0a82fadcdd0b6ebbc345c7c302da0e0efce40a98 (diff)
r300g: print errors even on non-debug builds
We really need to get these into bug reports.
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.c')
-rw-r--r--src/gallium/drivers/r300/r300_fs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 9e71e61c30..e23fef8c9f 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -204,9 +204,8 @@ static void r300_translate_fragment_shader(
r3xx_compile_fragment_program(&compiler);
if (compiler.Base.Error) {
/* XXX failover maybe? */
- DBG(r300, DBG_FP, "r300: Error compiling fragment program: %s\n",
- compiler.Base.ErrorMsg);
- assert(0);
+ fprintf(stderr, "r300 FP: Compiler Error:\n%s",
+ compiler.Base.ErrorMsg);
abort();
}