summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-04-19 11:44:53 -0700
committerEric Anholt <eric@anholt.net>2013-04-30 10:40:43 -0700
commit0c883e46d871797cd1141498850d51cde6e54b76 (patch)
tree54019d9f77240229e7da69de95be45eb47de4984 /src/mesa/main/texcompress.h
parente7ecc11311d142a8ac919627011372a265224bcd (diff)
downloadexternal_mesa3d-0c883e46d871797cd1141498850d51cde6e54b76.zip
external_mesa3d-0c883e46d871797cd1141498850d51cde6e54b76.tar.gz
external_mesa3d-0c883e46d871797cd1141498850d51cde6e54b76.tar.bz2
swrast: Replace ImageOffsets with an ImageSlices pointer.
This is a step toward allowing drivers to use their normal mapping paths, instead of requiring that all slice mappings come from an aligned offset from the first slice's map. This incidentally fixes missing slice handling in FXT1 swrast. v2: Use slice height helper function. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/texcompress.h')
-rw-r--r--src/mesa/main/texcompress.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/texcompress.h b/src/mesa/main/texcompress.h
index 03e537b..c27fc26 100644
--- a/src/mesa/main/texcompress.h
+++ b/src/mesa/main/texcompress.h
@@ -51,9 +51,8 @@ _mesa_compressed_image_address(GLint col, GLint row, GLint img,
/** A function to fetch one texel from a compressed texture */
typedef void (*compressed_fetch_func)(const GLubyte *map,
- const GLuint imageOffsets[],
GLint rowStride,
- GLint i, GLint j, GLint k,
+ GLint i, GLint j,
GLfloat *texel);
extern compressed_fetch_func