From: Caio Marcelo de Oliveira Filho Date: Mon, 8 Jul 2019 17:36:59 +0000 (-0700) Subject: anv: Set maxComputeSharedMemorySize to 64k X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d577db293d3e40f868c3ce82f684295108e02ad5;p=mesa.git 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 --- 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 = {