summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2006-07-05 13:28:01 +0000
committerAapo Tahkola <aet@rasterburn.org>2006-07-05 13:28:01 +0000
commit5906acad0850b9d16639e44c290ed029def68204 (patch)
treedbc07a0ec64835e5c10ec89f9b57f4d089f311ae
parent1ff8daf21e570fe9525bc5075ecdd52d424891c8 (diff)
R300_RR_ROUTE_1 still needs to be initialized.
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index 48e86b8d10..4a5943a9f3 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -1317,6 +1317,8 @@ void r300_setup_rs_unit(GLcontext *ctx)
fp_reg = in_texcoords = col_interp_nr = high_rr = 0;
+ r300->hw.rr.cmd[R300_RR_ROUTE_1] = 0;
+
for (i=0;i<ctx->Const.MaxTextureUnits;i++) {
r300->hw.ri.cmd[R300_RI_INTERP_0+i] = 0
| R300_RS_INTERP_USED