diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-10 17:32:08 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-12-10 17:32:43 -0700 |
commit | 7d1894c6558c5cc7f503142cda11b8a12ea24e65 (patch) | |
tree | 0e6bdb0417a0f444f527d2559cc809cab4228703 /src/mesa/pipe/cell/ppu/cell_spu.c | |
parent | aef25b1994cf93aaf64baf24a2ec4e29ee086a08 (diff) |
Cell: first triangle.
This is a feeble first step, but it works.
The cell_clear_surface() function has been hijacked to set up a "draw triangle"
command and send it to all the SPUs.
The Gallium softpipe triangle code was copied to the SPU module and modified.
Only the progs/trivial/clear.c program runs.
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_spu.c')
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_spu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_spu.c b/src/mesa/pipe/cell/ppu/cell_spu.c index ed56250ff1..4f111cd219 100644 --- a/src/mesa/pipe/cell/ppu/cell_spu.c +++ b/src/mesa/pipe/cell/ppu/cell_spu.c @@ -171,20 +171,6 @@ test_spus(struct cell_context *cell) } for (i = 0; i < cell->num_spus; i++) { - send_mbox_message(control_ps_area[i], CELL_CMD_INVERT_TILES); - } - - finish_all(cell->num_spus); - - { - uint *b = (uint*) surf->map; - printf("PPU: Inverted results: 0x%x 0x%x 0x%x 0x%x\n", - b[0], b[1000], b[2000], b[3000]); - } - - - - for (i = 0; i < cell->num_spus; i++) { send_mbox_message(control_ps_area[i], CELL_CMD_EXIT); } } |