Mesa (gallium-0.2): cell: set cell->num_textures
Brian Paul
brianp at kemper.freedesktop.org
Wed Oct 22 17:15:51 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 0ae4728eb429d7b5217d34ec96fc973a5e7cfe95
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ae4728eb429d7b5217d34ec96fc973a5e7cfe95
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Wed Oct 22 10:30:12 2008 -0600
cell: set cell->num_textures
---
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 1615e0b..825110c 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;
More information about the mesa-commit
mailing list