treewide: Spell indices correctly
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

LOLed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36184>
This commit is contained in:
Mel Henning 2025-09-08 15:37:28 -04:00 committed by Marge Bot
parent 17876a00af
commit eba08245a8
5 changed files with 7 additions and 7 deletions

View file

@ -26,7 +26,7 @@
*
* Lower image operations by turning the image_deref_* into a image_* on an
* index number or bindless_image_* intrinsic on a load_deref of the previous
* deref source. All applicable indicies are also set so that fetching the
* deref source. All applicable indices are also set so that fetching the
* variable in the backend wouldn't be needed anymore.
*/

View file

@ -157,7 +157,7 @@ calc_dom_children(nir_function_impl *impl)
}
static void
calc_dfs_indicies(nir_block *block, uint32_t *index)
calc_dfs_indices(nir_block *block, uint32_t *index)
{
/* UINT32_MAX has special meaning. See nir_block_dominates. */
assert(*index < UINT32_MAX - 2);
@ -165,7 +165,7 @@ calc_dfs_indicies(nir_block *block, uint32_t *index)
block->dom_pre_index = (*index)++;
for (unsigned i = 0; i < block->num_dom_children; i++)
calc_dfs_indicies(block->dom_children[i], index);
calc_dfs_indices(block->dom_children[i], index);
block->dom_post_index = (*index)++;
}
@ -201,7 +201,7 @@ nir_calc_dominance_impl(nir_function_impl *impl)
calc_dom_children(impl);
uint32_t dfs_index = 1;
calc_dfs_indicies(start_block, &dfs_index);
calc_dfs_indices(start_block, &dfs_index);
}
void

View file

@ -53,7 +53,7 @@ class Intrinsic(object):
- dest_components: number of destination components, -1 means no
dest, 0 means number of components given in num_components field
in nir_intrinsic_instr.
- indices: list of constant indicies
- indices: list of constant indices
- flags: list of semantic flags
- sysval: is this a system-value intrinsic
- bit_sizes: allowed dest bit_sizes or the source it must match

View file

@ -216,7 +216,7 @@ debug_variable_length_prim(struct debug_stream *stream)
len = 1 + (i + 2) / 2;
mesa_logi("3DPRIM, %s variable length %d indicies (%d dwords):", prim, i,
mesa_logi("3DPRIM, %s variable length %d indices (%d dwords):", prim, i,
len);
for (i = 0; i < len; i++)
mesa_logi("\t0x%08x", ptr[i]);

View file

@ -208,7 +208,7 @@ pan_pack_work_groups_compute(struct mali_invocation_packed *out, unsigned num_x,
bool quirk_graphics, bool indirect_dispatch)
{
/* The values needing packing, in order, and the corresponding shifts.
* Indicies into shift are off-by-one to make the logic easier */
* Indices into shift are off-by-one to make the logic easier */
unsigned values[6] = {size_x, size_y, size_z, num_x, num_y, num_z};
unsigned shifts[7] = {0};