summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-07-08 10:36:59 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-07-08 11:35:42 -0700
commitd577db293d3e40f868c3ce82f684295108e02ad5 (patch)
treefd6bc6c12ed4832252a0697be461e9439884c295 /src/intel/vulkan
parentdd2dc7e707b580b2db9b941df1edeaf6f179da60 (diff)
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 <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
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 = {