summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-23 18:34:04 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-23 18:34:04 +0200
commita650d7068a00f0a256ecb54112da0f4ab9204b86 (patch)
treebef59f76175f798248577dfd952256e32510abff /src/gallium/drivers/r300/r300_vs.c
parent7d602b3651d4be18a207d3089fd3aa14eaffe441 (diff)
downloadexternal_mesa3d-a650d7068a00f0a256ecb54112da0f4ab9204b86.zip
external_mesa3d-a650d7068a00f0a256ecb54112da0f4ab9204b86.tar.gz
external_mesa3d-a650d7068a00f0a256ecb54112da0f4ab9204b86.tar.bz2
r300g: extend compile error message
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.c')
-rw-r--r--src/gallium/drivers/r300/r300_vs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c
index ef3af63..6d69bb3 100644
--- a/src/gallium/drivers/r300/r300_vs.c
+++ b/src/gallium/drivers/r300/r300_vs.c
@@ -227,7 +227,8 @@ void r300_translate_vertex_shader(struct r300_context *r300,
if (compiler.Base.Error) {
/* XXX We should fallback using Draw. */
fprintf(stderr, "r300 VP: Compiler error:\n%sUsing a dummy shader"
- " instead.\n", compiler.Base.ErrorMsg);
+ " instead.\nIf there's an 'unknown opcode' message, please"
+ " file a bug report and attach this log.\n", compiler.Base.ErrorMsg);
if (vs->dummy) {
fprintf(stderr, "r300 VP: Cannot compile the dummy shader! "