lavapipe: enable VK_FORMAT_R5G5B5A1_UNORM_PACK16
authorDave Airlie <airlied@redhat.com>
Mon, 1 Aug 2022 02:01:48 +0000 (12:01 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Aug 2022 21:13:04 +0000 (07:13 +1000)
Doesn't cause any cts regressions here.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17826>

src/gallium/frontends/lavapipe/lvp_private.h

index 9f0ad0d..6d5ff88 100644 (file)
@@ -605,7 +605,6 @@ lvp_vk_format_to_pipe_format(VkFormat format)
 {
    /* Some formats cause problems with CTS right now.*/
    if (format == VK_FORMAT_R4G4B4A4_UNORM_PACK16 ||
-       format == VK_FORMAT_R5G5B5A1_UNORM_PACK16 ||
        format == VK_FORMAT_R8_SRGB ||
        format == VK_FORMAT_R8G8_SRGB ||
        format == VK_FORMAT_R64G64B64A64_SFLOAT ||