From 9aa53d7ac450b7b2f92c378a607b68bf52aa5af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 28 Jun 2021 13:42:26 -0400 Subject: [PATCH] radeonsi: rewrite a confusing comment in si_upload_and_prefetch_VB_descriptors Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_state_draw.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.cpp b/src/gallium/drivers/radeonsi/si_state_draw.cpp index a3823220f96..4fc81ab1811 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.cpp +++ b/src/gallium/drivers/radeonsi/si_state_draw.cpp @@ -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,