summaryrefslogtreecommitdiff
path: root/src/glsl/ast_function.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-29 13:52:25 -0700
committerEric Anholt <eric@anholt.net>2010-07-29 14:02:19 -0700
commit62c4763b707e2227409f81b09dd5cf6e4410ea6a (patch)
treeed084a0aca6eddd3df297b9c8c14b2ced7e7b7f8 /src/glsl/ast_function.cpp
parentfa33d0b85403da94e3f4a7e6c868af215c076b4b (diff)
glsl2: Fix spelling of "sentinel."
Diffstat (limited to 'src/glsl/ast_function.cpp')
-rw-r--r--src/glsl/ast_function.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index bb45e2530d..bbc3bc1a59 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -398,7 +398,7 @@ constant_record_constructor(const glsl_type *constructor_type,
for (unsigned i = 0; i < constructor_type->length; i++) {
ir_instruction *ir = (ir_instruction *) node;
- if (node->is_tail_sentinal()) {
+ if (node->is_tail_sentinel()) {
_mesa_glsl_error(loc, state,
"insufficient parameters to constructor for `%s'",
constructor_type->name);
@@ -531,7 +531,7 @@ single_scalar_parameter(exec_list *parameters)
const ir_rvalue *const p = (ir_rvalue *) parameters->head;
assert(((ir_rvalue *)p)->as_rvalue() != NULL);
- return (p->type->is_scalar() && p->next->is_tail_sentinal());
+ return (p->type->is_scalar() && p->next->is_tail_sentinel());
}
@@ -763,7 +763,7 @@ emit_inline_matrix_constructor(const glsl_type *type,
* identity matrix. If a matrix argument is given to a matrix
* constructor, it is an error to have any other arguments."
*/
- assert(first_param->next->is_tail_sentinal());
+ assert(first_param->next->is_tail_sentinel());
ir_rvalue *const src_matrix = first_param;
/* If the source matrix is smaller, pre-initialize the relavent parts of