mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
radeonsi: don't call VBO prefetch with size=0
for the next commit. Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
This commit is contained in:
parent
1119fe5c25
commit
986d6f12fb
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ static void cik_prefetch_shader_async(struct si_context *sctx,
|
|||
|
||||
static void cik_prefetch_VBO_descriptors(struct si_context *sctx)
|
||||
{
|
||||
if (!sctx->vertex_elements)
|
||||
if (!sctx->vertex_elements || !sctx->vertex_elements->desc_list_byte_size)
|
||||
return;
|
||||
|
||||
cik_prefetch_TC_L2_async(sctx, &sctx->vb_descriptors_buffer->b.b,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue