mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 01:50:24 +01:00
The spec allows to create aliased disjoint image for a specific plane of a multi-planar image, and the format can be R8. When querying memory requirement of such image, VkImagePlaneMemoryRequirementsInfo is not required to be chained although it has the disjoint bit. This change fixes to look for aspect info from plane memory info only when that's chained. The implementation can be passive here as the spec VU has sufficient guarantees for the validity around. See below VU for details: - VUID-VkImageMemoryRequirementsInfo2-image-01589 - VUID-VkImageMemoryRequirementsInfo2-image-01590 - VUID-VkImageMemoryRequirementsInfo2-image-02279 - VUID-VkImageMemoryRequirementsInfo2-image-02280 Meanwhile, the existing disjoint check for size info is kept as is for the special handling of VK_FORMAT_D32_SFLOAT_S8_UINT. Test: dEQP-VK.ycbcr.plane_view.memory_alias.* pass with venus-on-panvk Fixes: |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| gfxstream | ||
| glx | ||
| gtest | ||
| imagination | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| x11 | ||
| .clang-format | ||
| meson.build | ||