summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-03-22 11:00:25 +1000
committerDave Airlie <airlied@redhat.com>2008-03-22 11:00:25 +1000
commit9566cf0e2f326d8fe638748d0bc10626e8c0387e (patch)
tree6c74c15f56d50db783f91c0a3582827f347bdff1
parent4feac4e40e08d95c4549ef28ad89cc4d3d8f74a7 (diff)
r500: fixup fake shader to keep gears going
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index 26cf4605ff..d74d673f36 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -2325,7 +2325,7 @@ static void r500SetupPixelShader(r300ContextPtr rmesa)
/* emit the standard zero shader */
R300_STATECHANGE(rmesa, r500fp);
i = 1;
- rmesa->hw.r500fp.cmd[i++] = 0x7807;
+ rmesa->hw.r500fp.cmd[i++] = 0x7808;
rmesa->hw.r500fp.cmd[i++] = R500_TEX_ID(0) | R500_TEX_INST_LD | R500_TEX_SEM_ACQUIRE | R500_TEX_IGNORE_UNCOVERED;
rmesa->hw.r500fp.cmd[i++] = R500_TEX_SRC_ADDR(0) | R500_TEX_SRC_S_SWIZ_R |
R500_TEX_SRC_T_SWIZ_G |