anv: Bump maxComputeWorkgroupInvocations
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 Mar 2019 15:47:34 +0000 (10:47 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Mar 2019 14:26:56 +0000 (09:26 -0500)
We initially set this lower because we didn't have SIMD32 support yet
but we've supported SIMD32 for quite some time now.  We should bump it
up to the real limit.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c

index a6ecc657f4bcf25220efbfc9a1671142662c6140..7ba2e802c257a75917f29eda60d324ea785dbdf3 100644 (file)
@@ -1132,7 +1132,7 @@ void anv_GetPhysicalDeviceProperties(
       .maxFragmentCombinedOutputResources       = 8,
       .maxComputeSharedMemorySize               = 32768,
       .maxComputeWorkGroupCount                 = { 65535, 65535, 65535 },
-      .maxComputeWorkGroupInvocations           = 16 * devinfo->max_cs_threads,
+      .maxComputeWorkGroupInvocations           = 32 * devinfo->max_cs_threads,
       .maxComputeWorkGroupSize = {
          16 * devinfo->max_cs_threads,
          16 * devinfo->max_cs_threads,