r600: fix typos

No functional changes intended.

Acked-by: Gert Wollny <gert.wollny@collabora.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28395>
This commit is contained in:
David Heidelberg 2024-03-25 02:14:01 +01:00 committed by Marge Bot
parent fd3d125343
commit e2bcbcd24f
7 changed files with 7 additions and 7 deletions

View file

@ -1112,7 +1112,7 @@ static void r600_get_hw_query_params(struct r600_common_context *rctx,
params->start_offset = 0;
params->end_offset = 16;
/* We can re-use the high dword of the last 64-bit value as a
/* We can reuse the high dword of the last 64-bit value as a
* fence: it is initialized as 0, and the high bit is set by
* the write of the streamout stats event.
*/

View file

@ -376,7 +376,7 @@ struct ruvd_msg {
uint32_t dt_chroma_bottom_offset;
uint32_t dt_surf_tile_config;
uint32_t dt_uv_surf_tile_config;
// re-use dt_wa_chroma_top_offset as dt_ext_info for UV pitch in stoney
// reuse dt_wa_chroma_top_offset as dt_ext_info for UV pitch in stoney
uint32_t dt_wa_chroma_top_offset;
uint32_t dt_wa_chroma_bottom_offset;

View file

@ -121,7 +121,7 @@ public:
virtual void update_indirect_addr(PRegister old_reg, PRegister addr) {
(void)old_reg;
(void)addr;
unreachable("Instruction type has no indirect addess");
unreachable("Instruction type has no indirect address");
};
const InstrList& required_instr() const { return m_required_instr; }

View file

@ -134,7 +134,7 @@ IfInstr::is_equal_to(const IfInstr& rhs) const
uint32_t IfInstr::slots() const
{
/* If we hava a literal value in the predicate evaluation, then
/* If we have a literal value in the predicate evaluation, then
* we need at most two alu slots, otherwise it's just one. */
for (auto s : m_predicate->sources())
if (s->as_literal())

View file

@ -135,7 +135,7 @@ private:
static const int block_id_not_unique = -1;
static const int block_id_uninitalized = 0;
/* A bit field tracking the nexting levels of if-else clauses where the
/* A bit field tracking the nesting levels of if-else clauses where the
* temporary has (so far) been written to in the if branch, but not in the
* else branch.
*/

View file

@ -48,7 +48,7 @@ r600_variable_can_rewrite(nir_variable *var)
if (glsl_get_bit_size(glsl_without_array(var->type)) != 32)
return false;
/* We only check VSand attribute imputs */
/* We only check VSand attribute inputs */
return (var->data.location >= VERT_ATTRIB_GENERIC0 &&
var->data.location <= VERT_ATTRIB_GENERIC15);
}

View file

@ -634,7 +634,7 @@ FragmentShaderR600::allocate_interpolators_or_inputs()
pin_fully);
inp.set_gpr(pos++);
sfn_log << SfnLog::io << "Reseve input register at pos " << index << " as "
sfn_log << SfnLog::io << "Reserve input register at pos " << index << " as "
<< input << " with register " << inp.gpr() << "\n";
m_interpolated_inputs[index] = input;