Mesa (master): panfrost: Fix typos.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jan 14 01:28:55 UTC 2021
Module: Mesa
Branch: master
Commit: aa3dfcd803183d34373e48bff795a39e6a6fc868
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa3dfcd803183d34373e48bff795a39e6a6fc868
Author: Vinson Lee <vlee at freedesktop.org>
Date: Fri Jan 8 18:39:38 2021 -0800
panfrost: Fix typos.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8400>
---
src/gallium/drivers/panfrost/pan_blend_cso.c | 2 +-
src/gallium/drivers/panfrost/pan_blending.c | 2 +-
src/gallium/drivers/panfrost/pan_cmdstream.c | 2 +-
src/gallium/drivers/panfrost/pan_resource.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/panfrost/pan_blend_cso.c b/src/gallium/drivers/panfrost/pan_blend_cso.c
index dace098213a..d55eef0a409 100644
--- a/src/gallium/drivers/panfrost/pan_blend_cso.c
+++ b/src/gallium/drivers/panfrost/pan_blend_cso.c
@@ -233,7 +233,7 @@ panfrost_get_blend_for_context(struct panfrost_context *ctx, unsigned rti, struc
struct panfrost_blend_state *blend = ctx->blend;
struct panfrost_blend_rt *rt = &blend->rt[rti];
- /* First, we'll try fixed function, matching equationn and constant */
+ /* First, we'll try fixed function, matching equation and constant */
if (rt->has_fixed_function && panfrost_can_fixed_blend(fmt)) {
float constant = 0.0;
diff --git a/src/gallium/drivers/panfrost/pan_blending.c b/src/gallium/drivers/panfrost/pan_blending.c
index ac01a5f0ce0..bc76fac605b 100644
--- a/src/gallium/drivers/panfrost/pan_blending.c
+++ b/src/gallium/drivers/panfrost/pan_blending.c
@@ -267,7 +267,7 @@ panfrost_blend_constant_mask(const struct pipe_rt_blend_state *blend)
/* Create the descriptor for a fixed blend mode given the corresponding Gallium
* state, if possible. Return true and write out the blend descriptor into
* blend_equation. If it is not possible with the fixed function
- * representating, return false to handle degenerate cases with a blend shader
+ * representation, return false to handle degenerate cases with a blend shader
*/
bool
diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c
index 9922c76e29d..1ca15a7d4f0 100644
--- a/src/gallium/drivers/panfrost/pan_cmdstream.c
+++ b/src/gallium/drivers/panfrost/pan_cmdstream.c
@@ -1449,7 +1449,7 @@ enum pan_special_varying {
PAN_VARY_MAX,
};
-/* Given a varying, figure out which index it correpsonds to */
+/* Given a varying, figure out which index it corresponds to */
static inline unsigned
pan_varying_index(unsigned present, enum pan_special_varying v)
diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h
index fa2d89039c7..a7d8265d560 100644
--- a/src/gallium/drivers/panfrost/pan_resource.h
+++ b/src/gallium/drivers/panfrost/pan_resource.h
@@ -58,7 +58,7 @@ struct panfrost_resource {
/* Whether the modifier can be changed */
bool modifier_constant;
- /* Is transaciton elimination enabled? */
+ /* Is transaction elimination enabled? */
bool checksummed;
/* The CRC BO can be allocated separately */
More information about the mesa-commit
mailing list