From fd249c803e3ae2acb83f5e3b7152728e73228b7b Mon Sep 17 00:00:00 2001 From: Ilia Mirkin 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 Acked-by: Nicolai Hähnle --- src/compiler/glsl/glsl_to_nir.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/compiler/glsl/glsl_to_nir.cpp') diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 18a53b607e6..fcaca9f8b6c 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -1898,7 +1898,7 @@ nir_visitor::visit(ir_texture *ir) if (ir->projector != NULL) num_srcs++; - if (ir->shadow_comparitor != NULL) + if (ir->shadow_comparator != NULL) num_srcs++; if (ir->offset != NULL) num_srcs++; @@ -1946,10 +1946,10 @@ nir_visitor::visit(ir_texture *ir) src_number++; } - if (ir->shadow_comparitor != NULL) { + if (ir->shadow_comparator != NULL) { instr->src[src_number].src = - nir_src_for_ssa(evaluate_rvalue(ir->shadow_comparitor)); - instr->src[src_number].src_type = nir_tex_src_comparitor; + nir_src_for_ssa(evaluate_rvalue(ir->shadow_comparator)); + instr->src[src_number].src_type = nir_tex_src_comparator; src_number++; } -- cgit v1.2.3