From: Brian Paul Date: Wed, 22 Oct 2008 16:30:12 +0000 (-0600) Subject: cell: set cell->num_textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ae4728eb429d7b5217d34ec96fc973a5e7cfe95;p=mesa.git cell: set cell->num_textures --- diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c index 1615e0b356c..825110c62b7 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;