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>
This commit is contained in:
Jonathan Marek 2020-06-20 15:02:10 -04:00 committed by Marge Bot
parent 52da27aede
commit 6cf87d777a
2 changed files with 7 additions and 0 deletions

View File

@ -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;
}

View File

@ -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)