radv/gfx11: disable mesh shaders
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 15 Dec 2022 20:51:25 +0000 (20:51 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Dec 2022 15:58:49 +0000 (15:58 +0000)
Even if the perftest is used, these should be disabled on GFX11. We
don't implement it yet

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: 22.3 <mesa-stable>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20358>

src/amd/vulkan/radv_device.c

index cb7c125..611aa67 100644 (file)
@@ -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;
 }