From 74ceff1816ff4145e41893f53e048d2b10a0e767 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 15 Dec 2022 20:51:25 +0000 Subject: [PATCH] radv/gfx11: disable mesh shaders Even if the perftest is used, these should be disabled on GFX11. We don't implement it yet Signed-off-by: Rhys Perry Reviewed-by: Samuel Pitoiset Cc: 22.3 Part-of: --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index cb7c1251d4e..611aa67fb98 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -413,7 +413,7 @@ radv_vrs_attachment_enabled(const struct radv_physical_device *pdevice) static bool radv_taskmesh_enabled(const struct radv_physical_device *pdevice) { - return pdevice->use_ngg && !pdevice->use_llvm && pdevice->rad_info.gfx_level >= GFX10_3 && + return pdevice->use_ngg && !pdevice->use_llvm && pdevice->rad_info.gfx_level == GFX10_3 && !(pdevice->instance->debug_flags & RADV_DEBUG_NO_COMPUTE_QUEUE) && pdevice->rad_info.has_scheduled_fence_dependency; }