isl: document the meaning of the array_len field in isl_view
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 24 Feb 2017 07:35:39 +0000 (08:35 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 2 Mar 2017 08:03:42 +0000 (09:03 +0100)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/isl.h

index 3a2991b2344d9620d59bf4eec9a3b873f39598cc..9d92906ca71a197ce02b83663d72660663911a3c 100644 (file)
@@ -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;