Mesa (master): r300g: Don't handle SHADOW_AMBIENT.

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


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

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

r300g: Don't handle SHADOW_AMBIENT.

Bisected so that only this commit has to be reverted if I'm wrong.

...Pfft, like I'm ever wrong. :3

---

 src/gallium/drivers/r300/r300_emit.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index a429457..04001ee 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -170,12 +170,6 @@ static const float * get_shader_constant(
                     vec[1] = 1.0 / tex->height0;
                     break;
 
-                /* 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;
-
                 case RC_STATE_R300_VIEWPORT_SCALE:
                     if (r300->tcl_bypass) {
                         vec[0] = 1;




More information about the mesa-commit mailing list