nvk: set nonCoherentAtomSize as the CTS divides with this value

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Karol Herbst 2022-05-20 15:25:21 +02:00 committed by Marge Bot
parent 63a1d52e62
commit d270ad422c

View 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 */
};