zink: check maxImageDimension1D as well as maxImageDimension2D
According to the docs for PIPE_CAP_MAX_TEXTURE_2D_SIZE, it's the limit both for 2D *and* 1D textures. So let's take the min of the two vulkan features here instead of assuming they're the same. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19780>
This commit is contained in:

committed by
Marge Bot

parent
1b892c5a7d
commit
dc770eb9bb
@@ -157,6 +157,7 @@ supported:
|
||||
|
||||
* ``VkPhysicalDeviceLimits``
|
||||
|
||||
* ``maxImageDimension1D`` ≥ 16384
|
||||
* ``maxImageDimension2D`` ≥ 16384
|
||||
* ``maxViewports`` ≥ 16
|
||||
|
||||
|
Reference in New Issue
Block a user