lavapipe: don't emit blit src/dst for subsampled formats.
Fixes dEQP-VK.api.info.format_properties.b8g8r8g8_422_unorm Cc: mesa-stable Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25609>
This commit is contained in:
@@ -184,6 +184,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_subsampled_422(pformat) &&
|
||||
!util_format_is_yuv(pformat) &&
|
||||
pformat != PIPE_FORMAT_R10G10B10A2_SNORM &&
|
||||
pformat != PIPE_FORMAT_B10G10R10A2_SNORM &&
|
||||
|
Reference in New Issue
Block a user