summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/ppu
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-03 08:58:01 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-03 08:58:01 -0700
commitbb55835fc07e4d29e94c7db1e3854a5bd37c8aeb (patch)
treec80d1eb5bc2e0cd97d1a50dcbf739bf89a4e2514 /src/mesa/pipe/cell/ppu
parent5cd96f7684adc7ba52a216fb676c7eb88ba3f66a (diff)
insert a temporary flush to fix missing triangles artifact
Diffstat (limited to 'src/mesa/pipe/cell/ppu')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_render.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_render.c b/src/mesa/pipe/cell/ppu/cell_render.c
index 79aa37ea02..f5a91776a5 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);
}