mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
anv: Support VkPhysicalDeviceShaderDrawParameterFeatures
This advertises the VK_KHR_shader_draw_parameters functionality as a "core optimal feature" in Vulkan 1.1. Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
parent
06719f9d4b
commit
1deb7967c8
1 changed files with 6 additions and 0 deletions
|
|
@ -790,6 +790,12 @@ void anv_GetPhysicalDeviceFeatures2(
|
|||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: {
|
||||
VkPhysicalDeviceShaderDrawParameterFeatures *features = (void *)ext;
|
||||
features->shaderDrawParameters = true;
|
||||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR: {
|
||||
VkPhysicalDevice16BitStorageFeaturesKHR *features =
|
||||
(VkPhysicalDevice16BitStorageFeaturesKHR *)ext;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue