summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2004-11-02 13:06:45 +0000
committerNicolai Haehnle <[email protected]>2004-11-02 13:06:45 +0000
commit2302cc1a25f7ab55b7e7d6647175308cd64ab7f1 (patch)
tree8ece05fc8a5c48d3f0c4927f081a8a54f2dea4da /src/mesa/drivers/dri/r300/r300_ioctl.c
parentb187341e63f417c191b5d13be6b76cbd63555802 (diff)
No visible changes, but commit the groundwork for further experiments:
- Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c
index f6a3d8140c1..63a7d540e44 100644
--- a/src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/src/mesa/drivers/dri/r300/r300_ioctl.c
@@ -171,7 +171,7 @@ static void r300ClearBuffer(r300ContextPtr r300, int flags, int buffer)
R300_STATECHANGE(r300, zc);
if (flags & CLEARBUFFER_DEPTH) {
r300->hw.zc.cmd[R300_ZC_CNTL_0] = 0x6; // test and write
- r300->hw.zc.cmd[R300_ZC_CNTL_1] = R300_RB3D_Z_TEST_ALWAYS;
+ r300->hw.zc.cmd[R300_ZC_CNTL_1] = R300_Z_TEST_ALWAYS;
/*
R300_STATECHANGE(r300, zb);
r300->hw.zb.cmd[R300_ZB_OFFSET] =