From 3bbb740f61fe69260991566b892227d459ce61e8 Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Wed, 24 Jul 2024 13:54:19 +0000 Subject: [PATCH] lavapipe: Block more formats from getting blit feature flags This is needed for the new pipe formats. Signed-off-by: Valentine Burley Reviewed-by: Faith Ekstrand Part-of: --- src/gallium/frontends/lavapipe/lvp_formats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/frontends/lavapipe/lvp_formats.c b/src/gallium/frontends/lavapipe/lvp_formats.c index d8f2111744a..3a80dbd2950 100644 --- a/src/gallium/frontends/lavapipe/lvp_formats.c +++ b/src/gallium/frontends/lavapipe/lvp_formats.c @@ -196,6 +196,8 @@ lvp_physical_device_get_format_properties(struct lvp_physical_device *physical_d util_format_get_nr_components(pformat) != 3 && !util_format_is_subsampled_422(pformat) && !util_format_is_yuv(pformat) && + pformat != PIPE_FORMAT_G8_B8R8_420_UNORM && + pformat != PIPE_FORMAT_G8_B8_R8_420_UNORM && pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_UNORM) {