nir/spirv: Better document vtn_ssa_value.transposed
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Dec 2015 20:45:13 +0000 (12:45 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Dec 2015 21:49:56 +0000 (13:49 -0800)
src/glsl/nir/spirv_to_nir_private.h

index edc3461b846fdee70131653fbea4ec68cf879d16..6b53fa3bfba3f456993ff4870935787a06773ac9 100644 (file)
@@ -76,8 +76,9 @@ struct vtn_ssa_value {
       struct vtn_ssa_value **elems;
    };
 
-   /* For matrices, a transposed version of the value, or NULL if it hasn't
-    * been computed
+   /* For matrices, if this is non-NULL, then this value is actually the
+    * transpose of some other value.  The value that `transposed` points to
+    * always dominates this value.
     */
    struct vtn_ssa_value *transposed;