mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
zink: bump number of image binds that can be batched to 50
this is big enough to batch all the cts binds into a single submit Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16100>
This commit is contained in:
parent
0e49ef5c9f
commit
c637c5a894
1 changed files with 4 additions and 3 deletions
|
|
@ -912,9 +912,10 @@ zink_bo_commit(struct zink_screen *screen, struct zink_resource *res, unsigned l
|
|||
};
|
||||
/* TODO: msaa needs miptail */
|
||||
//VkSparseImageOpaqueMemoryBindInfo sparse_obind;
|
||||
VkSparseImageMemoryBind ibind[10];
|
||||
uint32_t backing_start[10], backing_size[10];
|
||||
struct zink_sparse_backing *backing[10];
|
||||
#define NUM_BATCHED_BINDS 50
|
||||
VkSparseImageMemoryBind ibind[NUM_BATCHED_BINDS];
|
||||
uint32_t backing_start[NUM_BATCHED_BINDS], backing_size[NUM_BATCHED_BINDS];
|
||||
struct zink_sparse_backing *backing[NUM_BATCHED_BINDS];
|
||||
unsigned i = 0;
|
||||
bool commits_pending = false;
|
||||
uint32_t va_page_offset = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue