mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
anv: Increate dynamic pool block size from 2k to 16k
This is needed because compute push constant data is replicated per invocation. For gen7, this can be up to 64. With a push constant data max of 128 bytes, this is 8k of data. We need additional space for local-id payloads, so we are going with 16k for now. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
4e15d26e47
commit
c7f6e42a7d
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ VkResult anv_CreateDevice(
|
|||
|
||||
anv_bo_pool_init(&device->batch_bo_pool, device, ANV_CMD_BUFFER_BATCH_SIZE);
|
||||
|
||||
anv_block_pool_init(&device->dynamic_state_block_pool, device, 2048);
|
||||
anv_block_pool_init(&device->dynamic_state_block_pool, device, 16384);
|
||||
|
||||
anv_state_pool_init(&device->dynamic_state_pool,
|
||||
&device->dynamic_state_block_pool);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue