diff options
author | Dave Airlie <airlied@redhat.com> | 2009-02-26 11:08:14 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-26 11:08:14 +1000 |
commit | bc5f94c1e1fddcf2b2a50972cb96e2593b288994 (patch) | |
tree | 488145f034bcfea4999d4d6884697da87c20dd44 /src/mesa/drivers/dri/r300/r300_ioctl.c | |
parent | 199867bd4585036f19e219562c22a9b499a7b0d2 (diff) |
r300: don't flush VAP too often.
Flush the VAP the first time for each state atom we upload new
VAP data
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_ioctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c index 5e3e529bff..619d268f38 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.c +++ b/src/mesa/drivers/dri/r300/r300_ioctl.c @@ -528,6 +528,8 @@ static void r300EmitClearState(GLcontext * ctx) PVS_SRC_SELECT_FORCE_0, PVS_SRC_REG_INPUT, VSF_FLAG_NONE); vpu.cmd[8] = 0x0; + + r300->vap_flush_needed = GL_TRUE; emit_vpu(ctx, &vpu); } } |