diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 75da5ce43cb..0402c1c87d0 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -4388,7 +4388,7 @@ bool nir_opt_simplify_convert_alu_types(nir_shader *shader); bool nir_lower_convert_alu_types(nir_shader *shader, bool (*should_lower)(nir_intrinsic_instr *)); bool nir_lower_constant_convert_alu_types(nir_shader *shader); -bool nir_lower_alu_covnersion_to_intrinsic(nir_shader *shader); +bool nir_lower_alu_conversion_to_intrinsic(nir_shader *shader); bool nir_lower_int_to_float(nir_shader *shader); bool nir_lower_load_const_to_scalar(nir_shader *shader); bool nir_lower_read_invocation_to_scalar(nir_shader *shader); diff --git a/src/compiler/nir/nir_lower_convert_alu_types.c b/src/compiler/nir/nir_lower_convert_alu_types.c index 0e94949cef8..ef00011032d 100644 --- a/src/compiler/nir/nir_lower_convert_alu_types.c +++ b/src/compiler/nir/nir_lower_convert_alu_types.c @@ -199,7 +199,7 @@ lower_alu_conversion(nir_builder *b, nir_instr *instr, UNUSED void *_data) } bool -nir_lower_alu_covnersion_to_intrinsic(nir_shader *shader) +nir_lower_alu_conversion_to_intrinsic(nir_shader *shader) { return nir_shader_lower_instructions(shader, is_alu_conversion, lower_alu_conversion, NULL);