diff options
author | Carl Worth <cworth@cworth.org> | 2008-07-25 15:18:28 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2008-07-31 11:14:25 -0700 |
commit | b3c1a148679a4d943e556f996ef6b9004f549a41 (patch) | |
tree | df2944cd59390f7309442a969f96950a7773d857 | |
parent | 1abf4d3a7a203ff5d6e5ceda29573e7fd69ddf8e (diff) |
Eliminate unnecessary flush from i965_composite
This improves 'x11perf -aa10text' performance from ~144k to ~169k
-rw-r--r-- | src/i965_render.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index 93e28882..6eafd445 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -1447,21 +1447,6 @@ i965_composite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, ErrorF("sync after 3dprimitive\n"); I830Sync(pScrn); #endif - /* we must be sure that the pipeline is flushed before next exa draw, - because that will be new state, binding state and instructions*/ - { - BEGIN_BATCH(4); - OUT_BATCH(BRW_PIPE_CONTROL | - BRW_PIPE_CONTROL_NOWRITE | - BRW_PIPE_CONTROL_WC_FLUSH | - BRW_PIPE_CONTROL_IS_FLUSH | - (1 << 10) | /* XXX texture cache flush for BLC/CTG */ - 2); - OUT_BATCH(0); /* Destination address */ - OUT_BATCH(0); /* Immediate data low DW */ - OUT_BATCH(0); /* Immediate data high DW */ - ADVANCE_BATCH(); - } } /** |