From: Aapo Tahkola Date: Wed, 5 Jul 2006 13:28:01 +0000 (+0000) Subject: R300_RR_ROUTE_1 still needs to be initialized. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5906acad0850b9d16639e44c290ed029def68204;p=mesa.git R300_RR_ROUTE_1 still needs to be initialized. --- diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 48e86b8d10d..4a5943a9f34 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;iConst.MaxTextureUnits;i++) { r300->hw.ri.cmd[R300_RI_INTERP_0+i] = 0 | R300_RS_INTERP_USED