summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_fs.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-09 17:15:37 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-09 17:18:45 +0200
commit29b7d26401a77ee4f772233b003d942bba59bb63 (patch)
tree86978414b4424eaf2a6b18d662de1ffc36fa8129 /src/gallium/drivers/r300/r300_fs.c
parent2cad5350f9691d4d2c18a637548735925fa0ee97 (diff)
downloadexternal_mesa3d-29b7d26401a77ee4f772233b003d942bba59bb63.zip
external_mesa3d-29b7d26401a77ee4f772233b003d942bba59bb63.tar.gz
external_mesa3d-29b7d26401a77ee4f772233b003d942bba59bb63.tar.bz2
r300g: do not print shader compiler errors by default
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.c')
-rw-r--r--src/gallium/drivers/r300/r300_fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 87ff49a..5c905c1 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -383,7 +383,7 @@ static void r300_translate_fragment_shader(
find_output_registers(&compiler, shader);
if (compiler.Base.Debug) {
- debug_printf("r300: Initial fragment program\n");
+ DBG(r300, DBG_FP, "r300: Initial fragment program\n");
tgsi_dump(tokens, 0);
}
@@ -418,7 +418,7 @@ static void r300_translate_fragment_shader(
}
if (compiler.Base.Error) {
- fprintf(stderr, "r300 FP: Compiler Error:\n%sUsing a dummy shader"
+ DBG(r300, DBG_FP, "r300 FP: Compiler Error:\n%sUsing a dummy shader"
" instead.\nIf there's an 'unknown opcode' message, please"
" file a bug report and attach this log.\n", compiler.Base.ErrorMsg);