aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-16 22:29:19 +0200
committerMarek Olšák <[email protected]>2010-04-16 22:35:56 +0200
commit47265e69c84c78a68102fa727aa80d63f25c0d46 (patch)
tree5c474d168f1513c4c01e941cc329a2bf0a5e6b1e /src/gallium/drivers/r300
parent862d014ba91f0b959465a48005e94f530f0374a5 (diff)
r300/compiler: make ARB_shadow_ambient optional
This saves constant register space for r300g, which doesn't need this feature.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c6
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 9c4bcfc49b1..19acdaba621 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -157,12 +157,6 @@ static const float * get_rc_constant_state(
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:
vec[0] = viewport->xscale;
vec[1] = viewport->yscale;