diff --git a/.pick_status.json b/.pick_status.json index d2bf348182f..2371fe7b0d5 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -8944,7 +8944,7 @@ "description": "lavapipe: block yuv formats from getting blit feature flags", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/frontends/lavapipe/lvp_formats.c b/src/gallium/frontends/lavapipe/lvp_formats.c index e06fdee1a4f..5f02630be0c 100644 --- a/src/gallium/frontends/lavapipe/lvp_formats.c +++ b/src/gallium/frontends/lavapipe/lvp_formats.c @@ -174,6 +174,7 @@ lvp_physical_device_get_format_properties(struct lvp_physical_device *physical_d } if ((pformat != PIPE_FORMAT_R9G9B9E5_FLOAT) && util_format_get_nr_components(pformat) != 3 && + !util_format_is_yuv(pformat) && pformat != PIPE_FORMAT_R10G10B10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_SNORM && pformat != PIPE_FORMAT_B10G10R10A2_UNORM) {