v3d: Fix typos.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8171>
This commit is contained in:
Vinson Lee 2020-12-18 14:52:00 -08:00 committed by Marge Bot
parent 2f8237754b
commit 7da33b68b0
6 changed files with 6 additions and 6 deletions

View File

@ -117,7 +117,7 @@ v3d_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc)
}
/**
* Flushes the current job to get up-to-date primive counts written to the
* Flushes the current job to get up-to-date primitive counts written to the
* primitive counts BO, then accumulates the transform feedback primitive count
* in the context and the corresponding vertex counts in the bound stream
* output targets.

View File

@ -83,7 +83,7 @@ v3d_begin_query(struct pipe_context *pctx, struct pipe_query *query)
break;
case PIPE_QUERY_PRIMITIVES_EMITTED:
/* If we are inside transform feedback we need to update the
* primitive counts to skip primtives recorded before this.
* primitive counts to skip primitives recorded before this.
*/
if (v3d->streamout.num_targets > 0)
v3d_update_primitive_counters(v3d);

View File

@ -616,7 +616,7 @@ v3d_setup_slices(struct v3d_resource *rsc, uint32_t winsys_stride,
/* The HW aligns level 1's base to a page if any of level 1 or
* below could be UIF XOR. The lower levels then inherit the
* alignment for as long as necesary, thanks to being power of
* alignment for as long as necessary, thanks to being power of
* two aligned.
*/
if (i == 1 &&

View File

@ -510,7 +510,7 @@ compute_vpm_config_gs(struct v3d_device_info *devinfo,
/* Try to fit program into our VPM memory budget by adjusting
* configurable parameters iteratively. We do this in two phases:
* the first phase tries to fit the program into the total available
* VPM memory. If we suceed at that, then the second phase attempts
* VPM memory. If we succeed at that, then the second phase attempts
* to fit the program into half of that budget so we can run bin and
* render programs in parallel.
*/

View File

@ -748,7 +748,7 @@ v3dX(emit_state)(struct pipe_context *pctx)
}
}
/* Set up the trasnform feedback buffers. */
/* Set up the transform feedback buffers. */
if (v3d->dirty & VC5_DIRTY_STREAMOUT) {
struct v3d_uncompiled_shader *tf_shader = get_tf_shader(v3d);
struct v3d_streamout_stateobj *so = &v3d->streamout;

View File

@ -665,7 +665,7 @@ v3dX(emit_rcl)(struct v3d_job *job)
job->submit.rcl_start = job->rcl.bo->offset;
v3d_job_add_bo(job, job->rcl.bo);
/* Comon config must be the first TILE_RENDERING_MODE_CFG
/* Common config must be the first TILE_RENDERING_MODE_CFG
* and Z_STENCIL_CLEAR_VALUES must be last. The ones in between are
* optional updates to the previous HW state.
*/