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: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/728>
macos/master
Chia-I Wu 3 years ago committed by Marge Bot
parent 356caedae2
commit 1c0ec811ee
  1. 7
      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

Loading…
Cancel
Save