summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2017-02-24 08:35:39 +0100
committerIago Toral Quiroga <[email protected]>2017-03-02 09:03:42 +0100
commit64bf78270df485fb1ccdf45bd5240fd06f21acac (patch)
treecbeac2045613cf95e1ed98a26aabf7eebaeb25e3 /src/intel/isl
parent3d8feb38e8fdbc05b591164cb934b48a495adfbc (diff)
isl: document the meaning of the array_len field in isl_view
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/isl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 3a2991b2344..9d92906ca71 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -934,6 +934,12 @@ struct isl_view {
* for texturing, they are ignored.
*/
uint32_t base_array_layer;
+
+ /**
+ * Array Length
+ *
+ * Indicates the number of array elements starting at Base Array Layer.
+ */
uint32_t array_len;
struct isl_swizzle swizzle;