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

Author: Rhys Perry <[email protected]>
Date:   Fri Jan  7 11:17:01 2022 +0000

radv: increase maxTaskOutputCount to 65535

This is the minimum required by the spec.

Fixes dEQP-VK.api.info.vulkan1p2_limits_validation.nv_mesh_shader

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14446>

---

 src/amd/vulkan/radv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index c62f59b6b29..bdd324d8c1c 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -2328,7 +2328,7 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice 
physicalDevice,
          properties->maxTaskWorkGroupSize[0] = 1024;
          properties->maxTaskWorkGroupSize[1] = 1024;
          properties->maxTaskWorkGroupSize[2] = 1024;
-         properties->maxTaskOutputCount = 1024;
+         properties->maxTaskOutputCount = 65535;
 
          /* Mesh shader limitations:
           * Same as NGG, because MS are compiled to NGG.

Reply via email to