summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/cell/ppu/cell_flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_flush.c')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_flush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_flush.c b/src/mesa/pipe/cell/ppu/cell_flush.c
index b1ff0e51cd4..47003bef184 100644
--- a/src/mesa/pipe/cell/ppu/cell_flush.c
+++ b/src/mesa/pipe/cell/ppu/cell_flush.c
@@ -29,6 +29,7 @@
#include "cell_context.h"
#include "cell_flush.h"
#include "cell_spu.h"
+#include "cell_render.h"
void
@@ -39,6 +40,8 @@ cell_flush(struct pipe_context *pipe, unsigned flags)
printf("%s\n", __FUNCTION__);
+ cell_flush_prim_buffer(cell);
+
/* Send CMD_FINISH to all SPUs */
for (i = 0; i < cell->num_spus; i++) {
send_mbox_message(cell_global.spe_contexts[i], CELL_CMD_FINISH);