From d577db293d3e40f868c3ce82f684295108e02ad5 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Mon, 8 Jul 2019 10:36:59 -0700 Subject: [PATCH] anv: Set maxComputeSharedMemorySize to 64k This value is supported since gen7. See also 8514c75a26e "i965: Set compute shader shared memory max to 64k". Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index e059c94cdc0..bfba11fe8c9 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1285,7 +1285,7 @@ void anv_GetPhysicalDeviceProperties( .maxFragmentOutputAttachments = 8, .maxFragmentDualSrcAttachments = 1, .maxFragmentCombinedOutputResources = 8, - .maxComputeSharedMemorySize = 32768, + .maxComputeSharedMemorySize = 64 * 1024, .maxComputeWorkGroupCount = { 65535, 65535, 65535 }, .maxComputeWorkGroupInvocations = 32 * devinfo->max_cs_threads, .maxComputeWorkGroupSize = { -- 2.30.2