summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-22 21:33:44 +0000
committerBrian Paul <[email protected]>2006-11-22 21:33:44 +0000
commit982ceb6773e2153c1fdc21a016e79c2d94115d76 (patch)
treea3c94cba9a455a368e5b637df135a36acb049123 /src/mesa
parent22b74ff2b7995ad9be806695c532a750a102888c (diff)
fix comments
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_assemble_typeinfo.c2
-rw-r--r--src/mesa/shader/slang/slang_assemble_typeinfo.h4
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 f4ee573df73..265e417dadd 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 5d951226a1e..777dc21f3a7 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;