turnip: reduce maxComputeWorkGroupSize
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 4 Mar 2021 14:33:54 +0000 (16:33 +0200)
committerDanylo Piliaiev <dpiliaiev@igalia.com>
Mon, 2 Aug 2021 17:19:18 +0000 (20:19 +0300)
Blob advertises { 1024, 1024, 64 }, but from tests they all
could be 1024.

Fixes tests:
 dEQP-VK.compute.basic.max_local_size_x
 dEQP-VK.compute.basic.max_local_size_y
 dEQP-VK.compute.basic.max_local_size_z

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9409>

src/freedreno/ci/deqp-freedreno-a630-fails.txt
src/freedreno/vulkan/tu_device.c

index 0de0818..3e5da28 100644 (file)
@@ -13,10 +13,6 @@ KHR-GL33.transform_feedback.query_vertex_separate_test,Fail
 # likely-looking fixes in later versions of the loader.
 dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail,Fail
 
-# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9409
-dEQP-VK.compute.basic.max_local_size_x,Crash
-dEQP-VK.compute.basic.max_local_size_y,Crash
-
 # https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/3019
 # should be fixed by https://gerrit.khronos.org/c/vk-gl-cts/+/7745
 dEQP-VK.renderpass.dedicated_allocation.attachment_allocation.input_output.7,Fail
index 9b42f41..4d8a211 100644 (file)
@@ -824,7 +824,7 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
       .maxComputeSharedMemorySize = 32768,
       .maxComputeWorkGroupCount = { 65535, 65535, 65535 },
       .maxComputeWorkGroupInvocations = 2048,
-      .maxComputeWorkGroupSize = { 2048, 2048, 2048 },
+      .maxComputeWorkGroupSize = { 1024, 1024, 1024 },
       .subPixelPrecisionBits = 8,
       .subTexelPrecisionBits = 8,
       .mipmapPrecisionBits = 8,