From bb55835fc07e4d29e94c7db1e3854a5bd37c8aeb Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 3 Jan 2008 08:58:01 -0700 Subject: [PATCH] insert a temporary flush to fix missing triangles artifact --- src/mesa/pipe/cell/ppu/cell_render.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/pipe/cell/ppu/cell_render.c b/src/mesa/pipe/cell/ppu/cell_render.c index 79aa37ea021..f5a91776a52 100644 --- a/src/mesa/pipe/cell/ppu/cell_render.c +++ b/src/mesa/pipe/cell/ppu/cell_render.c @@ -171,6 +171,11 @@ cell_flush_prim_buffer(struct cell_context *cell) cell->prim_buffer.ymin = 1e100; cell->prim_buffer.xmax = -1e100; cell->prim_buffer.ymax = -1e100; + + /* XXX temporary, need to double-buffer the prim buffer until we get + * a real command buffer/list system. + */ + cell_flush(&cell->pipe, 0x0); } -- 2.30.2