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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user