summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_limits.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2012-11-29 04:08:32 +0100
committerRoland Scheidegger <[email protected]>2012-11-29 15:30:19 +0100
commit6d50148742512606f2abd76a2dcef6c87a5c7471 (patch)
treeb4462102a3c05026995126a4e10f717923a0eb0b /src/gallium/drivers/llvmpipe/lp_limits.h
parent95e03914d82f4a3722cda00cd6eda54a6f328a73 (diff)
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 <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_limits.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_limits.h b/src/gallium/drivers/llvmpipe/lp_limits.h
index 3be24d6d648..bb8f20820d0 100644
--- a/src/gallium/drivers/llvmpipe/lp_limits.h
+++ b/src/gallium/drivers/llvmpipe/lp_limits.h
@@ -47,6 +47,7 @@
#define LP_MAX_TEXTURE_2D_LEVELS 14 /* 8K x 8K for now */
#define LP_MAX_TEXTURE_3D_LEVELS 11 /* 1K x 1K x 1K for now */
#define LP_MAX_TEXTURE_CUBE_LEVELS 13 /* 4K x 4K for now */
+#define LP_MAX_TEXTURE_ARRAY_LAYERS 512 /* 8K x 512 / 8K x 8K x 512 */
/** This must be the larger of LP_MAX_TEXTURE_2D/3D_LEVELS */