diff options
Diffstat (limited to 'src/intel/vulkan/anv_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/anv_cmd_buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index c65eba287d6..120b864df46 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -212,9 +212,9 @@ static VkResult anv_create_cmd_buffer( goto fail; anv_state_stream_init(&cmd_buffer->surface_state_stream, - &device->surface_state_block_pool); + &device->surface_state_pool, 4096); anv_state_stream_init(&cmd_buffer->dynamic_state_stream, - &device->dynamic_state_block_pool); + &device->dynamic_state_pool, 16384); memset(&cmd_buffer->state.push_descriptor, 0, sizeof(cmd_buffer->state.push_descriptor)); @@ -306,11 +306,11 @@ anv_cmd_buffer_reset(struct anv_cmd_buffer *cmd_buffer) anv_state_stream_finish(&cmd_buffer->surface_state_stream); anv_state_stream_init(&cmd_buffer->surface_state_stream, - &cmd_buffer->device->surface_state_block_pool); + &cmd_buffer->device->surface_state_pool, 4096); anv_state_stream_finish(&cmd_buffer->dynamic_state_stream); anv_state_stream_init(&cmd_buffer->dynamic_state_stream, - &cmd_buffer->device->dynamic_state_block_pool); + &cmd_buffer->device->dynamic_state_pool, 16384); return VK_SUCCESS; } |