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>
This commit is contained in:
Chia-I Wu
2022-11-08 11:15:54 -08:00
committed by Marge Bot
parent f3a9076e51
commit 6bc1fd1862
2 changed files with 3 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ struct fd_dev_info {
bool depth_bounds_require_depth_test_quirk;
bool has_tex_filter_cubic;
bool has_separate_chroma_filter;
bool has_sample_locations;

View File

@@ -231,6 +231,7 @@ a6xx_gen3 = dict(
tess_use_shared = True,
storage_16bit = True,
has_tex_filter_cubic = True,
has_separate_chroma_filter = True,
has_sample_locations = True,
has_ccu_flush_bug = True,
has_8bpp_ubwc = False,
@@ -251,6 +252,7 @@ a6xx_gen4 = dict(
tess_use_shared = True,
storage_16bit = True,
has_tex_filter_cubic = True,
has_separate_chroma_filter = True,
has_sample_locations = True,
has_ccu_flush_bug = True,
has_cp_reg_write = False,