summaryrefslogtreecommitdiff
path: root/src/glsl/ir_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/ir_function.cpp
parentfa33d0b85403da94e3f4a7e6c868af215c076b4b (diff)
glsl2: Fix spelling of "sentinel."
Diffstat (limited to 'src/glsl/ir_function.cpp')
-rw-r--r--src/glsl/ir_function.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glsl/ir_function.cpp b/src/glsl/ir_function.cpp
index 28a5c399f1..0a97e01424 100644
--- a/src/glsl/ir_function.cpp
+++ b/src/glsl/ir_function.cpp
@@ -94,13 +94,13 @@ parameter_lists_match(const exec_list *list_a, const exec_list *list_b)
int total_score = 0;
for (/* empty */
- ; !node_a->is_tail_sentinal()
+ ; !node_a->is_tail_sentinel()
; node_a = node_a->next, node_b = node_b->next) {
/* If all of the parameters from the other parameter list have been
* exhausted, the lists have different length and, by definition,
* do not match.
*/
- if (node_b->is_tail_sentinal())
+ if (node_b->is_tail_sentinel())
return -1;
@@ -151,7 +151,7 @@ parameter_lists_match(const exec_list *list_a, const exec_list *list_b)
* exhausted, the lists have different length and, by definition, do not
* match.
*/
- if (!node_b->is_tail_sentinal())
+ if (!node_b->is_tail_sentinel())
return -1;
return total_score;
@@ -192,7 +192,7 @@ parameter_lists_match_exact(const exec_list *list_a, const exec_list *list_b)
const exec_node *node_b = list_b->head;
for (/* empty */
- ; !node_a->is_tail_sentinal() && !node_b->is_tail_sentinal()
+ ; !node_a->is_tail_sentinel() && !node_b->is_tail_sentinel()
; node_a = node_a->next, node_b = node_b->next) {
ir_variable *a = (ir_variable *) node_a;
ir_variable *b = (ir_variable *) node_b;
@@ -207,7 +207,7 @@ parameter_lists_match_exact(const exec_list *list_a, const exec_list *list_b)
/* Unless both lists are exhausted, they differ in length and, by
* definition, do not match.
*/
- return (node_a->is_tail_sentinal() == node_b->is_tail_sentinal());
+ return (node_a->is_tail_sentinel() == node_b->is_tail_sentinel());
}
ir_function_signature *