diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-31 17:38:21 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-31 17:38:21 -0600 |
commit | 14452aee73e16f2ede075cf894e69d62cc539f5e (patch) | |
tree | 4ea1379e714057945f357930c955316f5d1e857b /src/gallium/drivers/cell/common.h | |
parent | 84c2821d2a3b0252d6ccdfc88c6acd8f72134ebf (diff) | |
download | external_mesa3d-14452aee73e16f2ede075cf894e69d62cc539f5e.zip external_mesa3d-14452aee73e16f2ede075cf894e69d62cc539f5e.tar.gz external_mesa3d-14452aee73e16f2ede075cf894e69d62cc539f5e.tar.bz2 |
cell: initial work to support multi-texture
Diffstat (limited to 'src/gallium/drivers/cell/common.h')
-rw-r--r-- | src/gallium/drivers/cell/common.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/common.h b/src/gallium/drivers/cell/common.h index c9e873b..298812f 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]; }; |