diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-14 17:11:29 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-14 17:11:29 -0600 |
commit | 8f7c6b55ae962e30f32cfec9a14a652d3b5b5943 (patch) | |
tree | aa457eab6b4c031888fdefd4f737d42b0e7ef248 /src/gallium/drivers/cell/spu/spu_main.h | |
parent | e0931e520a8d7cc5b4db8a4b887c5cf139b2647f (diff) |
cell: support for cubemaps
Though, progs/demos/cubemap.c doesn't quite work right...
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_main.h')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_main.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_main.h b/src/gallium/drivers/cell/spu/spu_main.h index 45c6f4ced1..8781041bff 100644 --- a/src/gallium/drivers/cell/spu/spu_main.h +++ b/src/gallium/drivers/cell/spu/spu_main.h @@ -68,7 +68,7 @@ typedef void (*spu_sample_texture4_func)(vector float s, vector float t, vector float r, vector float q, - uint unit, uint level, + uint unit, uint level, uint face, vector float colors[4]); @@ -113,6 +113,7 @@ struct spu_texture_level void *start; ushort width, height; ushort tiles_per_row; + uint bytes_per_image; /** texcoord scale factors */ vector float scale_s, scale_t; /** texcoord masks (if REPEAT then size-1, else ~0) */ @@ -126,6 +127,7 @@ struct spu_texture { struct spu_texture_level level[CELL_MAX_TEXTURE_LEVELS]; uint max_level; + uint target; /**< PIPE_TEXTURE_x */ } ALIGN16_ATTRIB; |