diff options
author | Jonathan Marek <jonathan@marek.ca> | 2020-06-20 15:02:10 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-06-23 10:44:19 +0000 |
commit | 6cf87d777a24c707199a20c723cae16d9c9595ae (patch) | |
tree | 6ad3b4f027fe530d1718d0f95e15574d21352e8e /src/freedreno | |
parent | 52da27aedee7a7874502eba8f80a44a1bafcf9e0 (diff) |
turnip: enable VK_EXT_index_type_uint8
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5579>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 6 | ||||
-rw-r--r-- | src/freedreno/vulkan/tu_extensions.py | 1 |
2 files changed, 7 insertions, 0 deletions
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) |