mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
radeonsi: move a displaced comment in si_draw_vbo
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6786>
This commit is contained in:
parent
816a867bbd
commit
d647065b06
1 changed files with 3 additions and 3 deletions
|
|
@ -1932,13 +1932,13 @@ static void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *i
|
|||
}
|
||||
}
|
||||
|
||||
if (sctx->bo_list_add_all_gfx_resources)
|
||||
si_gfx_resources_add_all_to_bo_list(sctx);
|
||||
|
||||
/* Since we've called si_context_add_resource_size for vertex buffers,
|
||||
* this must be called after si_need_cs_space, because we must let
|
||||
* need_cs_space flush before we add buffers to the buffer list.
|
||||
*/
|
||||
if (sctx->bo_list_add_all_gfx_resources)
|
||||
si_gfx_resources_add_all_to_bo_list(sctx);
|
||||
|
||||
if (!si_upload_vertex_buffer_descriptors(sctx) ||
|
||||
!si_upload_graphics_shader_descriptors(sctx))
|
||||
goto return_cleanup;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue