diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 92b1e7f771a..70febb2e7c5 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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,