Mesa (master): r300g: Fix comment on SHADOW_AMBIENT.

Corbin Simpson csimpson at kemper.freedesktop.org
Sat Jan 30 20:37:08 UTC 2010


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

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sat Jan 30 12:23:24 2010 -0800

r300g: Fix comment on SHADOW_AMBIENT.

---

 src/gallium/drivers/r300/r300_emit.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 9e81356..a429457 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -170,9 +170,8 @@ static const float * get_shader_constant(
                     vec[1] = 1.0 / tex->height0;
                     break;
 
-                /* Texture compare-fail value. */
-                /* XXX Since Gallium doesn't support GL_ARB_shadow_ambient,
-                 * this is always (0,0,0,0), right? */
+                /* Texture compare-fail value. Shouldn't ever show up, but if
+                 * it does, we'll be ready. */
                 case RC_STATE_SHADOW_AMBIENT:
                     vec[3] = 0;
                     break;




More information about the mesa-commit mailing list