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 <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>
This commit is contained in:
Rhys Perry
2022-12-15 20:51:25 +00:00
committed by Marge Bot
parent 192486b7aa
commit 74ceff1816

View 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;
}