Skip to content

Commit d8b7e81

Browse files
Updated mesh shader limits to be llvmpipe compatible (#8004)
Co-authored-by: Andy Leiserson <[email protected]>
1 parent 074c0e7 commit d8b7e81

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

wgpu-types/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,8 +979,10 @@ impl Limits {
979979
// This very likely is never a real limiter
980980
max_task_workgroup_total_count: 65536,
981981
max_task_workgroups_per_dimension: 256,
982-
max_mesh_multiview_count: 1,
983-
max_mesh_output_layers: 1024,
982+
// llvmpipe reports 0 multiview count, which just means no multiview is allowed
983+
max_mesh_multiview_count: 0,
984+
// llvmpipe once again requires this to be 8. An RTX 3060 supports well over 1024.
985+
max_mesh_output_layers: 8,
984986
..self
985987
}
986988
}

0 commit comments

Comments
 (0)