Module: Mesa
Branch: master
Commit: 72799886e7e10202e2756ad93fd93d59b11f900b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=72799886e7e10202e2756ad93fd93d59b11f900b

Author: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Date:   Thu Oct 15 11:08:26 2020 +0200

radv: report latest extension spec versions

Found with the vulkan extension checker tool.

Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7158>

---

 src/amd/vulkan/radv_extensions.py | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/amd/vulkan/radv_extensions.py 
b/src/amd/vulkan/radv_extensions.py
index 5d6f550637a..5084b523b21 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -62,10 +62,10 @@ EXTENSIONS = [
     Extension('VK_KHR_buffer_device_address',             1, True),
     Extension('VK_KHR_copy_commands2',                    1, True),
     Extension('VK_KHR_create_renderpass2',                1, True),
-    Extension('VK_KHR_dedicated_allocation',              1, True),
+    Extension('VK_KHR_dedicated_allocation',              3, True),
     Extension('VK_KHR_depth_stencil_resolve',             1, True),
     Extension('VK_KHR_descriptor_update_template',        1, True),
-    Extension('VK_KHR_device_group',                      1, True),
+    Extension('VK_KHR_device_group',                      4, True),
     Extension('VK_KHR_device_group_creation',             1, True),
     Extension('VK_KHR_draw_indirect_count',               1, True),
     Extension('VK_KHR_driver_properties',                 1, True),
@@ -85,19 +85,19 @@ EXTENSIONS = [
     Extension('VK_KHR_image_format_list',                 1, True),
     Extension('VK_KHR_imageless_framebuffer',             1, True),
     Extension('VK_KHR_incremental_present',               1, 
'RADV_HAS_SURFACE'),
-    Extension('VK_KHR_maintenance1',                      1, True),
+    Extension('VK_KHR_maintenance1',                      2, True),
     Extension('VK_KHR_maintenance2',                      1, True),
     Extension('VK_KHR_maintenance3',                      1, True),
     Extension('VK_KHR_pipeline_executable_properties',    1, True),
-    Extension('VK_KHR_push_descriptor',                   1, True),
+    Extension('VK_KHR_push_descriptor',                   2, True),
     Extension('VK_KHR_relaxed_block_layout',              1, True),
-    Extension('VK_KHR_sampler_mirror_clamp_to_edge',      1, True),
-    Extension('VK_KHR_sampler_ycbcr_conversion',          1, True),
+    Extension('VK_KHR_sampler_mirror_clamp_to_edge',      3, True),
+    Extension('VK_KHR_sampler_ycbcr_conversion',         14, True),
     Extension('VK_KHR_separate_depth_stencil_layouts',    1, True),
     Extension('VK_KHR_shader_atomic_int64',               1, 
'LLVM_VERSION_MAJOR >= 9 || !device->use_llvm'),
     Extension('VK_KHR_shader_clock',                      1, True),
     Extension('VK_KHR_shader_draw_parameters',            1, True),
-    Extension('VK_KHR_shader_float_controls',             1, True),
+    Extension('VK_KHR_shader_float_controls',             4, True),
     Extension('VK_KHR_shader_float16_int8',               1, True),
     Extension('VK_KHR_shader_non_semantic_info',          1, True),
     Extension('VK_KHR_shader_subgroup_extended_types',    1, True),
@@ -105,7 +105,7 @@ EXTENSIONS = [
     Extension('VK_KHR_storage_buffer_storage_class',      1, True),
     Extension('VK_KHR_surface',                          25, 
'RADV_HAS_SURFACE'),
     Extension('VK_KHR_surface_protected_capabilities',    1, 
'RADV_HAS_SURFACE'),
-    Extension('VK_KHR_swapchain',                        68, 
'RADV_HAS_SURFACE'),
+    Extension('VK_KHR_swapchain',                        70, 
'RADV_HAS_SURFACE'),
     Extension('VK_KHR_swapchain_mutable_format',          1, 
'RADV_HAS_SURFACE'),
     Extension('VK_KHR_timeline_semaphore',                2, 
'device->rad_info.has_syncobj_wait_for_submit'),
     Extension('VK_KHR_uniform_buffer_standard_layout',    1, True),
@@ -119,9 +119,9 @@ EXTENSIONS = [
     Extension('VK_KHR_8bit_storage',                      1, True),
     Extension('VK_EXT_direct_mode_display',               1, 
'VK_USE_PLATFORM_DISPLAY_KHR'),
     Extension('VK_EXT_acquire_xlib_display',              1, 
'VK_USE_PLATFORM_XLIB_XRANDR_EXT'),
-    Extension('VK_EXT_buffer_device_address',             1, True),
+    Extension('VK_EXT_buffer_device_address',             2, True),
     Extension('VK_EXT_calibrated_timestamps',             1, True),
-    Extension('VK_EXT_conditional_rendering',             1, True),
+    Extension('VK_EXT_conditional_rendering',             2, True),
     Extension('VK_EXT_conservative_rasterization',        1, 
'device->rad_info.chip_class >= GFX9'),
     Extension('VK_EXT_custom_border_color',               12, True),
     Extension('VK_EXT_display_surface_counter',           1, 
'VK_USE_PLATFORM_DISPLAY_KHR'),
@@ -134,7 +134,7 @@ EXTENSIONS = [
     Extension('VK_EXT_extended_dynamic_state',            1, True),
     Extension('VK_EXT_external_memory_dma_buf',           1, True),
     Extension('VK_EXT_external_memory_host',              1, 
'device->rad_info.has_userptr'),
-    Extension('VK_EXT_global_priority',                   1, 
'device->rad_info.has_ctx_priority'),
+    Extension('VK_EXT_global_priority',                   2, 
'device->rad_info.has_ctx_priority'),
     Extension('VK_EXT_host_query_reset',                  1, True),
     Extension('VK_EXT_image_robustness',                  1, True),
     Extension('VK_EXT_index_type_uint8',                  1, 
'device->rad_info.chip_class >= GFX8'),
@@ -152,7 +152,7 @@ EXTENSIONS = [
     Extension('VK_EXT_robustness2',                       1, True),
     # Disable sample locations on GFX10 until the CTS failures have been 
resolved.
     Extension('VK_EXT_sample_locations',                  1, 
'device->rad_info.chip_class < GFX10'),
-    Extension('VK_EXT_sampler_filter_minmax',             1, True),
+    Extension('VK_EXT_sampler_filter_minmax',             2, True),
     Extension('VK_EXT_scalar_block_layout',               1, 
'device->rad_info.chip_class >= GFX7'),
     Extension('VK_EXT_shader_atomic_float',               1, True),
     Extension('VK_EXT_shader_demote_to_helper_invocation',1, 
'LLVM_VERSION_MAJOR >= 9 || !device->use_llvm'),
@@ -167,16 +167,16 @@ EXTENSIONS = [
     Extension('VK_EXT_ycbcr_image_arrays',                1, True),
     Extension('VK_AMD_buffer_marker',                     1, True),
     Extension('VK_AMD_device_coherent_memory',            1, True),
-    Extension('VK_AMD_draw_indirect_count',               1, True),
+    Extension('VK_AMD_draw_indirect_count',               2, True),
     Extension('VK_AMD_gcn_shader',                        1, True),
-    Extension('VK_AMD_gpu_shader_half_float',             1, 
'device->rad_info.has_packed_math_16bit'),
-    Extension('VK_AMD_gpu_shader_int16',                  1, 
'device->rad_info.has_packed_math_16bit'),
+    Extension('VK_AMD_gpu_shader_half_float',             2, 
'device->rad_info.has_packed_math_16bit'),
+    Extension('VK_AMD_gpu_shader_int16',                  2, 
'device->rad_info.has_packed_math_16bit'),
     Extension('VK_AMD_memory_overallocation_behavior',    1, True),
     # Disable mixed attachment samples on GFX6-GFX7 until the CTS failures 
have been resolved.
     Extension('VK_AMD_mixed_attachment_samples',          1, 
'device->rad_info.chip_class >= GFX8'),
     Extension('VK_AMD_rasterization_order',               1, 
'device->rad_info.has_out_of_order_rast'),
     Extension('VK_AMD_shader_ballot',                     1, True),
-    Extension('VK_AMD_shader_core_properties',            1, True),
+    Extension('VK_AMD_shader_core_properties',            2, True),
     Extension('VK_AMD_shader_core_properties2',           1, True),
     Extension('VK_AMD_shader_explicit_vertex_parameter',  1, True),
     Extension('VK_AMD_shader_image_load_store_lod',       1, True),

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to