From 1c0ec811ee73106488dee36970891e7c144ec29f Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 4 Mar 2022 21:51:55 -0800 Subject: [PATCH] vkr: add some extensions used by dxvk Add VK_EXT_shader_demote_to_helper_invocation VK_EXT_conservative_rasterization VK_EXT_depth_clip_enable VK_EXT_robustness2 VK_EXT_shader_stencil_export VK_EXT_vertex_attribute_divisor Part-of: --- src/venus/vkr_common.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/venus/vkr_common.c b/src/venus/vkr_common.c index a2be614..5e9d8e8 100644 --- a/src/venus/vkr_common.c +++ b/src/venus/vkr_common.c @@ -84,7 +84,7 @@ static const struct vn_info_extension_table vkr_extension_table = { .EXT_pipeline_creation_cache_control = false, .EXT_pipeline_creation_feedback = false, .EXT_private_data = false, - .EXT_shader_demote_to_helper_invocation = false, + .EXT_shader_demote_to_helper_invocation = true, .EXT_subgroup_size_control = false, .EXT_texel_buffer_alignment = false, .EXT_texture_compression_astc_hdr = false, @@ -93,13 +93,18 @@ static const struct vn_info_extension_table vkr_extension_table = { /* KHR extensions */ .KHR_external_memory_fd = true, /* EXT extensions */ + .EXT_conservative_rasterization = true, .EXT_custom_border_color = true, + .EXT_depth_clip_enable = true, .EXT_external_memory_dma_buf = true, .EXT_image_drm_format_modifier = true, .EXT_line_rasterization = true, .EXT_provoking_vertex = true, .EXT_queue_family_foreign = true, + .EXT_robustness2 = true, + .EXT_shader_stencil_export = true, .EXT_transform_feedback = true, + .EXT_vertex_attribute_divisor = true, }; void