Mesa (master): r300g: when printing shader linker errors to stderr, report it's not a bug

Marek Olšák mareko at kemper.freedesktop.org
Sat Feb 12 22:40:31 UTC 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Feb 12 23:38:00 2011 +0100

r300g: when printing shader linker errors to stderr, report it's not a bug

---

 src/gallium/drivers/r300/r300_state_derived.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index 41b57b5..d715dd8 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -489,7 +489,8 @@ static void r300_update_rs_block(struct r300_context *r300)
     for (; i < ATTR_GENERIC_COUNT; i++) {
         if (fs_inputs->generic[i] != ATTR_UNUSED) {
             fprintf(stderr, "r300: ERROR: FS input generic %i unassigned, "
-                    "not enough hardware slots.\n", i);
+                    "not enough hardware slots (it's not a bug, do not "
+                    "report it).\n", i);
         }
     }
 
@@ -524,7 +525,8 @@ static void r300_update_rs_block(struct r300_context *r300)
                 DBG(r300, DBG_RS, "r300: FS input fog unassigned.\n");
             } else {
                 fprintf(stderr, "r300: ERROR: FS input fog unassigned, "
-                        "not enough hardware slots.\n");
+                        "not enough hardware slots. (it's not a bug, "
+                        "do not report it)\n");
             }
         }
     }
@@ -551,7 +553,8 @@ static void r300_update_rs_block(struct r300_context *r300)
     } else {
         if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) {
             fprintf(stderr, "r300: ERROR: FS input WPOS unassigned, "
-                    "not enough hardware slots.\n");
+                    "not enough hardware slots. (it's not a bug, do not "
+                    "report it)\n");
         }
     }
 




More information about the mesa-commit mailing list