anv: enable VK_EXT_mesh_shader where supported
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25047>
This commit is contained in:
@@ -209,12 +209,6 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
|
||||
const bool rt_enabled = ANV_SUPPORT_RT && device->info.has_ray_tracing;
|
||||
|
||||
/* We are still seeing some failures with mesh and graphics pipeline
|
||||
* libraries used together, so disable mesh by default.
|
||||
*/
|
||||
const bool mesh_shader_enabled = device->info.has_mesh_shading &&
|
||||
debug_get_bool_option("ANV_MESH_SHADER", false);
|
||||
|
||||
*ext = (struct vk_device_extension_table) {
|
||||
.KHR_8bit_storage = true,
|
||||
.KHR_16bit_storage = !device->instance->no_16bit,
|
||||
@@ -350,7 +344,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.EXT_memory_budget = (!device->info.has_local_mem ||
|
||||
device->vram_mappable.available > 0) &&
|
||||
device->sys.available,
|
||||
.EXT_mesh_shader = mesh_shader_enabled,
|
||||
.EXT_mesh_shader = device->info.has_mesh_shading,
|
||||
.EXT_mutable_descriptor_type = true,
|
||||
.EXT_non_seamless_cube_map = true,
|
||||
.EXT_pci_bus_info = true,
|
||||
|
Reference in New Issue
Block a user