@@ -1321,7 +1321,7 @@ impl Limits {
1321
1321
/// min_uniform_buffer_offset_alignment: 256,
1322
1322
/// min_storage_buffer_offset_alignment: 256,
1323
1323
/// max_inter_stage_shader_components: 60,
1324
- /// max_color_attachments: 8 ,
1324
+ /// max_color_attachments: 4 ,
1325
1325
/// max_color_attachment_bytes_per_sample: 32,
1326
1326
/// max_compute_workgroup_storage_size: 16352, // *
1327
1327
/// max_compute_invocations_per_workgroup: 256,
@@ -1341,6 +1341,7 @@ impl Limits {
1341
1341
max_texture_dimension_3d : 256 ,
1342
1342
max_storage_buffers_per_shader_stage : 4 ,
1343
1343
max_uniform_buffer_binding_size : 16 << 10 , // (16 KiB)
1344
+ max_color_attachments : 4 ,
1344
1345
// see: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf#page=7
1345
1346
max_compute_workgroup_storage_size : 16352 ,
1346
1347
..Self :: defaults ( )
@@ -1378,7 +1379,7 @@ impl Limits {
1378
1379
/// min_uniform_buffer_offset_alignment: 256,
1379
1380
/// min_storage_buffer_offset_alignment: 256,
1380
1381
/// max_inter_stage_shader_components: 31,
1381
- /// max_color_attachments: 8 ,
1382
+ /// max_color_attachments: 4 ,
1382
1383
/// max_color_attachment_bytes_per_sample: 32,
1383
1384
/// max_compute_workgroup_storage_size: 0, // +
1384
1385
/// max_compute_invocations_per_workgroup: 0, // +
0 commit comments