From: Jonathan Marek Date: Sat, 20 Jun 2020 19:02:10 +0000 (-0400) Subject: turnip: enable VK_EXT_index_type_uint8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cf87d777a24c707199a20c723cae16d9c9595ae;p=mesa.git turnip: enable VK_EXT_index_type_uint8 Signed-off-by: Jonathan Marek Part-of: --- diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index dfc6cf5aba1..ee8120a948d 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -716,6 +716,12 @@ tu_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, features->geometryStreams = false; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: { + VkPhysicalDeviceIndexTypeUint8FeaturesEXT *features = + (VkPhysicalDeviceIndexTypeUint8FeaturesEXT *)ext; + features->indexTypeUint8 = true; + break; + } default: break; } diff --git a/src/freedreno/vulkan/tu_extensions.py b/src/freedreno/vulkan/tu_extensions.py index 7d5c3eacc80..20539c7367e 100644 --- a/src/freedreno/vulkan/tu_extensions.py +++ b/src/freedreno/vulkan/tu_extensions.py @@ -79,6 +79,7 @@ EXTENSIONS = [ Extension('VK_KHR_external_fence_fd', 1, True), Extension('VK_IMG_filter_cubic', 1, 'device->gpu_id == 650'), Extension('VK_EXT_filter_cubic', 1, 'device->gpu_id == 650'), + Extension('VK_EXT_index_type_uint8', 1, True), ] MAX_API_VERSION = VkVersion(MAX_API_VERSION)