Mesa (master): nir: some comment fixups

Rob Clark robclark at kemper.freedesktop.org
Fri Sep 18 00:27:04 UTC 2015


Module: Mesa
Branch: master
Commit: ba78260b0fbd291618df63bc7a54be0a36148b40
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba78260b0fbd291618df63bc7a54be0a36148b40

Author: Rob Clark <robclark at freedesktop.org>
Date:   Thu Sep 17 18:18:19 2015 -0400

nir: some comment fixups

Signed-off-by: Rob Clark <robclark at freedesktop.org>
Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>

---

 src/glsl/nir/nir.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 9162267..9c091e8 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1455,13 +1455,13 @@ typedef struct nir_shader_compiler_options {
 } nir_shader_compiler_options;
 
 typedef struct nir_shader {
-   /** hash table of name -> uniform nir_variable */
+   /** list of uniforms (nir_variable) */
    struct exec_list uniforms;
 
-   /** hash table of name -> input nir_variable */
+   /** list of inputs (nir_variable) */
    struct exec_list inputs;
 
-   /** hash table of name -> output nir_variable */
+   /** list of outputs (nir_variable) */
    struct exec_list outputs;
 
    /** Set of driver-specific options for the shader.
@@ -1471,10 +1471,10 @@ typedef struct nir_shader {
     */
    const struct nir_shader_compiler_options *options;
 
-   /** list of global variables in the shader */
+   /** list of global variables in the shader (nir_variable) */
    struct exec_list globals;
 
-   /** list of system value variables in the shader */
+   /** list of system value variables in the shade (nir_variable) */
    struct exec_list system_values;
 
    struct exec_list functions; /** < list of nir_function */




More information about the mesa-commit mailing list