diff options
author | Brian Paul <[email protected]> | 2008-10-14 17:22:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-14 17:22:40 -0600 |
commit | 41ccdde767e7aba6e8e6a9a035eacd6338c03a95 (patch) | |
tree | f8d4b707305c8c7953a042b99cee975e1df4dfe9 /src/gallium/drivers/cell/ppu | |
parent | 6c017c2c3c3649650cd0dc89a3b4946eab0e5a8c (diff) |
cell: initial bits for 3D texture support
Diffstat (limited to 'src/gallium/drivers/cell/ppu')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_state_emit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_state_emit.c b/src/gallium/drivers/cell/ppu/cell_state_emit.c index d4a867ffcf4..bb694aa1073 100644 --- a/src/gallium/drivers/cell/ppu/cell_state_emit.c +++ b/src/gallium/drivers/cell/ppu/cell_state_emit.c @@ -216,6 +216,7 @@ cell_emit_state(struct cell_context *cell) texture->start[level] = cell->texture[i]->tiled_data[level]; texture->width[level] = cell->texture[i]->base.width[level]; texture->height[level] = cell->texture[i]->base.height[level]; + texture->depth[level] = cell->texture[i]->base.depth[level]; } texture->target = cell->texture[i]->base.target; } @@ -225,6 +226,7 @@ cell_emit_state(struct cell_context *cell) texture->start[level] = NULL; texture->width[level] = 0; texture->height[level] = 0; + texture->depth[level] = 0; } texture->target = 0; } |