From d8b7e81a0245965436744d318d7b2221cc2458df Mon Sep 17 00:00:00 2001 From: SupaMaggie70Incorporated <85136135+SupaMaggie70Incorporated@users.noreply.github.com> Date: Thu, 24 Jul 2025 23:05:12 -0500 Subject: [PATCH] Updated mesh shader limits to be llvmpipe compatible (#8004) Co-authored-by: Andy Leiserson --- wgpu-types/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 573028759..6252e5c67 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -979,8 +979,10 @@ impl Limits { // This very likely is never a real limiter max_task_workgroup_total_count: 65536, max_task_workgroups_per_dimension: 256, - max_mesh_multiview_count: 1, - max_mesh_output_layers: 1024, + // llvmpipe reports 0 multiview count, which just means no multiview is allowed + max_mesh_multiview_count: 0, + // llvmpipe once again requires this to be 8. An RTX 3060 supports well over 1024. + max_mesh_output_layers: 8, ..self } }