venus: move vendor ext to bottom and sort the ext list
authorYiwei Zhang <zzyiwei@chromium.org>
Mon, 3 Oct 2022 19:31:23 +0000 (19:31 +0000)
committerYiwei Zhang <zzyiwei@chromium.org>
Mon, 3 Oct 2022 19:31:23 +0000 (19:31 +0000)
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18940>

src/virtio/vulkan/vn_physical_device.c

index e2c58cc..15b0cf0 100644 (file)
@@ -1076,15 +1076,12 @@ vn_physical_device_get_passthrough_extensions(
       .EXT_conservative_rasterization = true,
       .EXT_custom_border_color = true,
       .EXT_depth_clip_enable = true,
-      .EXT_mutable_descriptor_type = true,
-
-      /* vendor */
-      .VALVE_mutable_descriptor_type = true,
       .EXT_image_drm_format_modifier = true,
       .EXT_image_view_min_lod = true,
       .EXT_index_type_uint8 = true,
       .EXT_line_rasterization = true,
       .EXT_multi_draw = true,
+      .EXT_mutable_descriptor_type = true,
       .EXT_primitive_topology_list_restart = true,
       /* TODO(VK_EXT_private_data): Support natively.
        *
@@ -1110,6 +1107,9 @@ vn_physical_device_get_passthrough_extensions(
       .EXT_shader_stencil_export = true,
       .EXT_transform_feedback = true,
       .EXT_vertex_attribute_divisor = true,
+
+      /* vendor */
+      .VALVE_mutable_descriptor_type = true,
    };
 }