From: Tapani Pälli Date: Wed, 10 Jun 2020 10:07:25 +0000 (+0300) Subject: anv: toggle on VK_EXT_extended_dynamic_state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32e0f7e09721d4097f7b134b679053f48c216668;p=mesa.git anv: toggle on VK_EXT_extended_dynamic_state Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 12dda3b2dee..e28d2422b6c 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -8,7 +8,7 @@ GL_EXT_texture_shadow_lod on llvmpipe VK_AMD_texture_gather_bias_lod on RADV. VK_AMD_gpu_shader_half_float on RADV/ACO. VK_AMD_gpu_shader_int16 on RADV/ACO. -VK_EXT_extended_dynamic_state on RADV. +VK_EXT_extended_dynamic_state on ANV and RADV. VK_EXT_image_robustness on RADV. VK_EXT_private_data on ANV and RADV. VK_EXT_custom_border_color on ANV and RADV. diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index b68b81f94dd..96b4e320801 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1447,6 +1447,13 @@ void anv_GetPhysicalDeviceFeatures2( break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: { + VkPhysicalDeviceExtendedDynamicStateFeaturesEXT *features = + (VkPhysicalDeviceExtendedDynamicStateFeaturesEXT *)ext; + features->extendedDynamicState = true; + break; + } + default: anv_debug_ignored_stype(ext->sType); break; diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py index 5245500cb7e..3bbbe828141 100644 --- a/src/intel/vulkan/anv_extensions.py +++ b/src/intel/vulkan/anv_extensions.py @@ -130,7 +130,7 @@ EXTENSIONS = [ Extension('VK_EXT_direct_mode_display', 1, 'VK_USE_PLATFORM_DISPLAY_KHR'), Extension('VK_EXT_display_control', 1, 'VK_USE_PLATFORM_DISPLAY_KHR'), Extension('VK_EXT_display_surface_counter', 1, 'VK_USE_PLATFORM_DISPLAY_KHR'), - Extension('VK_EXT_extended_dynamic_state', 1, False), + Extension('VK_EXT_extended_dynamic_state', 1, True), Extension('VK_EXT_external_memory_dma_buf', 1, True), Extension('VK_EXT_external_memory_host', 1, True), Extension('VK_EXT_fragment_shader_interlock', 1, 'device->info.gen >= 9'),