treewide: spelling fixes

Debian's lintian tool flagged some spelling issues:
assumtion -> assumption
unkown -> unknown
memeber -> member
sucess -> success
perfomance -> performance

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23618>
This commit is contained in:
Diederik de Haas 2023-06-13 12:00:33 +02:00 committed by Marge Bot
parent a13ac83f1b
commit 231fa269ea
7 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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.
*/

View file

@ -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;
}

View file

@ -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 = {

View file

@ -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.
*/

View file

@ -47,7 +47,7 @@ namespace {
static std::atomic<unsigned> 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<u_printf_info> infos;
for (auto &f : formatters) {

View file

@ -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);