diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-11-22 21:33:44 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-11-22 21:33:44 +0000 |
commit | 982ceb6773e2153c1fdc21a016e79c2d94115d76 (patch) | |
tree | a3c94cba9a455a368e5b637df135a36acb049123 | |
parent | 22b74ff2b7995ad9be806695c532a750a102888c (diff) |
fix comments
-rw-r--r-- | src/mesa/shader/slang/slang_assemble_typeinfo.c | 2 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_assemble_typeinfo.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_assemble_typeinfo.c b/src/mesa/shader/slang/slang_assemble_typeinfo.c index f4ee573df7..265e417dad 100644 --- a/src/mesa/shader/slang/slang_assemble_typeinfo.c +++ b/src/mesa/shader/slang/slang_assemble_typeinfo.c @@ -594,7 +594,7 @@ _slang_type_base(slang_type_specifier_type ty) /** - * Return the number of elements in a vector or matrix type + * Return the dimensionality of a vector or matrix type. */ GLuint _slang_type_dim(slang_type_specifier_type ty) diff --git a/src/mesa/shader/slang/slang_assemble_typeinfo.h b/src/mesa/shader/slang/slang_assemble_typeinfo.h index 5d951226a1..777dc21f3a 100644 --- a/src/mesa/shader/slang/slang_assemble_typeinfo.h +++ b/src/mesa/shader/slang/slang_assemble_typeinfo.h @@ -68,8 +68,8 @@ typedef enum slang_type_specifier_type_ typedef struct slang_type_specifier_ { slang_type_specifier_type type; - struct slang_struct_ *_struct; /**< type: spec_struct */ - struct slang_type_specifier_ *_array; /**< type: spec_array */ + struct slang_struct_ *_struct; /**< used if type == spec_struct */ + struct slang_type_specifier_ *_array; /**< used if type == spec_array */ } slang_type_specifier; |