mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
7accfbffd8
commit
31e6d15801
1 changed files with 2 additions and 1 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue