From: Iván Briano Date: Tue, 5 Sep 2023 03:35:17 +0000 (-0700) Subject: anv: enable VK_EXT_mesh_shader where supported X-Git-Tag: upstream/23.3.3~2130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23f9e89fce63362698fbd72ed0af05f43206ee68;p=platform%2Fupstream%2Fmesa.git anv: enable VK_EXT_mesh_shader where supported Reviewed-by: Caio Oliveira Part-of: --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 92b1e7f..70febb2 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,