nvk: set nonCoherentAtomSize as the CTS divides with this value
authorKarol Herbst <kherbst@redhat.com>
Fri, 20 May 2022 13:25:21 +0000 (15:25 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:53 +0000 (21:31 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>

src/nouveau/vulkan/nvk_physical_device.c

index 0dc4c3a..3356f69 100644 (file)
@@ -68,6 +68,10 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
       .deviceID = pdevice->dev->device_id,
       .deviceType = pdevice->dev->is_integrated ? VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
                                                 : VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU,
+      .limits = (VkPhysicalDeviceLimits) {
+         .nonCoherentAtomSize = 64,
+      },
+
       /* More properties */
    };