r300g: Fix comment on SHADOW_AMBIENT.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 30 Jan 2010 20:23:24 +0000 (12:23 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 30 Jan 2010 20:23:24 +0000 (12:23 -0800)
src/gallium/drivers/r300/r300_emit.c

index 9e81356..a429457 100644 (file)
@@ -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;