Module: Mesa
Branch: main
Commit: e743ddbbb477e2858ec5e326e1ad942c0cc3350c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e743ddbbb477e2858ec5e326e1ad942c0cc3350c

Author: Timur Kristóf <[email protected]>
Date:   Wed Mar 15 13:07:15 2023 -0700

radv: Enable mesh shading on GFX11.

Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21409>

---

 src/amd/vulkan/radv_physical_device.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_physical_device.c 
b/src/amd/vulkan/radv_physical_device.c
index 4631eb11b58..447b8e10e52 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;
 }

Reply via email to