From: Timur Kristóf Date: Wed, 15 Mar 2023 20:07:15 +0000 (-0700) Subject: radv: Enable mesh shading on GFX11. X-Git-Tag: upstream/23.3.3~11224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e743ddbbb477e2858ec5e326e1ad942c0cc3350c;p=platform%2Fupstream%2Fmesa.git radv: Enable mesh shading on GFX11. Signed-off-by: Timur Kristóf Reviewed-by: Samuel Pitoiset Part-of: --- diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 4631eb1..447b8e1 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -70,8 +70,7 @@ radv_perf_query_supported(const struct radv_physical_device *pdev) static bool radv_taskmesh_enabled(const struct radv_physical_device *pdevice) { - /* TODO: implement task/mesh on GFX11 */ - 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 | RADV_DEBUG_NO_IBS)) && pdevice->rad_info.has_gang_submit; }