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/nir/nir.h | 4 ++-- src/compiler/nir/nir_lower_tex.c | 2 +- src/compiler/nir/nir_print.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/compiler/nir') diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 544d4baddb0..3040cbd2c36 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1065,7 +1065,7 @@ INTRINSIC_IDX_ACCESSORS(interp_mode, INTERP_MODE, unsigned) typedef enum { nir_tex_src_coord, nir_tex_src_projector, - nir_tex_src_comparitor, /* shadow comparitor */ + nir_tex_src_comparator, /* shadow comparator */ nir_tex_src_offset, nir_tex_src_bias, nir_tex_src_lod, @@ -1263,7 +1263,7 @@ nir_tex_instr_src_type(nir_tex_instr *instr, unsigned src) } case nir_tex_src_projector: - case nir_tex_src_comparitor: + case nir_tex_src_comparator: case nir_tex_src_bias: case nir_tex_src_ddx: case nir_tex_src_ddy: diff --git a/src/compiler/nir/nir_lower_tex.c b/src/compiler/nir/nir_lower_tex.c index 0efd4434f85..39f7af7c582 100644 --- a/src/compiler/nir/nir_lower_tex.c +++ b/src/compiler/nir/nir_lower_tex.c @@ -55,7 +55,7 @@ project_src(nir_builder *b, nir_tex_instr *tex) for (unsigned i = 0; i < tex->num_srcs; i++) { switch (tex->src[i].src_type) { case nir_tex_src_coord: - case nir_tex_src_comparitor: + case nir_tex_src_comparator: break; default: continue; diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index e51b6f53691..8a3d734669a 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -707,8 +707,8 @@ print_tex_instr(nir_tex_instr *instr, print_state *state) case nir_tex_src_projector: fprintf(fp, "(projector)"); break; - case nir_tex_src_comparitor: - fprintf(fp, "(comparitor)"); + case nir_tex_src_comparator: + fprintf(fp, "(comparator)"); break; case nir_tex_src_offset: fprintf(fp, "(offset)"); -- cgit v1.2.3