summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/ppu/cell_spu.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-23 16:17:49 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-23 16:17:49 -0700
commitf19b2d72214fe4354d1e123ebe892255a11525c3 (patch)
treecb05a438d7acfbbf67e85586c7586e12190d8539 /src/mesa/pipe/cell/ppu/cell_spu.c
parent8de2331e432e2ea6f978acb6c80666da99c6c4a1 (diff)
Cell: asst. updates to sync up with today's earlier gallium changes
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_spu.c')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_spu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_spu.c b/src/mesa/pipe/cell/ppu/cell_spu.c
index a21ab9ff3a..5a52af1f47 100644
--- a/src/mesa/pipe/cell/ppu/cell_spu.c
+++ b/src/mesa/pipe/cell/ppu/cell_spu.c
@@ -163,14 +163,14 @@ test_spus(struct cell_context *cell)
{
uint i;
struct pipe_surface *csurf = cell->framebuffer.cbufs[0];
- struct pipe_surface *zsurf = cell->framebuffer.zbuf;
+ struct pipe_surface *zsurf = cell->framebuffer.zsbuf;
printf("PPU: sleep(2)\n\n\n");
sleep(2);
for (i = 0; i < cell->num_spus; i++) {
cell_global.command[i].fb.color_start = cell->cbuf_map[0];
- cell_global.command[i].fb.depth_start = cell->zbuf_map;
+ cell_global.command[i].fb.depth_start = cell->zsbuf_map;
cell_global.command[i].fb.width = csurf->width;
cell_global.command[i].fb.height = csurf->height;
cell_global.command[i].fb.color_format = PIPE_FORMAT_A8R8G8B8_UNORM;