diff --git a/src/gallium/drivers/v3d/v3d_context.c b/src/gallium/drivers/v3d/v3d_context.c index 546f476ac96..0a5f67d7b2b 100644 --- a/src/gallium/drivers/v3d/v3d_context.c +++ b/src/gallium/drivers/v3d/v3d_context.c @@ -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. diff --git a/src/gallium/drivers/v3d/v3d_query.c b/src/gallium/drivers/v3d/v3d_query.c index 334713e5cc5..1251950bec0 100644 --- a/src/gallium/drivers/v3d/v3d_query.c +++ b/src/gallium/drivers/v3d/v3d_query.c @@ -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); diff --git a/src/gallium/drivers/v3d/v3d_resource.c b/src/gallium/drivers/v3d/v3d_resource.c index 38ff848d0bf..d394ad78a7f 100644 --- a/src/gallium/drivers/v3d/v3d_resource.c +++ b/src/gallium/drivers/v3d/v3d_resource.c @@ -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 && diff --git a/src/gallium/drivers/v3d/v3dx_draw.c b/src/gallium/drivers/v3d/v3dx_draw.c index 84b5afa6ccc..e2cca7e7fa2 100644 --- a/src/gallium/drivers/v3d/v3dx_draw.c +++ b/src/gallium/drivers/v3d/v3dx_draw.c @@ -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. */ diff --git a/src/gallium/drivers/v3d/v3dx_emit.c b/src/gallium/drivers/v3d/v3dx_emit.c index bc4292e6627..801d07c34cc 100644 --- a/src/gallium/drivers/v3d/v3dx_emit.c +++ b/src/gallium/drivers/v3d/v3dx_emit.c @@ -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; diff --git a/src/gallium/drivers/v3d/v3dx_rcl.c b/src/gallium/drivers/v3d/v3dx_rcl.c index 31d7d2b4cd4..0da01055114 100644 --- a/src/gallium/drivers/v3d/v3dx_rcl.c +++ b/src/gallium/drivers/v3d/v3dx_rcl.c @@ -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. */