From 66168a798ba95c606f33a99f569949260dfa5086 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 23 Dec 2015 12:45:13 -0800 Subject: [PATCH] nir/spirv: Better document vtn_ssa_value.transposed --- src/glsl/nir/spirv_to_nir_private.h | 5 +++-- 1 file 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 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; -- 2.30.2