diff options
author | Brian <[email protected]> | 2008-04-01 11:35:53 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-04-01 11:35:53 -0600 |
commit | e7b23d36df1ab3ac5b54ef8e4e56c4fd46db8257 (patch) | |
tree | 09ad402fb532af6f6af945db3b26294704074459 /src/gallium/drivers/cell/ppu | |
parent | c14da8f52407529f20f819e31a01356535de0117 (diff) |
cell: checkpoint: more multi-texture work
Diffstat (limited to 'src/gallium/drivers/cell/ppu')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_texture.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_texture.c b/src/gallium/drivers/cell/ppu/cell_texture.c index 9c694e136d8..c59d1f7f231 100644 --- a/src/gallium/drivers/cell/ppu/cell_texture.c +++ b/src/gallium/drivers/cell/ppu/cell_texture.c @@ -245,9 +245,13 @@ void cell_update_texture_mapping(struct cell_context *cell) { uint face = 0, level = 0, zslice = 0; + uint i; + + for (i = 0; i < CELL_MAX_SAMPLERS; i++) { + if (cell->texture[i]) + cell_tile_texture(cell, cell->texture[i]); + } - if (cell->texture[0]) - cell_tile_texture(cell, cell->texture[0]); #if 0 if (cell->tex_surf && cell->tex_map) { pipe_surface_unmap(cell->tex_surf); |