@@ -1321,7 +1321,7 @@ impl Limits {
13211321 /// min_uniform_buffer_offset_alignment: 256,
13221322 /// min_storage_buffer_offset_alignment: 256,
13231323 /// max_inter_stage_shader_components: 60,
1324- /// max_color_attachments: 8 ,
1324+ /// max_color_attachments: 4 ,
13251325 /// max_color_attachment_bytes_per_sample: 32,
13261326 /// max_compute_workgroup_storage_size: 16352, // *
13271327 /// max_compute_invocations_per_workgroup: 256,
@@ -1341,6 +1341,7 @@ impl Limits {
13411341 max_texture_dimension_3d : 256 ,
13421342 max_storage_buffers_per_shader_stage : 4 ,
13431343 max_uniform_buffer_binding_size : 16 << 10 , // (16 KiB)
1344+ max_color_attachments : 4 ,
13441345 // see: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf#page=7
13451346 max_compute_workgroup_storage_size : 16352 ,
13461347 ..Self :: defaults ( )
@@ -1378,7 +1379,7 @@ impl Limits {
13781379 /// min_uniform_buffer_offset_alignment: 256,
13791380 /// min_storage_buffer_offset_alignment: 256,
13801381 /// max_inter_stage_shader_components: 31,
1381- /// max_color_attachments: 8 ,
1382+ /// max_color_attachments: 4 ,
13821383 /// max_color_attachment_bytes_per_sample: 32,
13831384 /// max_compute_workgroup_storage_size: 0, // +
13841385 /// max_compute_invocations_per_workgroup: 0, // +
0 commit comments