@@ -1324,7 +1324,7 @@ impl Limits {
1324
1324
/// min_uniform_buffer_offset_alignment: 256,
1325
1325
/// min_storage_buffer_offset_alignment: 256,
1326
1326
/// max_inter_stage_shader_components: 60,
1327
- /// max_color_attachments: 8 ,
1327
+ /// max_color_attachments: 4 ,
1328
1328
/// max_color_attachment_bytes_per_sample: 32,
1329
1329
/// max_compute_workgroup_storage_size: 16352, // *
1330
1330
/// max_compute_invocations_per_workgroup: 256,
@@ -1344,6 +1344,7 @@ impl Limits {
1344
1344
max_texture_dimension_3d : 256 ,
1345
1345
max_storage_buffers_per_shader_stage : 4 ,
1346
1346
max_uniform_buffer_binding_size : 16 << 10 , // (16 KiB)
1347
+ max_color_attachments : 4 ,
1347
1348
// see: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf#page=7
1348
1349
max_compute_workgroup_storage_size : 16352 ,
1349
1350
..Self :: defaults ( )
@@ -1381,7 +1382,7 @@ impl Limits {
1381
1382
/// min_uniform_buffer_offset_alignment: 256,
1382
1383
/// min_storage_buffer_offset_alignment: 256,
1383
1384
/// max_inter_stage_shader_components: 31,
1384
- /// max_color_attachments: 8 ,
1385
+ /// max_color_attachments: 4 ,
1385
1386
/// max_color_attachment_bytes_per_sample: 32,
1386
1387
/// max_compute_workgroup_storage_size: 0, // +
1387
1388
/// max_compute_invocations_per_workgroup: 0, // +
0 commit comments