mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
asahi: don't use util_resource_size
drawoverhead. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
d9c4fcce5f
commit
668bf461b1
1 changed files with 1 additions and 1 deletions
|
|
@ -3851,7 +3851,7 @@ agx_index_buffer_rsrc_ptr(struct agx_batch *batch,
|
|||
struct agx_resource *rsrc = agx_resource(info->index.resource);
|
||||
agx_batch_reads(batch, rsrc);
|
||||
|
||||
*extent = ALIGN_POT(util_resource_size(&rsrc->base), 4);
|
||||
*extent = ALIGN_POT(rsrc->layout.size_B, 4);
|
||||
return rsrc->bo->ptr.gpu;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue