diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-22 10:30:12 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-22 10:30:12 -0600 |
commit | 0ae4728eb429d7b5217d34ec96fc973a5e7cfe95 (patch) | |
tree | 8a12d46b53d89d23f2195351fe66749bf63a9de8 /src/gallium | |
parent | 0c1e98d9598bb5a30224583bdf211a1352b96d44 (diff) |
cell: set cell->num_textures
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_pipe_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c index 1615e0b356..825110c62b 100644 --- a/src/gallium/drivers/cell/ppu/cell_pipe_state.c +++ b/src/gallium/drivers/cell/ppu/cell_pipe_state.c @@ -260,6 +260,8 @@ cell_set_sampler_textures(struct pipe_context *pipe, } } + cell->num_textures = num; + if (changed) { cell->dirty |= CELL_NEW_TEXTURE; cell->dirty_textures |= changed; |