summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/nir/spirv_to_nir_private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glsl/nir/spirv_to_nir_private.h b/src/glsl/nir/spirv_to_nir_private.h
index edc3461..6b53fa3 100644
--- a/src/glsl/nir/spirv_to_nir_private.h
+++ b/src/glsl/nir/spirv_to_nir_private.h
@@ -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;