summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-12-23 12:45:13 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2015-12-23 13:49:56 -0800
commit66168a798ba95c606f33a99f569949260dfa5086 (patch)
treed8bf780fb1a0445314e02bbbca2a89efd3fe2fd3 /src
parent3b391892aa5e6af5f1f27ead7a2e09d5c0960ae7 (diff)
downloadexternal_mesa3d-66168a798ba95c606f33a99f569949260dfa5086.zip
external_mesa3d-66168a798ba95c606f33a99f569949260dfa5086.tar.gz
external_mesa3d-66168a798ba95c606f33a99f569949260dfa5086.tar.bz2
nir/spirv: Better document vtn_ssa_value.transposed
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;