aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-07-29 13:52:25 -0700
committerEric Anholt <[email protected]>2010-07-29 14:02:19 -0700
commit62c4763b707e2227409f81b09dd5cf6e4410ea6a (patch)
treeed084a0aca6eddd3df297b9c8c14b2ced7e7b7f8 /src/glsl/ir.cpp
parentfa33d0b85403da94e3f4a7e6c868af215c076b4b (diff)
glsl2: Fix spelling of "sentinel."
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r--src/glsl/ir.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index bb58d956243..7178c68e6bd 100644
--- a/src/glsl/ir.cpp
+++ b/src/glsl/ir.cpp
@@ -295,7 +295,7 @@ ir_constant::ir_constant(const struct glsl_type *type, exec_list *value_list)
*/
for (unsigned i = 0; i < type->components(); /* empty */) {
assert(value->as_constant() != NULL);
- assert(!value->is_tail_sentinal());
+ assert(!value->is_tail_sentinel());
for (unsigned j = 0; j < value->type->components(); j++) {
switch (type->base_type) {
@@ -433,7 +433,7 @@ ir_constant::get_record_field(const char *name)
/* If the end of the list is encountered before the element matching the
* requested field is found, return NULL.
*/
- if (node->is_tail_sentinal())
+ if (node->is_tail_sentinel())
return NULL;
}
@@ -459,8 +459,8 @@ ir_constant::has_value(const ir_constant *c) const
const exec_node *a_node = this->components.head;
const exec_node *b_node = c->components.head;
- while (!a_node->is_tail_sentinal()) {
- assert(!b_node->is_tail_sentinal());
+ while (!a_node->is_tail_sentinel()) {
+ assert(!b_node->is_tail_sentinel());
const ir_constant *const a_field = (ir_constant *) a_node;
const ir_constant *const b_field = (ir_constant *) b_node;