summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_reader.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-12-12 08:32:38 -0500
committerIlia Mirkin <[email protected]>2016-12-12 22:13:07 -0500
commitfd249c803e3ae2acb83f5e3b7152728e73228b7b (patch)
tree1cb8addbe0c75545a5524ed6364835abd8d7dfce /src/compiler/glsl/ir_reader.cpp
parenta0ce9ff8c49c03d8e952c26ac3e9274ac2f24c8c (diff)
treewide: s/comparitor/comparator/
git grep -l comparitor | xargs sed -i 's/comparitor/comparator/g' Just happened to notice this in a patch that was sent and included one of the tokens in question. Signed-off-by: Ilia Mirkin <[email protected]> Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_reader.cpp')
-rw-r--r--src/compiler/glsl/ir_reader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/glsl/ir_reader.cpp b/src/compiler/glsl/ir_reader.cpp
index d67d1436a4e..6d3d0481779 100644
--- a/src/compiler/glsl/ir_reader.cpp
+++ b/src/compiler/glsl/ir_reader.cpp
@@ -1047,11 +1047,11 @@ ir_reader::read_texture(s_expression *expr)
}
if (s_shadow->subexpressions.is_empty()) {
- tex->shadow_comparitor = NULL;
+ tex->shadow_comparator = NULL;
} else {
- tex->shadow_comparitor = read_rvalue(s_shadow);
- if (tex->shadow_comparitor == NULL) {
- ir_read_error(NULL, "when reading shadow comparitor in (%s ..)",
+ tex->shadow_comparator = read_rvalue(s_shadow);
+ if (tex->shadow_comparator == NULL) {
+ ir_read_error(NULL, "when reading shadow comparator in (%s ..)",
tex->opcode_string());
return NULL;
}