aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/spu/spu_main.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-14 12:11:52 -0600
committerBrian Paul <[email protected]>2008-10-14 12:54:30 -0600
commitf8bddf698d523f597fea0f721b064daee81d8005 (patch)
tree788ad495cf57b77835bb9432eb3e6c263f81720d /src/gallium/drivers/cell/spu/spu_main.h
parent3baf83db3c60be8185bc68a0aa3adbce80d9025e (diff)
cell: basic mipmap filtering works now
Though, only GL_MIPMAP_NEAREST / GL_LINEAR works right now.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_main.h')
-rw-r--r--src/gallium/drivers/cell/spu/spu_main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_main.h b/src/gallium/drivers/cell/spu/spu_main.h
index 9515543efe4..cfb645add02 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 unit, uint level,
vector float colors[4]);
@@ -121,6 +121,7 @@ struct spu_texture_level
struct spu_texture
{
struct spu_texture_level level[CELL_MAX_TEXTURE_LEVELS];
+ uint max_level;
} ALIGN16_ATTRIB;