Browse Source

Revert "r300g: Don't handle SHADOW_AMBIENT."

This reverts commit 627a45848f.

I was wrong. Who could have known? :3
tags/7.8-rc1
Corbin Simpson 15 years ago
parent
commit
a794c660d3
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/gallium/drivers/r300/r300_emit.c

+ 6
- 0
src/gallium/drivers/r300/r300_emit.c View File

@@ -170,6 +170,12 @@ 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;

Loading…
Cancel
Save