diff --git a/src/compiler/glsl/float64.glsl b/src/compiler/glsl/float64.glsl index 64bdbee2421..653a3ca17f9 100644 --- a/src/compiler/glsl/float64.glsl +++ b/src/compiler/glsl/float64.glsl @@ -1616,7 +1616,7 @@ __ftrunc64(uint64_t __a) uint64_t __ffloor64(uint64_t a) { - /* The big assumtion is that when 'a' is NaN, __ftrunc(a) returns a. Based + /* The big assumption is that when 'a' is NaN, __ftrunc(a) returns a. Based * on that assumption, NaN values that don't have the sign bit will safely * return NaN (identity). This is guarded by RELAXED_NAN_PROPAGATION * because otherwise the NaN should have the "signal" bit set. The diff --git a/src/compiler/glsl/lower_jumps.cpp b/src/compiler/glsl/lower_jumps.cpp index fec51f7e7cc..7835bbb4d5e 100644 --- a/src/compiler/glsl/lower_jumps.cpp +++ b/src/compiler/glsl/lower_jumps.cpp @@ -88,7 +88,7 @@ * is not true (since all execution paths through the loop might * jump back to the top, or return from the function). * - * Both of these simplifying assumtions are safe, since they can never + * Both of these simplifying assumptions are safe, since they can never * cause reachable code to be incorrectly classified as unreachable; * they can only do the opposite. */ diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 16ed71d599d..c0a4f5f13c8 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -1192,7 +1192,7 @@ print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state) case nir_rounding_mode_ru: fprintf(fp, "ru"); break; case nir_rounding_mode_rd: fprintf(fp, "rd"); break; case nir_rounding_mode_rtz: fprintf(fp, "rtz"); break; - default: fprintf(fp, "unkown"); break; + default: fprintf(fp, "unknown"); break; } break; } diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index bb166eef32c..27d5ef438cf 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -2671,7 +2671,7 @@ vtn_handle_variables(struct vtn_builder *b, SpvOp opcode, "OpArrayLength must take a pointer to a structure type"); vtn_fail_if(field != ptr->type->length - 1 || ptr->type->members[field]->base_type != vtn_base_type_array, - "OpArrayLength must reference the last memeber of the " + "OpArrayLength must reference the last member of the " "structure and that must be an array"); struct vtn_access_chain chain = { diff --git a/src/freedreno/ir3/ir3_spill.c b/src/freedreno/ir3/ir3_spill.c index b9b1565fe92..475c132f6fa 100644 --- a/src/freedreno/ir3/ir3_spill.c +++ b/src/freedreno/ir3/ir3_spill.c @@ -1935,7 +1935,7 @@ simplify_phi_nodes(struct ir3 *ir) simplify_phi_srcs(instr); } - /* Visit phi nodes in the sucessors to make sure that phi sources are + /* Visit phi nodes in the successors to make sure that phi sources are * always visited at least once after visiting the definition they * point to. See note in simplify_phi_def() for why this is necessary. */ diff --git a/src/gallium/frontends/clover/core/printf.cpp b/src/gallium/frontends/clover/core/printf.cpp index 6a5b7fb5152..5a72fd729fe 100644 --- a/src/gallium/frontends/clover/core/printf.cpp +++ b/src/gallium/frontends/clover/core/printf.cpp @@ -47,7 +47,7 @@ namespace { static std::atomic warn_count; if (buffer.empty() && !warn_count++) - std::cerr << "Printf used but no printf occurred - may cause perfomance issue." << std::endl; + std::cerr << "Printf used but no printf occurred - may cause performance issue." << std::endl; std::vector infos; for (auto &f : formatters) { diff --git a/src/gallium/frontends/rusticl/core/memory.rs b/src/gallium/frontends/rusticl/core/memory.rs index e05f5cda8b9..bb0f4535f28 100644 --- a/src/gallium/frontends/rusticl/core/memory.rs +++ b/src/gallium/frontends/rusticl/core/memory.rs @@ -1277,13 +1277,13 @@ impl Sampler { cl_sampler_addressing_mode::SAMPLER_ADDRESSING_MODE_REPEAT_MIRRORED => { CL_ADDRESS_MIRRORED_REPEAT } - _ => panic!("unkown addressing_mode"), + _ => panic!("unknown addressing_mode"), }; let filter = match filter_mode { cl_sampler_filter_mode::SAMPLER_FILTER_MODE_NEAREST => CL_FILTER_NEAREST, cl_sampler_filter_mode::SAMPLER_FILTER_MODE_LINEAR => CL_FILTER_LINEAR, - _ => panic!("unkown filter_mode"), + _ => panic!("unknown filter_mode"), }; (addr_mode, filter, normalized_coords != 0) @@ -1310,7 +1310,7 @@ impl Sampler { let img_filter = match filter_mode { CL_FILTER_NEAREST => pipe_tex_filter::PIPE_TEX_FILTER_NEAREST, CL_FILTER_LINEAR => pipe_tex_filter::PIPE_TEX_FILTER_LINEAR, - _ => panic!("unkown filter_mode"), + _ => panic!("unknown filter_mode"), }; res.set_min_img_filter(img_filter);