summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/common.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-31 17:38:21 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-31 17:38:21 -0600
commit14452aee73e16f2ede075cf894e69d62cc539f5e (patch)
tree4ea1379e714057945f357930c955316f5d1e857b /src/gallium/drivers/cell/common.h
parent84c2821d2a3b0252d6ccdfc88c6acd8f72134ebf (diff)
cell: initial work to support multi-texture
Diffstat (limited to 'src/gallium/drivers/cell/common.h')
-rw-r--r--src/gallium/drivers/cell/common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/common.h b/src/gallium/drivers/cell/common.h
index c9e873b35c..298812fc20 100644
--- a/src/gallium/drivers/cell/common.h
+++ b/src/gallium/drivers/cell/common.h
@@ -66,6 +66,8 @@
#define CELL_MAX_SPUS 6
+#define CELL_MAX_SAMPLERS 4
+
#define TILE_SIZE 32
@@ -228,8 +230,10 @@ struct cell_command_release_verts
struct cell_command_texture
{
- void *start; /**< Address in main memory */
- uint width, height;
+ struct {
+ void *start; /**< Address in main memory */
+ ushort width, height;
+ } texture[CELL_MAX_SAMPLERS];
};