diff options
author | Brian Paul <[email protected]> | 2008-10-14 12:11:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-14 12:54:30 -0600 |
commit | f8bddf698d523f597fea0f721b064daee81d8005 (patch) | |
tree | 788ad495cf57b77835bb9432eb3e6c263f81720d /src/gallium/drivers/cell/spu/spu_main.h | |
parent | 3baf83db3c60be8185bc68a0aa3adbce80d9025e (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.h | 3 |
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; |