diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-06 15:57:19 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-06 15:59:29 +0000 |
commit | 084ae43110240c582ae7cd6452966dd9f22350fa (patch) | |
tree | 086b7520c38e4aab0c3e4b43d15c5f4f72ec2175 | |
parent | f3a47d7f235d18e4529e3898a48673c7c3cbd489 (diff) |
snb: Restore drawrect, we need the implicit flush
Something is wrong, we should be tracking when to invalidate the caches
as appropriate, yet I can not finding the missing flush to replace the
implicit one of DRAW_RECTANGLE.
Fixes cacomposite.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/i965_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index 8574c8e6..d5ad0b3f 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -2454,7 +2454,8 @@ gen6_composite_drawing_rectangle(intel_screen_private *intel, DRAW_YMAX(dest->drawable.height - 1) | DRAW_XMAX(dest->drawable.width - 1); - if (intel->gen6_render_state.drawrect == dw) + /* XXX cacomposite depends upon the implicit non-pipelined flush */ + if (0 && intel->gen6_render_state.drawrect == dw) return; intel->gen6_render_state.drawrect = dw; |