anv/device: Bump the size of the instruction block pool
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Dec 2015 19:49:26 +0000 (11:49 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Dec 2015 19:49:28 +0000 (11:49 -0800)
Some CTS test shaders were failing to compile.  At some point soon, we
really need to make a real pipeline cache and stop using a block pool for
this.

src/vulkan/anv_device.c

index df6472edfde12dde3922e7c632a83eb3965e8f6e..fe44d1cb036c7ab3def89f2317339682a2491140 100644 (file)
@@ -714,7 +714,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, 4096);
+   anv_block_pool_init(&device->instruction_block_pool, device, 8192);
    anv_block_pool_init(&device->surface_state_block_pool, device, 4096);
 
    anv_state_pool_init(&device->surface_state_pool,