mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
radeonsi: Fix typos.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8289>
This commit is contained in:
parent
539c25c2da
commit
8457be1497
9 changed files with 10 additions and 10 deletions
|
|
@ -80,7 +80,7 @@ static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_
|
|||
return true;
|
||||
}
|
||||
|
||||
/** Linearize and convert luminace/intensity to red. */
|
||||
/** Linearize and convert luminance/intensity to red. */
|
||||
enum pipe_format si_simplify_cb_format(enum pipe_format format)
|
||||
{
|
||||
format = util_format_linear(format);
|
||||
|
|
@ -494,7 +494,7 @@ static void si_do_fast_color_clear(struct si_context *sctx, unsigned *buffers,
|
|||
if (too_small)
|
||||
continue;
|
||||
|
||||
/* 128-bit formats are unusupported */
|
||||
/* 128-bit formats are unsupported */
|
||||
if (tex->surface.bpe > 8) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -539,7 +539,7 @@ void si_build_prim_discard_compute_shader(struct si_shader_context *ctx)
|
|||
LLVMValueRef strip_start = ac_build_umsb(&ctx->ac, preceding_reset_threadmask, NULL);
|
||||
strip_start = LLVMBuildAdd(builder, strip_start, ctx->ac.i32_1, "");
|
||||
|
||||
/* This flips the orientatino based on reset indices within this wave only. */
|
||||
/* This flips the orientation based on reset indices within this wave only. */
|
||||
first_is_odd = LLVMBuildTrunc(builder, strip_start, ctx->ac.i1, "");
|
||||
|
||||
LLVMValueRef last_strip_start, prev_wave_state, ret, tmp;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
* descriptors in CPU memory and re-uploads a whole list if some slots have
|
||||
* been changed.
|
||||
*
|
||||
* This code is also reponsible for updating shader pointers to those lists.
|
||||
* This code is also responsible for updating shader pointers to those lists.
|
||||
*
|
||||
* Note that CP DMA can't be used for updating the lists, because a GPU hang
|
||||
* could leave the list in a mid-IB state and the next IB would get wrong
|
||||
|
|
|
|||
|
|
@ -656,7 +656,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
|
|||
* evenly between CUs. The number is only a function of the number of CUs.
|
||||
* We can decrease the constant to decrease the scratch buffer size.
|
||||
*
|
||||
* sctx->scratch_waves must be >= the maximum posible size of
|
||||
* sctx->scratch_waves must be >= the maximum possible size of
|
||||
* 1 threadgroup, so that the hw doesn't hang from being unable
|
||||
* to start any.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ struct si_resource {
|
|||
* streamout, DMA, or as a random access target). The rest of
|
||||
* the buffer is considered invalid and can be mapped unsynchronized.
|
||||
*
|
||||
* This allows unsychronized mapping of a buffer range which hasn't
|
||||
* This allows unsynchronized mapping of a buffer range which hasn't
|
||||
* been used yet. It's for applications which forget to use
|
||||
* the unsynchronized map flag and expect the driver to figure it out.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -460,7 +460,7 @@ static LLVMValueRef si_nir_load_input_tes(struct ac_shader_abi *abi, LLVMTypeRef
|
|||
get_tcs_tes_buffer_address_from_generic_indices(ctx, vertex_index, param_index, semantic);
|
||||
|
||||
/* TODO: This will generate rather ordinary llvm code, although it
|
||||
* should be easy for the optimiser to fix up. In future we might want
|
||||
* should be easy for the optimizer to fix up. In future we might want
|
||||
* to refactor buffer_load().
|
||||
*/
|
||||
LLVMValueRef value[4];
|
||||
|
|
|
|||
|
|
@ -1041,7 +1041,7 @@ static void si_delete_rs_state(struct pipe_context *ctx, void *state)
|
|||
}
|
||||
|
||||
/*
|
||||
* infeered state between dsa and stencil ref
|
||||
* inferred state between dsa and stencil ref
|
||||
*/
|
||||
static void si_emit_stencil_ref(struct si_context *sctx)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1167,7 +1167,7 @@ void si_prim_discard_signal_next_compute_ib_start(struct si_context *sctx)
|
|||
|
||||
sctx->last_pkt3_write_data = &sctx->gfx_cs.current.buf[sctx->gfx_cs.current.cdw - 5];
|
||||
|
||||
/* Only the last occurence of WRITE_DATA will be executed.
|
||||
/* Only the last occurrence of WRITE_DATA will be executed.
|
||||
* The packet will be enabled in si_flush_gfx_cs.
|
||||
*/
|
||||
*sctx->last_pkt3_write_data = PKT3(PKT3_NOP, 3, 0);
|
||||
|
|
|
|||
|
|
@ -1506,7 +1506,7 @@ static struct pipe_resource *si_texture_from_winsys_buffer(struct si_screen *ssc
|
|||
* surface pitch isn't correctly aligned by default.
|
||||
*
|
||||
* In order to support it correctly we require multi-image
|
||||
* metadata to be syncrhonized between radv and radeonsi. The
|
||||
* metadata to be synchronized between radv and radeonsi. The
|
||||
* semantics of associating multiple image metadata to a memory
|
||||
* object on the vulkan export side are not concretely defined
|
||||
* either.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue