diff options
author | Brian Paul <[email protected]> | 2008-10-13 16:43:11 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-13 16:43:36 -0600 |
commit | 978799beb2a9c51550abb1f37bb6f63d06bc4717 (patch) | |
tree | 56e725b9d9f7e9ce03891ff89206aa7bc02cd07a /src/gallium/drivers/cell/spu/spu_main.h | |
parent | b0c136cfb1fcbcea35e17dc699a96acbb24738f5 (diff) |
cell: initial work for mipmap texture filtering
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_main.h')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_main.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_main.h b/src/gallium/drivers/cell/spu/spu_main.h index e3960dbe8b6..9515543efe4 100644 --- a/src/gallium/drivers/cell/spu/spu_main.h +++ b/src/gallium/drivers/cell/spu/spu_main.h @@ -107,7 +107,7 @@ struct spu_framebuffer } ALIGN16_ATTRIB; -struct spu_texture +struct spu_texture_level { void *start; ushort width, height; @@ -118,6 +118,11 @@ struct spu_texture vector unsigned int tex_size_y_mask; /**< splat(height-1) */ } ALIGN16_ATTRIB; +struct spu_texture +{ + struct spu_texture_level level[CELL_MAX_TEXTURE_LEVELS]; +} ALIGN16_ATTRIB; + /** * All SPU global/context state will be in a singleton object of this type: |