radv: advertise LINEAR filter support for multiplanar/subsampled
It seems like radv supports this but doesn't advertise it. Signed-off-by: Simon Ser <contact@emersion.fr> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22875>
This commit is contained in:
@@ -701,7 +701,8 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
|
||||
if (multiplanar || desc->layout == UTIL_FORMAT_LAYOUT_SUBSAMPLED) {
|
||||
uint64_t tiling = VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT |
|
||||
VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT |
|
||||
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT;
|
||||
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT |
|
||||
VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
|
||||
|
||||
if (vk_format_get_ycbcr_info(format)) {
|
||||
tiling |= VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT |
|
||||
|
Reference in New Issue
Block a user