summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/common.h
diff options
context:
space:
mode:
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];
};