mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
lavapipe: Block more formats from getting blit feature flags
This is needed for the new pipe formats. Signed-off-by: Valentine Burley <valentine.burley@gmail.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30459>
This commit is contained in:
parent
3316bc3e88
commit
3bbb740f61
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue