anv: increase ANV_MAX_STATE_SIZE_LOG2 limit to 1 MB
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 Jan 2017 11:44:32 +0000 (12:44 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 17 Jan 2017 05:42:42 +0000 (06:42 +0100)
commitff0dd67d2f9fc7cc240da732153ac4fac4e8d04d
tree00f2eee7a5c12401c674a76acfc606fe4e3f7023
parent19963231a3245358c0e8fdd74c4654761e62b6c8
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 <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h