isl: Fix the documented units of isl_surf::row_pitch
authorChad Versace <chad.versace@intel.com>
Tue, 5 Jan 2016 22:26:30 +0000 (14:26 -0800)
committerChad Versace <chad.versace@intel.com>
Wed, 6 Jan 2016 17:38:57 +0000 (09:38 -0800)
It's the pitch between surface elements, not between surface samples.

src/isl/isl.h

index 8dbacb6d4e8fc0c95cf680bc13ae580ba9c1029a..15cfd0f4c56899722bca75c1d247e522a4a08d5c 100644 (file)
@@ -747,7 +747,7 @@ struct isl_surf {
    uint32_t alignment;
 
    /**
-    * Pitch between vertically adjacent samples, in bytes.
+    * Pitch between vertically adjacent surface elements, in bytes.
     */
    uint32_t row_pitch;