From 5dfe49e58849d985f90367ddd77516b395dcebbf Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 11 Sep 2020 15:14:34 -0700 Subject: [PATCH] venus: advertise extensions promoted to 1.2 Signed-off-by: Chia-I Wu Reviewed-by: Ryan Neph Reviewed-by: Gert Wollny Part-of: --- src/virtio/vulkan/vn_device.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/virtio/vulkan/vn_device.c b/src/virtio/vulkan/vn_device.c index 789e028aa1e..edd855fa105 100644 --- a/src/virtio/vulkan/vn_device.c +++ b/src/virtio/vulkan/vn_device.c @@ -1392,6 +1392,32 @@ vn_physical_device_get_supported_extensions( .KHR_shader_draw_parameters = true, .KHR_storage_buffer_storage_class = true, .KHR_variable_pointers = true, + + /* promoted to VK_VERSION_1_2 */ + .KHR_8bit_storage = true, + .KHR_buffer_device_address = true, + .KHR_create_renderpass2 = true, + .KHR_depth_stencil_resolve = true, + .KHR_draw_indirect_count = true, + .KHR_driver_properties = true, + .KHR_image_format_list = true, + .KHR_imageless_framebuffer = true, + .KHR_sampler_mirror_clamp_to_edge = true, + .KHR_separate_depth_stencil_layouts = true, + .KHR_shader_atomic_int64 = true, + .KHR_shader_float16_int8 = true, + .KHR_shader_float_controls = true, + .KHR_shader_subgroup_extended_types = true, + .KHR_spirv_1_4 = true, + .KHR_timeline_semaphore = true, + .KHR_uniform_buffer_standard_layout = true, + .KHR_vulkan_memory_model = true, + .EXT_descriptor_indexing = true, + .EXT_host_query_reset = true, + .EXT_sampler_filter_minmax = true, + .EXT_scalar_block_layout = true, + .EXT_separate_stencil_usage = true, + .EXT_shader_viewport_index_layer = true, }; }