From 351866b0328b1d7afdc6b414c77d9ab4da4bd085 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 31 Jan 2007 15:48:52 -0800 Subject: Sync before overwriting Render acceleration state on the 965. --- src/i965_render.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i965_render.c b/src/i965_render.c index 5ff174da..266b461f 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -552,10 +552,10 @@ i965_prepare_composite(int op, PicturePtr pSrcPicture, urb_cs_start = urb_sf_start + urb_sf_size; urb_cs_size = URB_CS_ENTRIES * URB_CS_ENTRY_SIZE; - /* We'll be poking the state buffers that could be in use by the 3d - * hardware here, but we should have synced the 3D engine already in - * I830PutImage. XXX + /* Because we only have a single static buffer for our state currently, + * we have to sync before updating it every time. */ + i830WaitSync(pScrn); memset (cc_viewport, 0, sizeof (*cc_viewport)); cc_viewport->min_depth = -1.e35; -- cgit v1.2.3