radv: Enable mesh shading on GFX11.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 15 Mar 2023 20:07:15 +0000 (13:07 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 11:49:35 +0000 (11:49 +0000)
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21409>

src/amd/vulkan/radv_physical_device.c

index 4631eb1..447b8e1 100644 (file)
@@ -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;
 }