panfrost: Fix typos.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8400>
This commit is contained in:
Vinson Lee 2021-01-08 18:39:38 -08:00 committed by Marge Bot
parent 179e549995
commit aa3dfcd803
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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