diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-03 07:49:59 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-03 07:49:59 -0700 |
commit | 5cd96f7684adc7ba52a216fb676c7eb88ba3f66a (patch) | |
tree | 48a36245e27aef167d49fc47ae8474a257f17c62 /src/mesa/pipe/cell/spu/main.c | |
parent | 7aee3eff18decd6ce46f63a44c9a531414565265 (diff) |
pass surface format in cell_command_framebuffer struct
Diffstat (limited to 'src/mesa/pipe/cell/spu/main.c')
-rw-r--r-- | src/mesa/pipe/cell/spu/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/cell/spu/main.c b/src/mesa/pipe/cell/spu/main.c index 94f13029ff..02b23866a5 100644 --- a/src/mesa/pipe/cell/spu/main.c +++ b/src/mesa/pipe/cell/spu/main.c @@ -285,10 +285,12 @@ main_loop(void) exitFlag = 1; break; case CELL_CMD_FRAMEBUFFER: - printf("SPU %u: FRAMEBUFFER: %d x %d at %p\n", init.id, + printf("SPU %u: FRAMEBUFFER: %d x %d at %p, format 0x%x\n", init.id, cmd.fb.width, cmd.fb.height, - cmd.fb.start); + cmd.fb.start, + cmd.fb.format); + fb.format = cmd.fb.format; fb.width = cmd.fb.width; fb.height = cmd.fb.height; fb.width_tiles = (fb.width + TILE_SIZE - 1) / TILE_SIZE; |