diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-27 17:08:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-27 17:08:03 +1000 |
commit | 4af22c9076954d544417e615561695695773708d (patch) | |
tree | 680c745a7a6199f9e7ddc040646219e173508cf1 /src/mesa/drivers/dri/r300/r300_ioctl.c | |
parent | 8eb7df63029ebc7c30c67c0266d727f9c240b402 (diff) |
r300/r500: emit flush inside vap_cntl state atom
Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
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 cc85d45efc..b0225453d3 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.c +++ b/src/mesa/drivers/dri/r300/r300_ioctl.c @@ -412,6 +412,8 @@ static void r300EmitClearState(GLcontext * ctx) R500_ALU_RGBA_A_SWIZ_0); } + reg_start(R300_VAP_PVS_STATE_FLUSH_REG, 0); + e32(0x00000000); if (has_tcl) { vap_cntl = ((10 << R300_PVS_NUM_SLOTS_SHIFT) | (5 << R300_PVS_NUM_CNTLRS_SHIFT) | |