From fd249c803e3ae2acb83f5e3b7152728e73228b7b Mon Sep 17 00:00:00 2001 From: Ilia Mirkin <imirkin@alum.mit.edu> Date: Mon, 12 Dec 2016 08:32:38 -0500 Subject: treewide: s/comparitor/comparator/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 <imirkin@alum.mit.edu> Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com> --- src/compiler/glsl/ir_reader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/compiler/glsl/ir_reader.cpp') 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; } -- cgit v1.2.3