aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2008-05-02 13:56:56 -0400
committerAlex Deucher <[email protected]>2008-05-02 15:13:49 -0400
commit9e7ae34da5aeb9a38c3f4280f6d9648faad48df5 (patch)
tree2ce5da019d15c3f0df2f1c13f3decb55d67f6fb2 /src/mesa/drivers/dri/r300/r300_ioctl.c
parenta94cd0d77407a8cf5c151e1f5135eba5d11fdb2b (diff)
R3/4/5: fix TCL on r5xx, cleanup PVS code
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c
index 03449de9341..530c3711d9e 100644
--- a/src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/src/mesa/drivers/dri/r300/r300_ioctl.c
@@ -236,8 +236,8 @@ static void r300EmitClearState(GLcontext * ctx)
/* R300_VAP_INPUT_CNTL_0, R300_VAP_INPUT_CNTL_1 */
R300_STATECHANGE(r300, vic);
- reg_start(R300_VAP_INPUT_CNTL_0, 1);
- e32(R300_INPUT_CNTL_0_COLOR);
+ reg_start(R300_VAP_VTX_STATE_CNTL, 1);
+ e32((R300_SEL_USER_COLOR_0 << R300_COLOR_0_ASSEMBLY_SHIFT));
e32(R300_INPUT_CNTL_POS | R300_INPUT_CNTL_COLOR | R300_INPUT_CNTL_TC0);
R300_STATECHANGE(r300, vte);