From: Jason Ekstrand Date: Wed, 23 Dec 2015 20:45:13 +0000 (-0800) Subject: nir/spirv: Better document vtn_ssa_value.transposed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66168a798ba95c606f33a99f569949260dfa5086;p=mesa.git nir/spirv: Better document vtn_ssa_value.transposed --- diff --git a/src/glsl/nir/spirv_to_nir_private.h b/src/glsl/nir/spirv_to_nir_private.h index edc3461b846..6b53fa3bfba 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;