Fixes: a554b45d - st/mesa: don't lower YUV when driver supports it natively
Closes: #2376
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3632>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3632>
return false;
}
- if (util_format_get_num_planes(format) >= 2) {
- return util_format_planar_is_supported(screen, format, target,
- sample_count,
- storage_sample_count,
- usage);
- }
-
if (MAX2(1, sample_count) < MAX2(1, storage_sample_count))
return false;