anv: Increase state allocation size limit to 2MB
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 12 Jul 2019 18:33:38 +0000 (11:33 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 16 Jul 2019 21:17:52 +0000 (14:17 -0700)
When running on ICL the
dEQP-VK.ssbo.phys.layout.random.16bit.scalar.13 needs more than 1M for
the shader, so bump it.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_private.h

index 9e59d79de7acf3649532aa2df2813edb0f28efec..e743d9f5a00bd17436a774b9b6a55fb84a40e217 100644 (file)
@@ -729,7 +729,7 @@ struct anv_fixed_size_state_pool {
 };
 
 #define ANV_MIN_STATE_SIZE_LOG2 6
-#define ANV_MAX_STATE_SIZE_LOG2 20
+#define ANV_MAX_STATE_SIZE_LOG2 21
 
 #define ANV_STATE_BUCKETS (ANV_MAX_STATE_SIZE_LOG2 - ANV_MIN_STATE_SIZE_LOG2 + 1)