radv: Enable mesh shading on GFX11.

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>
This commit is contained in:
Timur Kristóf 2023-03-15 13:07:15 -07:00 committed by Marge Bot
parent 59a4fb6af7
commit e743ddbbb4

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