From: Rhys Perry Date: Thu, 15 Dec 2022 20:51:25 +0000 (+0000) Subject: radv/gfx11: disable mesh shaders X-Git-Tag: upstream/22.3.5~222 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d03c94fa820ba4d133ba776edd95eb782c5b2b59;p=platform%2Fupstream%2Fmesa.git 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: (cherry picked from commit 74ceff1816ff4145e41893f53e048d2b10a0e767) --- diff --git a/.pick_status.json b/.pick_status.json index a7bca82..c9b177c 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2371,7 +2371,7 @@ "description": "radv/gfx11: disable mesh shaders", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 9b26685..82c0b69 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -396,7 +396,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; }