radv: Expose VK_EXT_pipeline_creation_cache_control.

Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2972
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5072>
This commit is contained in:
Bas Nieuwenhuizen 2020-05-17 02:56:04 +02:00 committed by Marge Bot
parent 32e9283145
commit f8314291b3
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,4 @@
GL_ARB_compute_variable_group_size on Iris.
VK_EXT_private_data on ANV and RADV.
VK_EXT_custom_border_color on RADV.
VK_EXT_pipeline_creation_cache_control on RADV.

View File

@ -1308,6 +1308,12 @@ void radv_GetPhysicalDeviceFeatures2(
features->privateData = true;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT: {
VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT *features =
(VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT *)ext;
features-> pipelineCreationCacheControl = true;
break;
}
default:
break;
}

View File

@ -141,6 +141,7 @@ EXTENSIONS = [
Extension('VK_EXT_memory_budget', 1, True),
Extension('VK_EXT_memory_priority', 1, True),
Extension('VK_EXT_pci_bus_info', 2, True),
Extension('VK_EXT_pipeline_creation_cache_control', 3, True),
Extension('VK_EXT_pipeline_creation_feedback', 1, True),
Extension('VK_EXT_post_depth_coverage', 1, 'device->rad_info.chip_class >= GFX10'),
Extension('VK_EXT_private_data', 1, True),