summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_texture.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2012-11-29 04:08:32 +0100
committerRoland Scheidegger <sroland@vmware.com>2012-11-29 15:30:19 +0100
commit6d50148742512606f2abd76a2dcef6c87a5c7471 (patch)
treeb4462102a3c05026995126a4e10f717923a0eb0b /src/gallium/drivers/llvmpipe/lp_texture.h
parent95e03914d82f4a3722cda00cd6eda54a6f328a73 (diff)
downloadexternal_mesa3d-6d50148742512606f2abd76a2dcef6c87a5c7471.zip
external_mesa3d-6d50148742512606f2abd76a2dcef6c87a5c7471.tar.gz
external_mesa3d-6d50148742512606f2abd76a2dcef6c87a5c7471.tar.bz2
llvmpipe: support array textures
This adds array (1d,2d) texture support to llvmpipe. Though probably should do something about 1d array textures requiring gobs of memory (this issue is not strictly limited to arrays but it is probably worse there). Initial code by Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h
index c2f2ee8..97a5547 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.h
+++ b/src/gallium/drivers/llvmpipe/lp_texture.h
@@ -88,7 +88,7 @@ struct llvmpipe_resource
/** Row stride in bytes */
unsigned row_stride[LP_MAX_TEXTURE_LEVELS];
- /** Image stride (for cube maps or 3D textures) in bytes */
+ /** Image stride (for cube maps, array or 3D textures) in bytes */
unsigned img_stride[LP_MAX_TEXTURE_LEVELS];
unsigned tiles_per_row[LP_MAX_TEXTURE_LEVELS];
unsigned tiles_per_image[LP_MAX_TEXTURE_LEVELS];