anv: Sort extensions in enablement table
Several extensions were unsorted in anv_physical_device.c:get_device_extensions(). The worse was an EXT found between INTEL/NV. Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32205>
This commit is contained in:
@@ -140,8 +140,8 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.KHR_buffer_device_address = true,
|
||||
.KHR_calibrated_timestamps = device->has_reg_timestamp,
|
||||
.KHR_compute_shader_derivatives = true,
|
||||
.KHR_copy_commands2 = true,
|
||||
.KHR_cooperative_matrix = anv_has_cooperative_matrix(device),
|
||||
.KHR_copy_commands2 = true,
|
||||
.KHR_create_renderpass2 = true,
|
||||
.KHR_dedicated_allocation = true,
|
||||
.KHR_deferred_host_operations = true,
|
||||
@@ -259,11 +259,11 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.EXT_conservative_rasterization = true,
|
||||
.EXT_custom_border_color = true,
|
||||
.EXT_depth_bias_control = true,
|
||||
.EXT_depth_clamp_zero_one = true,
|
||||
.EXT_depth_clamp_control = true,
|
||||
.EXT_depth_clamp_zero_one = true,
|
||||
.EXT_depth_clip_control = true,
|
||||
.EXT_depth_range_unrestricted = device->info.ver >= 20,
|
||||
.EXT_depth_clip_enable = true,
|
||||
.EXT_depth_range_unrestricted = device->info.ver >= 20,
|
||||
.EXT_descriptor_buffer = true,
|
||||
.EXT_descriptor_indexing = true,
|
||||
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
|
||||
@@ -290,8 +290,8 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
*/
|
||||
.EXT_image_compression_control = device->instance->compression_control_enabled &&
|
||||
device->info.ver < 20,
|
||||
.EXT_image_robustness = true,
|
||||
.EXT_image_drm_format_modifier = true,
|
||||
.EXT_image_robustness = true,
|
||||
.EXT_image_sliced_view_of_3d = true,
|
||||
.EXT_image_view_min_lod = true,
|
||||
.EXT_index_type_uint8 = true,
|
||||
@@ -308,6 +308,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
device->vram_mappable.available > 0) &&
|
||||
device->sys.available,
|
||||
.EXT_mesh_shader = device->info.has_mesh_shading,
|
||||
.EXT_multi_draw = true,
|
||||
.EXT_mutable_descriptor_type = true,
|
||||
.EXT_nested_command_buffer = true,
|
||||
.EXT_non_seamless_cube_map = true,
|
||||
@@ -319,8 +320,8 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.EXT_pipeline_protected_access = device->has_protected_contexts,
|
||||
.EXT_pipeline_robustness = true,
|
||||
.EXT_post_depth_coverage = true,
|
||||
.EXT_primitives_generated_query = true,
|
||||
.EXT_primitive_topology_list_restart = true,
|
||||
.EXT_primitives_generated_query = true,
|
||||
.EXT_private_data = true,
|
||||
.EXT_provoking_vertex = true,
|
||||
.EXT_queue_family_foreign = true,
|
||||
@@ -361,9 +362,8 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.INTEL_performance_query = device->perf &&
|
||||
intel_perf_has_hold_preemption(device->perf),
|
||||
.INTEL_shader_integer_functions2 = true,
|
||||
.EXT_multi_draw = true,
|
||||
.NV_compute_shader_derivatives = true,
|
||||
.MESA_image_alignment_control = true,
|
||||
.NV_compute_shader_derivatives = true,
|
||||
.VALVE_mutable_descriptor_type = true,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user