diff options
author | Tapani Pälli <[email protected]> | 2019-02-22 08:54:13 +0200 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-03-05 10:39:17 +0000 |
commit | 3bb8768b9d62b616035104485ff05a9d9d2c7546 (patch) | |
tree | e64654f62e244c1dfa6b565e5f4e9c3d813346a7 /src/intel/vulkan/anv_device.c | |
parent | 114c4aa0c84fc6d00407192d283f30dc2582621e (diff) |
anv: toggle on support for VK_EXT_ycbcr_image_arrays
We already propagate coord_components correctly and did not have
layer restrictions for ycbcr formats.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index ed7b7b0f0a0..7e382db1d95 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1008,6 +1008,13 @@ void anv_GetPhysicalDeviceFeatures2( break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: { + VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *features = + (VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *)ext; + features->ycbcrImageArrays = VK_TRUE; + break; + } + default: anv_debug_ignored_stype(ext->sType); break; |