mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
radeonsi: rewrite a confusing comment in si_upload_and_prefetch_VB_descriptors
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11754>
This commit is contained in:
parent
d9173b3b46
commit
9aa53d7ac4
1 changed files with 2 additions and 3 deletions
|
|
@ -1381,9 +1381,8 @@ static bool si_upload_and_prefetch_VB_descriptors(struct si_context *sctx)
|
|||
uint32_t *ptr;
|
||||
|
||||
if (alloc_size) {
|
||||
/* Vertex buffer descriptors are the only ones which are uploaded
|
||||
* directly through a staging buffer and don't go through
|
||||
* the fine-grained upload path.
|
||||
/* Vertex buffer descriptors are the only ones which are uploaded directly
|
||||
* and don't go through si_upload_graphics_shader_descriptors.
|
||||
*/
|
||||
u_upload_alloc(sctx->b.const_uploader, 0, alloc_size,
|
||||
si_optimal_tcc_alignment(sctx, alloc_size), &sctx->vb_descriptors_offset,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue