zink: enable PIPE_CAP_MIXED_COLORBUFFER_FORMATS
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 18 Dec 2019 14:37:01 +0000 (15:37 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 19 Dec 2019 09:08:13 +0000 (10:08 +0100)
This just works in Vulkan, there's no work neeed to enable it.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3148>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3148>

src/gallium/drivers/zink/zink_screen.c

index fa92424a6a6b05a8b2f5625ceac93503ca58e300..81dd65672c91ffe5a17d8b1529cfe30282484e46 100644 (file)
@@ -143,10 +143,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return 0;
 #endif
 
-#if 0 /* TODO: Enable me */
    case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
       return 1;
-#endif
 
    case PIPE_CAP_SEAMLESS_CUBE_MAP:
       return 1;