Skip to content

panvk: set correct max extents for images

Erik Faye-Lund requested to merge kusma/mesa:panvk-update-format-properties into main

We updated maxImageDimension2D etc to report the actual max size, but we forgot to update GetPhysicalDeviceImageFormatProperties in the same way. Let's do that to make things consistent.

This fixes the following CTS test-case: dEQP-VK.wsi.wayland.swapchain.create.image_extent

Fixes: d5ed7780 ("panvk: Fix GetPhysicalDeviceProperties2() to report accurate info")

In order for this to work, we need to make sure pan_layout uses 64-bit calculations to avoid overflowing the calculations first.

Merge request reports

Loading