freedreno: add has_separate_chroma_filter to fd_dev_info
authorChia-I Wu <olvaffe@gmail.com>
Tue, 8 Nov 2022 19:15:54 +0000 (11:15 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Nov 2022 00:29:09 +0000 (00:29 +0000)
commit6bc1fd186273da966fae880c9960fcf830b6073c
tree782902ef71929685f24a16177be7ebce3d016172
parentf3a9076e51d43f76e0aee81659d661b5b60c0756
freedreno: add has_separate_chroma_filter to fd_dev_info

The blob driver does not support
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT
before a6xx_gen3.  It still sets CHROMA_LINEAR bit according to
chromaFilter, but the bit has no effect before a6xx_gen3 (confirmed on
a618 with blob version 512.490.0).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19609>
src/freedreno/common/freedreno_dev_info.h
src/freedreno/common/freedreno_devices.py