diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-03 09:40:02 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-03 09:40:02 -0700 |
commit | 4ff6367295bc266cf1e3390570c9aee50fe716a0 (patch) | |
tree | 1bc19ebc25dd83fffc430b0e7fdfb6e82d15f322 /src/mesa/pipe/cell/ppu/cell_surface.c | |
parent | 9b598df95ebe99d9aaf2043ce8786847978de4aa (diff) |
Cell: improve surface state code to replace some temporary code.
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_surface.c')
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_surface.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_surface.c b/src/mesa/pipe/cell/ppu/cell_surface.c index 5fa37dd2cd..62e0febc0c 100644 --- a/src/mesa/pipe/cell/ppu/cell_surface.c +++ b/src/mesa/pipe/cell/ppu/cell_surface.c @@ -55,16 +55,17 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps, printf("Cell: Skipping non 32bpp clear_surface\n"); return; } - +#if 0 for (i = 0; i < cell->num_spus; i++) { struct cell_command_framebuffer *fb = &cell_global.command[i].fb; printf("%s %u start = 0x%x\n", __FUNCTION__, i, ps->map); - fb->start = ps->map; + fb->color_start = ps->map; fb->width = ps->width; fb->height = ps->height; - fb->format = ps->format; + fb->color_format = ps->format; send_mbox_message(cell_global.spe_contexts[i], CELL_CMD_FRAMEBUFFER); } +#endif for (i = 0; i < cell->num_spus; i++) { #if 1 |