diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-10 12:44:32 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-17 06:42:42 +0100 |
commit | ff0dd67d2f9fc7cc240da732153ac4fac4e8d04d (patch) | |
tree | 00f2eee7a5c12401c674a76acfc606fe4e3f7023 /src/intel/vulkan/anv_device.c | |
parent | 19963231a3245358c0e8fdd74c4654761e62b6c8 (diff) |
anv: increase ANV_MAX_STATE_SIZE_LOG2 limit to 1 MB
Fixes crash in dEQP-VK.ubo.random.all_shared_buffer.48 due to a
fragment shader code bigger than 128 kB.
This patch increases the allocation size limit to 1 MB.
v2:
- Increase it to 1 MB (Jason)
- Increase device->instruction_block_pool allocation size in
anv_device.c (Jason)
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 6349537d172..f80a36a9400 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -948,7 +948,7 @@ VkResult anv_CreateDevice( anv_state_pool_init(&device->dynamic_state_pool, &device->dynamic_state_block_pool); - anv_block_pool_init(&device->instruction_block_pool, device, 128 * 1024); + anv_block_pool_init(&device->instruction_block_pool, device, 1024 * 1024); anv_state_pool_init(&device->instruction_state_pool, &device->instruction_block_pool); |