cell: set cell->num_textures
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Oct 2008 16:30:12 +0000 (10:30 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Oct 2008 16:30:12 +0000 (10:30 -0600)
src/gallium/drivers/cell/ppu/cell_pipe_state.c

index 1615e0b356cc6707038c50f59379a1c3c5dcaab3..825110c62b703f5b9273021647dc6adeb059de5e 100644 (file)
@@ -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;