R300_RR_ROUTE_1 still needs to be initialized.
authorAapo Tahkola <aet@rasterburn.org>
Wed, 5 Jul 2006 13:28:01 +0000 (13:28 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Wed, 5 Jul 2006 13:28:01 +0000 (13:28 +0000)
src/mesa/drivers/dri/r300/r300_state.c

index 48e86b8d10da8abbc909c684f79d9e7234a09ede..4a5943a9f3406597ac81f8ec14aac8e83d79b438 100644 (file)
@@ -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