From a4af1119f5fb9322e1ddaa4808fed7579a758e4f Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Fri, 28 Oct 2005 09:28:32 +0000 Subject: Compiled arrays for vtxfmt_a path. --- src/mesa/drivers/dri/r300/r300_state.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/r300/r300_state.c') diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 6ab7d97faf..e3aa74b102 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -1257,7 +1257,7 @@ void r300_setup_rs_unit(GLcontext *ctx) r300->hw.rc.cmd[1] = 0 | (cur_reg /* count */ << R300_RS_CNTL_TC_CNT_SHIFT) - | R300_RS_CNTL_0_UNKNOWN_7 + | (1 << R300_RS_CNTL_CI_CNT_SHIFT) | R300_RS_CNTL_0_UNKNOWN_18; if (r300->state.texture.tc_count > 0) { @@ -1867,6 +1867,10 @@ static void r300InvalidateState(GLcontext * ctx, GLuint new_state) /* Go inefficiency! */ r300ResetHwState(r300); +#ifdef HW_VBOS + if(new_state & _NEW_ARRAY) + r300->state.VB.lock_uptodate = GL_FALSE; +#endif } /** -- cgit v1.2.3