summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_shader.c
diff options
context:
space:
mode:
authorHarri Nieminen <moiman@posteo.net>2023-04-13 14:07:09 +0300
committerMarge Bot <emma+marge@anholt.net>2023-04-13 23:08:22 +0000
commit45e09d5bb95f5f7cda5d8470963bb2f88a0cb871 (patch)
tree16b8ddb16b93af1a5a4779fe73f531d6b272cd08 /src/gallium/drivers/r600/r600_shader.c
parent7851b6fd489b16948a0d0a3399db6f43c67138cd (diff)
r600: fix typos
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22432>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 11f71c4b444..ed51fa772fc 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -218,7 +218,7 @@ int r600_pipe_shader_create(struct pipe_context *ctx,
sel->nir_blob = NULL;
}
sel->nir = tgsi_to_nir(sel->tokens, ctx->screen, true);
- /* Lower int64 ops because we have some r600 build-in shaders that use it */
+ /* Lower int64 ops because we have some r600 built-in shaders that use it */
if (nir_options->lower_int64_options) {
NIR_PASS_V(sel->nir, nir_lower_regs_to_ssa);
NIR_PASS_V(sel->nir, nir_lower_alu_to_scalar, r600_lower_to_scalar_instr_filter, NULL);
@@ -3402,7 +3402,7 @@ static int r600_emit_tess_factor(struct r600_shader_ctx *ctx)
* calculated from the MBCNT instructions.
* Then the shader engine ID is multiplied by 256,
* and the wave id is added.
- * Then the result is multipled by 64 and thread id is
+ * Then the result is multiplied by 64 and thread id is
* added.
*/
static int load_thread_id_gpr(struct r600_shader_ctx *ctx)
@@ -8374,7 +8374,7 @@ static int tgsi_tex(struct r600_shader_ctx *ctx)
if (inst->Texture.Texture == TGSI_TEXTURE_2D_ARRAY ||
inst->Texture.Texture == TGSI_TEXTURE_SHADOW2D_ARRAY)
/* make sure array index selector is 0, this is just a safety
- * precausion because TGSI seems to emit something strange here */
+ * precaution because TGSI seems to emit something strange here */
t->src_sel_z = 4;
else
t->src_sel_z = inst->TexOffsets[0].SwizzleZ;