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:
parent
2f8237754b
commit
7da33b68b0
|
@ -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
|
* primitive counts BO, then accumulates the transform feedback primitive count
|
||||||
* in the context and the corresponding vertex counts in the bound stream
|
* in the context and the corresponding vertex counts in the bound stream
|
||||||
* output targets.
|
* output targets.
|
||||||
|
|
|
@ -83,7 +83,7 @@ v3d_begin_query(struct pipe_context *pctx, struct pipe_query *query)
|
||||||
break;
|
break;
|
||||||
case PIPE_QUERY_PRIMITIVES_EMITTED:
|
case PIPE_QUERY_PRIMITIVES_EMITTED:
|
||||||
/* If we are inside transform feedback we need to update the
|
/* 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)
|
if (v3d->streamout.num_targets > 0)
|
||||||
v3d_update_primitive_counters(v3d);
|
v3d_update_primitive_counters(v3d);
|
||||||
|
|
|
@ -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
|
/* 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
|
* 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.
|
* two aligned.
|
||||||
*/
|
*/
|
||||||
if (i == 1 &&
|
if (i == 1 &&
|
||||||
|
|
|
@ -510,7 +510,7 @@ compute_vpm_config_gs(struct v3d_device_info *devinfo,
|
||||||
/* Try to fit program into our VPM memory budget by adjusting
|
/* Try to fit program into our VPM memory budget by adjusting
|
||||||
* configurable parameters iteratively. We do this in two phases:
|
* configurable parameters iteratively. We do this in two phases:
|
||||||
* the first phase tries to fit the program into the total available
|
* 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
|
* to fit the program into half of that budget so we can run bin and
|
||||||
* render programs in parallel.
|
* render programs in parallel.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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) {
|
if (v3d->dirty & VC5_DIRTY_STREAMOUT) {
|
||||||
struct v3d_uncompiled_shader *tf_shader = get_tf_shader(v3d);
|
struct v3d_uncompiled_shader *tf_shader = get_tf_shader(v3d);
|
||||||
struct v3d_streamout_stateobj *so = &v3d->streamout;
|
struct v3d_streamout_stateobj *so = &v3d->streamout;
|
||||||
|
|
|
@ -665,7 +665,7 @@ v3dX(emit_rcl)(struct v3d_job *job)
|
||||||
job->submit.rcl_start = job->rcl.bo->offset;
|
job->submit.rcl_start = job->rcl.bo->offset;
|
||||||
v3d_job_add_bo(job, job->rcl.bo);
|
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
|
* and Z_STENCIL_CLEAR_VALUES must be last. The ones in between are
|
||||||
* optional updates to the previous HW state.
|
* optional updates to the previous HW state.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue