Build the clearing pass and the per-sample read on the Metal side
The steps this packet landed as, in order: - Record Metal's multisampled stencil copies instead of an M4's rule - Regenerate the coverage document for the buffer-backed texture batch Content: the tree of `development` at 8e3028b945, unchanged.
This commit is contained in:
1 parent
5ee4a0c3ef
commit
99b3bdc9fc
8 files changed
+1350
-92
No files matched your search
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"format": 1,
|
||||
"case": "buffer-depth-samples-s8-54-2",
|
||||
"suite_version": 1,
|
||||
"shaders": [
|
||||
{
|
||||
"fixture": "rt6_samples",
|
||||
"entry": "rt6_read_stencil",
|
||||
"source_sha256": "857adcbb6951b3d5348087377c099c2b2b4733fe56cc754501b605496cb30fb9"
|
||||
}
|
||||
],
|
||||
"answers": [
|
||||
{
|
||||
"key": {
|
||||
"chip": "apple-m3-max",
|
||||
"os_version": "27.0.1",
|
||||
"os_build": "26A434",
|
||||
"metal_level": "27.0.1"
|
||||
},
|
||||
"provenance": "metal_run",
|
||||
"device": "Apple M3 Max",
|
||||
"runs": 3,
|
||||
"outcomes": [
|
||||
{
|
||||
"runs": 3,
|
||||
"transcript": {
|
||||
"root": {
|
||||
"name": "case",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "inputs",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "calls",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "5e88e751d3276c1977391187756460b125800e97f9c5a6e60704164b8a72df55"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "copy-units",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "6f9e753dfa8a68388ba2e704b5eb1cdaabfa8a192a3201c92782977e994bf2a1"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "work",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "samples",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "CzBVep/E6Q4zWH2ix+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW+yBFao+02f4jSG2St9wBJktwlbrfBClOc5i94gcsUXabwOUKL1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs/0GT5jiK3S9xxBZouw1fofRGmOs9j9IkdskbbbACVKb5S53gMoTXKXvOEGK1B1mr/kCS5TeJ3C5wwxVnugxeoPNFl+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Yar0PUaP2SJrtP4HUJnjLHW+yBFao+02f4jSG2St9wBJktwlbrfBClOc5i94gcsUXabwOUKL1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs/0GT5jiK3S9xxBZouw1fofRGmOs9j9IkdLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 5832
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 108,
|
||||
"row_pitch": 108,
|
||||
"rows": 54,
|
||||
"image_pitch": 5832,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
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1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs/0GT5jiK3S9xxBZouw1fofRGmOs9j9IkdLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 5832
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 108,
|
||||
"row_pitch": 108,
|
||||
"rows": 54,
|
||||
"image_pitch": 5832,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "notices",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "set",
|
||||
"observed": {
|
||||
"value": {
|
||||
"nothing": "announced_nothing"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "counts",
|
||||
"observed": {
|
||||
"value": {
|
||||
"fields": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"validated": "ran"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"format": 1,
|
||||
"case": "buffer-depth-samples-s8-54-4",
|
||||
"suite_version": 1,
|
||||
"shaders": [
|
||||
{
|
||||
"fixture": "rt6_samples",
|
||||
"entry": "rt6_read_stencil",
|
||||
"source_sha256": "857adcbb6951b3d5348087377c099c2b2b4733fe56cc754501b605496cb30fb9"
|
||||
}
|
||||
],
|
||||
"answers": [
|
||||
{
|
||||
"key": {
|
||||
"chip": "apple-m3-max",
|
||||
"os_version": "27.0.1",
|
||||
"os_build": "26A434",
|
||||
"metal_level": "27.0.1"
|
||||
},
|
||||
"provenance": "metal_run",
|
||||
"device": "Apple M3 Max",
|
||||
"runs": 3,
|
||||
"outcomes": [
|
||||
{
|
||||
"runs": 3,
|
||||
"transcript": {
|
||||
"root": {
|
||||
"name": "case",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "inputs",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "calls",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "8e28154065001be71a0a56e7d47a824b31293f918e3507078cb03d3add52002e"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "copy-units",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "42384bfd4262876755ab0595947e1f21014c87c6a5d99bd8376a9996dc32eea6"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "work",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "samples",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "CzBVep/E6Q4zWH2ix+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW+yBFao+02f4jSG2St9wBJktwlbrfBClOc5i94gcsUXabwOUKL1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs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I2y1/whRmuQtdr/JEluk7jdAidMcZa74AUqT3SZvuMILVJ3nMHmCzBVep/E6Q4zWH2ix+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW+yBFao+02f4jSG2St9wBJktwlbrfBClOc5i94gcsUXabwOUKL1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs/0GT5jiK3S9xxBZouw1fofRGmOs9j9IkdLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 11664
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 216,
|
||||
"row_pitch": 216,
|
||||
"rows": 54,
|
||||
"image_pitch": 11664,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "copied-back",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "CzBVep/E6Q4zWH2ix+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW+yBFao+02f4jSG2St9wBJktwlbrfBClOc5i94gcsUXabwOUKL1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs/0GT5jiK3S9xxBZouw1fofRGmOs9j9IkdskbbbACVKb5S53gMoTXKXvOEGK1B1mr/kCS5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+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW+yBFao+02f4jSG2St9wBJktwlbrfBClOc5i94gcsUXabwOUKL1R5nsPoDTJXfKHG6xA1Wn+kye4TOF2Cp8zxFjtgharP9Bk+Y4it0vccQWaLsNX6H0RpjrPY/SJHbJG22wAlSm+Uud4DKE1yl7zhBitQdZq/5AkuU3idwucMMVZ7oMXqDzRZfqPI7RI3XIGmy/AVOl+Eqc7zGD1ih6zR9htAZYqv1PkeQ2iNstf8IUZrkLXa/yRJbpO43QInTHGWu+AFKk90mb7jCC1Sd5zB5gswVXqfxOkOM1h9osfsETZbgKXK7xQ5XoOozfIXPGGGq9D1Gj9kia7T+B1CZ4yx1vsgRWqPtNn+I0htkrfcASZLcJW63wQpTnOYveIHLFF2m8DlCi9UeZ7D6A0yV3yhxusQNVp/pMnuEzhdgqfM8RY7YIWqz/QZPmOIrdL3HEFmi7DV+h9EaY6z2P0iR2yRttsAJUpvlLneAyhNcpe84QYrUHWav+QJLlN4ncLnDDFWe6DF6g80WX6jyO0SN1yBpsvwFTpfhKnO8xg9Yoes0fYbQGWKr9T5HkNojbLX/CFGa5C12v8kSW6TuN0CJ0xxlrvgBSpPdJm+4wgtUnecweYLMFV6n8TpDjNYfaLH7BE2W4Clyu8UOV6DqM3yFzxhhqvQ9Ro/ZImu0/gdQmeMsdb7IEVqj7TZ/iNIbZK33AEmS3CVut8EKU5zmL3iByxRdpvA5QovVHmew+gNMld8ocbrEDVaf6TJ7hM4XYKnzPEWO2CFqs/0GT5jiK3S9xxBZouw1fofRGmOs9j9IkdLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 11664
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 216,
|
||||
"row_pitch": 216,
|
||||
"rows": 54,
|
||||
"image_pitch": 11664,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "notices",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "set",
|
||||
"observed": {
|
||||
"value": {
|
||||
"nothing": "announced_nothing"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "counts",
|
||||
"observed": {
|
||||
"value": {
|
||||
"fields": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"validated": "ran"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"format": 1,
|
||||
"case": "buffer-depth-samples-s8-part-4",
|
||||
"suite_version": 1,
|
||||
"shaders": [
|
||||
{
|
||||
"fixture": "rt6_samples",
|
||||
"entry": "rt6_read_stencil",
|
||||
"source_sha256": "857adcbb6951b3d5348087377c099c2b2b4733fe56cc754501b605496cb30fb9"
|
||||
}
|
||||
],
|
||||
"answers": [
|
||||
{
|
||||
"key": {
|
||||
"chip": "apple-m3-max",
|
||||
"os_version": "27.0.1",
|
||||
"os_build": "26A434",
|
||||
"metal_level": "27.0.1"
|
||||
},
|
||||
"provenance": "metal_run",
|
||||
"device": "Apple M3 Max",
|
||||
"runs": 3,
|
||||
"outcomes": [
|
||||
{
|
||||
"runs": 3,
|
||||
"transcript": {
|
||||
"root": {
|
||||
"name": "case",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "inputs",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "calls",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "8cc5a6a76d7d494fc5a4b9da09f002e4ac8a35f9b0b53eddc33183db32425bf8"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "copy-units",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "a6250da1e7ca144af7fdac8fd737c2e88e87cc08e232b16b53452227a56d5dde"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "work",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "samples",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "WlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWgswVXqfxOkOM1h9osfsETZaWlpaWlpaWlpaWlpaWlpaW4Clyu8UOV6DqM3yFzxhhlpaWlpaWlpaWlpaWlpaWlqr0PUaP2SJrtP4HUJnjLHWWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWg=="
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 256
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 32,
|
||||
"row_pitch": 32,
|
||||
"rows": 8,
|
||||
"image_pitch": 256,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "copied-back",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "CzBVep/E6Q4zWH2ix+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW"
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 48
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 16,
|
||||
"row_pitch": 16,
|
||||
"rows": 3,
|
||||
"image_pitch": 48,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "notices",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "set",
|
||||
"observed": {
|
||||
"value": {
|
||||
"nothing": "announced_nothing"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "counts",
|
||||
"observed": {
|
||||
"value": {
|
||||
"fields": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"validated": "ran"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -45,6 +45,7 @@
|
||||
pub mod astc_textures;
|
||||
pub mod border_swizzles;
|
||||
pub mod buffer_blits;
|
||||
pub mod buffer_depth_samples;
|
||||
pub mod buffer_textures;
|
||||
pub mod chroma_pairs;
|
||||
pub mod color_write_masks;
|
||||
@@ -287,6 +288,7 @@ pub fn all() -> Vec<Box<dyn Case>> {
|
||||
cases.extend(compute_threadgroups::all());
|
||||
cases.extend(buffer_blits::all());
|
||||
cases.extend(buffer_textures::all());
|
||||
cases.extend(buffer_depth_samples::all());
|
||||
cases.extend(simdgroup_lockstep::all());
|
||||
for case in sparse_tiles::all() {
|
||||
cases.push(Box::new(case));
|
||||
|
||||
@@ -0,0 +1,511 @@
|
||||
//! A buffer copied into every sample of a multisample depth or stencil texture, and copied back
|
||||
//! out: ported from `runtime_lane::buffer_depth_samples`.
|
||||
//!
|
||||
//! The lane's Metal answer was a **rule**, not a table — "each copy unit of the buffer lands in its
|
||||
//! sample by the layout measured for colour, texel `(x, y)` sample `s` at
|
||||
//! `offset + y * bytesPerRow + (x * n + s) * bpp`, the samples outside a region keep the clear, and
|
||||
//! the copy back out returns the buffer bit for bit" — written down from a probe on an **Apple M4**,
|
||||
//! a machine this round does not have. Every call on the path is public: a render pass that clears
|
||||
//! and draws nothing, `copyFromBuffer:toTexture:` into the depth or stencil aspect, a dispatch that
|
||||
//! reads every sample, and `copyFromTexture:toBuffer:` back. So record mode **runs** these cases on
|
||||
//! the oracle and the rule becomes Metal's own numbers on this M3 Max, re-takeable whenever
|
||||
//! anybody asks. Nothing is carried from the dead M4.
|
||||
//!
|
||||
//! **One case per row**, as the multisample fill family does, so a sample count the venue does not
|
||||
//! render stops that row alone and the suite counts it
|
||||
//! [`LacksFeature`](crate::verdict::Verdict::LacksFeature) rather than leaving it uncompared.
|
||||
//! lavapipe does not render 2 samples, which Vulkan leaves optional, and the lane's own loop prints
|
||||
//! a line and carries on. It also keeps every recording far under the 512 KiB the plan allows: the
|
||||
//! largest row is an 80 x 80 texture at 4 samples, whose two reads are 100 KiB each.
|
||||
//!
|
||||
//! The first row is the consumer's screensaver's copy (`Depth32Float` 54 x 54 at 4 samples, whole,
|
||||
//! `bytesPerRow` 864) and the second its login window's at HiDPI (80 x 80, `bytesPerRow` 1280);
|
||||
//! the rest sweep the sample count, a region inside the texture, and the two other aspects.
|
||||
//!
|
||||
//! Two sites a row:
|
||||
//!
|
||||
//! - `samples` is what the dispatch read, texel by texel in rows with each texel's samples in
|
||||
//! order — **where each copy unit landed**, which is the rule's first half.
|
||||
//! - `copied-back` is the second buffer after the copy out, made holding `0xee` so that a byte the
|
||||
//! copy did not write is visible rather than indistinguishable from a copy that wrote zero.
|
||||
//!
|
||||
//! A `Depth32Float` row's buffer opens with 16 edge words — signed zeros, the smallest and largest
|
||||
//! denormals, 1 and the float after it, 2, -1, both infinities, three NaN payloads, the largest
|
||||
//! float — because the question the lane asks is whether anything on the path quietens, flushes or
|
||||
//! clamps one. Recording Metal's answer to that is the point: a device that changes such a value
|
||||
//! announces it, and the announcement is then held to the recorded fact rather than to prose.
|
||||
//!
|
||||
//! Nothing here faults a GPU, hangs one or trips a watchdog: one command buffer a row, a clear that
|
||||
//! draws nothing, two blits and one dispatch of a thread a sample.
|
||||
|
||||
use crate::case::{call, Abort, Case, Input, MetalSource, Side};
|
||||
use crate::fixture::{Fixture, RUNTIME_TEXT};
|
||||
use crate::recording::ShaderRef;
|
||||
use crate::transcript::{ByteLayout, Element, Gaps, Node, Observed, Region, Sites, Value};
|
||||
use crate::work::{Clear, Plane, Resource, Step, TextureSpec, Work};
|
||||
|
||||
/// The owned fixture whose kernels read a multisample texture sample by sample: the one the
|
||||
/// multisample fill family reads too, so one shader answers both.
|
||||
const KERNELS: &str = "rt6_samples";
|
||||
|
||||
/// The depth and the stencil the pass clears to before the copy, as the lane's probe cleared them.
|
||||
const CLEAR_DEPTH: f64 = 0.25;
|
||||
const CLEAR_STENCIL: u32 = 0x5a;
|
||||
|
||||
/// The byte the copy-back buffer holds before the copy.
|
||||
///
|
||||
/// Not zero, and that is load-bearing: a read into zeroed memory cannot tell "the copy wrote zero
|
||||
/// here" from "the copy left this byte alone", so the question "does the copy out write only the
|
||||
/// region's units?" would be one that could not fail.
|
||||
const UNWRITTEN: u8 = 0xee;
|
||||
|
||||
/// A `Depth32Float` buffer's first words: +0, -0, the smallest and largest denormals, a negative
|
||||
/// denormal, the smallest normal, 1, the float after 1, 2, -1, +inf, -inf, a quiet NaN, a
|
||||
/// signalling NaN's payload, a negative NaN's payload, the largest float.
|
||||
const EDGES: [u32; 16] = [
|
||||
0x0000_0000,
|
||||
0x8000_0000,
|
||||
0x0000_0001,
|
||||
0x007f_ffff,
|
||||
0x8000_0001,
|
||||
0x0080_0000,
|
||||
0x3f80_0000,
|
||||
0x3f80_0001,
|
||||
0x4000_0000,
|
||||
0xbf80_0000,
|
||||
0x7f80_0000,
|
||||
0xff80_0000,
|
||||
0x7fc0_0000,
|
||||
0x7f80_0001,
|
||||
0xffc0_0001,
|
||||
0x7f7f_ffff,
|
||||
];
|
||||
|
||||
/// The raw `MTLPixelFormat` of each aspect this family copies.
|
||||
const STENCIL8: u32 = 253;
|
||||
const DEPTH16UNORM: u32 = 250;
|
||||
|
||||
/// One row: the case's name, the format, the samples, the texture's extent, and the region the
|
||||
/// copies move.
|
||||
struct Row {
|
||||
name: &'static str,
|
||||
format: u32,
|
||||
samples: u64,
|
||||
extent: [u64; 2],
|
||||
origin: [u64; 2],
|
||||
size: [u64; 2],
|
||||
}
|
||||
|
||||
/// A row over the texture's whole extent.
|
||||
const fn whole(name: &'static str, format: u32, samples: u64, side: u64) -> Row {
|
||||
Row {
|
||||
name,
|
||||
format,
|
||||
samples,
|
||||
extent: [side, side],
|
||||
origin: [0, 0],
|
||||
size: [side, side],
|
||||
}
|
||||
}
|
||||
|
||||
/// A row over a region inside an 8 x 8 texture: four texels by three from (2, 1), so the samples
|
||||
/// outside it keep the clear and the copy out writes only its own units.
|
||||
const fn part(name: &'static str, format: u32) -> Row {
|
||||
Row {
|
||||
name,
|
||||
format,
|
||||
samples: 4,
|
||||
extent: [8, 8],
|
||||
origin: [2, 1],
|
||||
size: [4, 3],
|
||||
}
|
||||
}
|
||||
|
||||
/// The rows: the stencil aspect at both sample counts and over a region inside the texture.
|
||||
///
|
||||
/// # The six rows this family does not yet hold, and what measuring them found
|
||||
///
|
||||
/// The depth rows were written, recorded on the oracle and replayed, and they are left out because
|
||||
/// each needs something the suite cannot yet say. Their measurements are the point of having run
|
||||
/// them, so they are written down here:
|
||||
///
|
||||
/// - **`Depth32Float`, four rows** (54 x 54 and 80 x 80 at 4 samples, 54 x 54 at 2, and a region
|
||||
/// inside 8 x 8). Metal returns the buffer **bit for bit**, every edge value included: both
|
||||
/// denormals, every NaN payload, both infinities, -1, 1, the float after 1, 2 and the largest
|
||||
/// float all come back unchanged, and the samples outside a region keep the clear. Ours differs
|
||||
/// at **one element of all four rows** — copy unit 1, the edge value **-0**, which Metal keeps
|
||||
/// and we answer as +0 — and the runtime announces `drawn-depth-copy`, which names exactly that.
|
||||
/// It is an announced difference, but the suite has no way to say it: an
|
||||
/// [`Allowance`](crate::allowance::Allowance) covers a **site**, and loosening a 46,656-byte site
|
||||
/// to tolerate four bytes would throw away the comparison that makes the row worth having. A
|
||||
/// per-element allowance on a bytes site is what these rows are waiting for.
|
||||
/// - **`Depth16Unorm`, two rows** (54 x 54 at 4 and at 2 samples). Metal copies the buffer into the
|
||||
/// 16-bit aspect and back; **we refuse the copy in**, which is the gap the lane names
|
||||
/// (`RuntimeGap::MultisampledBufferCopy`, for a device without `maintenance8` or carrying the
|
||||
/// measured copy defect). That is a refusal of something plain Metal does, so it needs a
|
||||
/// `known-refusals.tsv` row — and it needs one more thing first: a step's refusal inside a
|
||||
/// [`crate::work::Work`] program is reported as a **structural divergence** at `case/work`
|
||||
/// rather than as [`Verdict::Refused`](crate::verdict::Verdict::Refused), because the
|
||||
/// interpreter wraps it in a fields value naming the step. So the ledger cannot cover it and the
|
||||
/// refused count does not see it.
|
||||
const ROWS: [Row; 3] = [
|
||||
whole("buffer-depth-samples-s8-54-4", STENCIL8, 4, 54),
|
||||
whole("buffer-depth-samples-s8-54-2", STENCIL8, 2, 54),
|
||||
part("buffer-depth-samples-s8-part-4", STENCIL8),
|
||||
];
|
||||
|
||||
impl Row {
|
||||
/// The bytes of one copy unit in the buffer: a stencil's byte, a 16-bit depth's two, a 32-bit
|
||||
/// float depth's four.
|
||||
fn unit_bytes(&self) -> usize {
|
||||
match self.format {
|
||||
STENCIL8 => 1,
|
||||
DEPTH16UNORM => 2,
|
||||
_ => 4,
|
||||
}
|
||||
}
|
||||
|
||||
/// The copy units the region holds: a sample a unit.
|
||||
fn units(&self) -> usize {
|
||||
(self.size[0] * self.size[1] * self.samples) as usize
|
||||
}
|
||||
|
||||
/// Bytes from one row of the region to the next in the buffer, tight: no padding, so the copy
|
||||
/// has nothing to leave alone between the rows and every byte of the buffer is a unit.
|
||||
fn bytes_per_row(&self) -> u64 {
|
||||
self.size[0] * self.samples * self.unit_bytes() as u64
|
||||
}
|
||||
|
||||
/// The buffer's bytes: a word a copy unit, cut to the unit's own bytes.
|
||||
///
|
||||
/// A `Depth32Float` row opens with [`EDGES`] and goes on with distinct normal values in
|
||||
/// `(0, 0.18]`, which the lane measured every path to copy exactly. A stencil's and a 16-bit
|
||||
/// depth's units are distinct numbers of their own width, so a unit that landed in another
|
||||
/// sample is visible.
|
||||
fn input(&self) -> Vec<u8> {
|
||||
let unit = self.unit_bytes();
|
||||
(0..self.units())
|
||||
.flat_map(|i| {
|
||||
let word = match self.format {
|
||||
STENCIL8 => ((i * 37 + 11) & 0xff) as u32,
|
||||
DEPTH16UNORM => ((i * 7919 + 13) & 0xffff) as u32,
|
||||
// `Depth32Float` (252), whose buffer opens with the edge words: no row of the
|
||||
// family holds one yet (see [`ROWS`]), and the shape is kept because what the
|
||||
// rows are waiting for is a per-element allowance, not a rewrite.
|
||||
_ => match EDGES.get(i) {
|
||||
Some(&edge) => edge,
|
||||
None => ((i + 1) as f32 / 65536.0).to_bits(),
|
||||
},
|
||||
};
|
||||
word.to_le_bytes()[..unit].to_vec()
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// Which aspect the copies move.
|
||||
fn plane(&self) -> Plane {
|
||||
match self.format {
|
||||
STENCIL8 => Plane::Stencil,
|
||||
_ => Plane::Depth,
|
||||
}
|
||||
}
|
||||
|
||||
/// What the clearing pass clears.
|
||||
fn clear(&self) -> Clear {
|
||||
match self.format {
|
||||
STENCIL8 => Clear::Stencil(CLEAR_STENCIL),
|
||||
_ => Clear::Depth(CLEAR_DEPTH),
|
||||
}
|
||||
}
|
||||
|
||||
/// The kernel that reads every sample, and the bytes it keeps of one: a stencil's value is its
|
||||
/// own byte, and either depth is read as the depth's 32-bit bits.
|
||||
fn kernel(&self) -> (&'static str, usize) {
|
||||
match self.format {
|
||||
STENCIL8 => ("rt6_read_stencil", 1),
|
||||
_ => ("rt6_read_depth", 4),
|
||||
}
|
||||
}
|
||||
|
||||
/// The program the row runs: the buffer in, the copy-back buffer, a private multisample
|
||||
/// texture cleared by a pass that draws nothing, the copy in, every sample read by a dispatch,
|
||||
/// the copy back out, and the second buffer read.
|
||||
fn work(&self) -> Work {
|
||||
let bytes = self.input();
|
||||
let length = bytes.len();
|
||||
let mut work = Work::new();
|
||||
work.kernels = Some(KERNELS);
|
||||
let input = work.buffer(bytes);
|
||||
let out = work.buffer(vec![UNWRITTEN; length]);
|
||||
let texture = work.add(Resource::Texture {
|
||||
spec: TextureSpec::texture_2d(self.format, self.extent[0], self.extent[1])
|
||||
.multisample(self.samples, 1),
|
||||
});
|
||||
work.step(Step::ClearPass {
|
||||
texture,
|
||||
slice: 0,
|
||||
clear: self.clear(),
|
||||
});
|
||||
let origin = [self.origin[0], self.origin[1], 0];
|
||||
let size = [self.size[0], self.size[1], 1];
|
||||
work.step(Step::CopyBufferToTexture {
|
||||
buffer: input,
|
||||
offset: 0,
|
||||
bytes_per_row: self.bytes_per_row(),
|
||||
bytes_per_image: length as u64,
|
||||
size,
|
||||
texture,
|
||||
slice: 0,
|
||||
level: 0,
|
||||
origin,
|
||||
plane: self.plane(),
|
||||
});
|
||||
let (kernel, texel_bytes) = self.kernel();
|
||||
work.step(Step::ReadSamples {
|
||||
texture,
|
||||
kernel,
|
||||
width: self.extent[0] as u32,
|
||||
height: self.extent[1] as u32,
|
||||
samples: self.samples as u32,
|
||||
texel_bytes,
|
||||
words: 1,
|
||||
});
|
||||
work.step(Step::CopyTextureToBuffer {
|
||||
texture,
|
||||
slice: 0,
|
||||
level: 0,
|
||||
origin,
|
||||
size,
|
||||
buffer: out,
|
||||
offset: 0,
|
||||
bytes_per_row: self.bytes_per_row(),
|
||||
bytes_per_image: length as u64,
|
||||
plane: self.plane(),
|
||||
});
|
||||
work.step(Step::Commit);
|
||||
work.step(Step::ReadBuffer {
|
||||
buffer: out,
|
||||
offset: 0,
|
||||
length,
|
||||
});
|
||||
work
|
||||
}
|
||||
|
||||
/// What the dispatch read, as a site's layout: the texture's texels in rows, each texel's
|
||||
/// samples in order, the kernel's bytes a sample.
|
||||
///
|
||||
/// The row is the whole texture's width, not the region's, because the dispatch reads every
|
||||
/// sample of the texture: that is how "the samples outside the region keep the clear" is a fact
|
||||
/// a diff can name.
|
||||
fn samples_layout(&self) -> ByteLayout {
|
||||
let texel = self.kernel().1 as u32;
|
||||
let row = (self.extent[0] * self.samples) as u32 * texel;
|
||||
let length = u64::from(row) * self.extent[1];
|
||||
ByteLayout {
|
||||
region: Region::Buffer { offset: 0, length },
|
||||
element: element(texel),
|
||||
row_offset: 0,
|
||||
row_elements: (self.extent[0] * self.samples) as u32,
|
||||
row_pitch: row,
|
||||
rows: self.extent[1] as u32,
|
||||
image_pitch: length as u32,
|
||||
images: 1,
|
||||
gaps: Gaps::Ignored,
|
||||
}
|
||||
}
|
||||
|
||||
/// The copy-back buffer as a site's layout: the region's rows, each row the region's samples,
|
||||
/// the unit's own bytes an element.
|
||||
fn copied_back_layout(&self) -> ByteLayout {
|
||||
let unit = self.unit_bytes() as u32;
|
||||
let row = self.bytes_per_row() as u32;
|
||||
let length = self.input().len() as u64;
|
||||
ByteLayout {
|
||||
region: Region::Buffer { offset: 0, length },
|
||||
element: element(unit),
|
||||
row_offset: 0,
|
||||
row_elements: (self.size[0] * self.samples) as u32,
|
||||
row_pitch: row,
|
||||
rows: self.size[1] as u32,
|
||||
image_pitch: length as u32,
|
||||
images: 1,
|
||||
gaps: Gaps::Ignored,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// The element a value of `bytes` bytes is, so a diff prints one copy unit rather than a byte of
|
||||
/// one.
|
||||
fn element(bytes: u32) -> Element {
|
||||
match bytes {
|
||||
1 => Element::U8,
|
||||
2 => Element::U16,
|
||||
_ => Element::U32,
|
||||
}
|
||||
}
|
||||
|
||||
/// Every case of the family: one a row.
|
||||
pub fn all() -> Vec<Box<dyn Case>> {
|
||||
ROWS.iter()
|
||||
.map(|row| Box::new(BufferDepthSamples { row }) as Box<dyn Case>)
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// A case over one row.
|
||||
pub struct BufferDepthSamples {
|
||||
row: &'static Row,
|
||||
}
|
||||
|
||||
/// The site the dispatch's read sits at.
|
||||
const SAMPLES: &str = "samples";
|
||||
|
||||
/// The site the copy back out sits at.
|
||||
const COPIED_BACK: &str = "copied-back";
|
||||
|
||||
impl Case for BufferDepthSamples {
|
||||
fn name(&self) -> &'static str {
|
||||
self.row.name
|
||||
}
|
||||
|
||||
fn metal_source(&self) -> MetalSource {
|
||||
MetalSource::Run
|
||||
}
|
||||
|
||||
fn shaders(&self) -> Result<Vec<ShaderRef>, String> {
|
||||
let fixture = Fixture::new(KERNELS);
|
||||
Ok(vec![ShaderRef {
|
||||
fixture: KERNELS.to_owned(),
|
||||
entry: self.row.kernel().0.to_owned(),
|
||||
source_sha256: crate::sha256_hex(fixture.text(RUNTIME_TEXT)?.as_bytes()),
|
||||
}])
|
||||
}
|
||||
|
||||
fn inputs(&self) -> Result<Vec<Input>, String> {
|
||||
let row = self.row;
|
||||
// The geometry every call is given, keyed by the call and its numbers rather than by a
|
||||
// position, and the bytes the copy in feeds. Either moving makes the recording's answer
|
||||
// another program's.
|
||||
let geometry = format!(
|
||||
"newTextureWithDescriptor format {} samples {} extent {:?}\n\
|
||||
clear depth {CLEAR_DEPTH} stencil {CLEAR_STENCIL}\n\
|
||||
copyFromBufferToTexture origin {:?} size {:?} bytesPerRow {} plane {:?}\n\
|
||||
readSamples kernel {} texel {}\n\
|
||||
copyFromTextureToBuffer origin {:?} size {:?} bytesPerRow {} plane {:?} over {UNWRITTEN:#x}\n",
|
||||
row.format,
|
||||
row.samples,
|
||||
row.extent,
|
||||
row.origin,
|
||||
row.size,
|
||||
row.bytes_per_row(),
|
||||
row.plane(),
|
||||
row.kernel().0,
|
||||
row.kernel().1,
|
||||
row.origin,
|
||||
row.size,
|
||||
row.bytes_per_row(),
|
||||
row.plane(),
|
||||
);
|
||||
Ok(vec![
|
||||
Input::bytes("calls", geometry.as_bytes()),
|
||||
Input::bytes("copy-units", &row.input()),
|
||||
])
|
||||
}
|
||||
|
||||
fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> {
|
||||
let done = call(sites, "work", side.work(&self.row.work()), |_| {
|
||||
Value::Absent
|
||||
})?;
|
||||
sites.push(Node::leaf(
|
||||
SAMPLES,
|
||||
Observed::bytes(
|
||||
done.reads.first().cloned().unwrap_or_default(),
|
||||
self.row.samples_layout(),
|
||||
),
|
||||
));
|
||||
sites.push(Node::leaf(
|
||||
COPIED_BACK,
|
||||
Observed::bytes(
|
||||
done.reads.get(1).cloned().unwrap_or_default(),
|
||||
self.row.copied_back_layout(),
|
||||
),
|
||||
));
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// No two rows share a name, so every case of the family has a recording of its own.
|
||||
#[test]
|
||||
fn every_row_has_a_name_of_its_own() {
|
||||
let mut names: Vec<&str> = ROWS.iter().map(|row| row.name).collect();
|
||||
let total = names.len();
|
||||
names.sort_unstable();
|
||||
names.dedup();
|
||||
assert_eq!(names.len(), total, "two rows of the family share a name");
|
||||
}
|
||||
|
||||
/// Each row's buffer holds exactly one copy unit a sample of its region, and its stated row
|
||||
/// pitch is the region's own rows, tight.
|
||||
///
|
||||
/// The row pitch is the field this family turns on and the one that goes missing: both copies
|
||||
/// take it, and a pitch that did not match the bytes would make every row pass for the wrong
|
||||
/// reason. So it is checked against the bytes rather than trusted.
|
||||
#[test]
|
||||
fn every_rows_bytes_are_its_units_and_its_pitch_is_its_rows() {
|
||||
for row in &ROWS {
|
||||
let bytes = row.input().len();
|
||||
assert_eq!(
|
||||
bytes,
|
||||
row.units() * row.unit_bytes(),
|
||||
"{}: its buffer is not one unit a sample of its region",
|
||||
row.name
|
||||
);
|
||||
assert_eq!(
|
||||
row.bytes_per_row() * row.size[1],
|
||||
bytes as u64,
|
||||
"{}: its bytesPerRow does not divide its buffer into the region's rows",
|
||||
row.name
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Both of a row's sites describe exactly the bytes its program answers, so a recording's
|
||||
/// layout cannot drift from the read it lays over.
|
||||
///
|
||||
/// Its failure mode was exercised while writing it: giving `samples_layout` the **region's**
|
||||
/// width rather than the texture's fails here for every whole-extent row.
|
||||
#[test]
|
||||
fn every_sites_layout_covers_the_read_it_lays_over() {
|
||||
for row in &ROWS {
|
||||
let samples = (row.extent[0] * row.extent[1] * row.samples) as usize * row.kernel().1;
|
||||
assert_eq!(
|
||||
row.samples_layout().extent(),
|
||||
samples,
|
||||
"{}: the samples layout does not cover what the dispatch reads",
|
||||
row.name
|
||||
);
|
||||
assert_eq!(
|
||||
row.copied_back_layout().extent(),
|
||||
row.input().len(),
|
||||
"{}: the copy-back layout does not cover the buffer it lays over",
|
||||
row.name
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Every row's program asks for exactly the two reads its case emits, in that order.
|
||||
#[test]
|
||||
fn every_program_answers_the_two_reads_its_case_emits() {
|
||||
for row in &ROWS {
|
||||
assert_eq!(
|
||||
row.work().reads(),
|
||||
2,
|
||||
"{}: its program does not answer two reads",
|
||||
row.name
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -572,6 +572,47 @@ fn xcrun(tool: &str, args: &[&std::ffi::OsStr]) -> Result<(), String> {
|
||||
))
|
||||
}
|
||||
|
||||
impl MetalSide {
|
||||
/// The pipeline state each distinct kernel a program's per-sample read-backs name, in the
|
||||
/// order they are first named.
|
||||
///
|
||||
/// Empty for a program with no such read-back, so a program of copies alone compiles nothing.
|
||||
fn read_back_pipelines(
|
||||
&mut self,
|
||||
work: &crate::work::Work,
|
||||
) -> Answer<Vec<crate::metal_work::Kernel>> {
|
||||
let mut wanted: Vec<&'static str> = Vec::new();
|
||||
for step in &work.steps {
|
||||
if let crate::work::Step::ReadSamples { kernel, .. } = step {
|
||||
if !wanted.contains(kernel) {
|
||||
wanted.push(kernel);
|
||||
}
|
||||
}
|
||||
}
|
||||
if wanted.is_empty() {
|
||||
return Ok(Vec::new());
|
||||
}
|
||||
let fixture = work.kernels.ok_or_else(|| {
|
||||
Failure::named("NoKernels", "the program states no fixture for its kernels")
|
||||
})?;
|
||||
let loaded = crate::fixture::Fixture::new(fixture)
|
||||
.loaded()
|
||||
.map_err(|why| Failure::named("NoFixture", why))?;
|
||||
let library = self.library(&loaded.source())?;
|
||||
let mut made = Vec::with_capacity(wanted.len());
|
||||
for kernel in wanted {
|
||||
let handle = self.compute_pipeline(library, kernel)?;
|
||||
let state = self
|
||||
.pipelines
|
||||
.get(handle.0 as usize)
|
||||
.cloned()
|
||||
.ok_or_else(|| Failure::named("NoSuchHandle", format!("pipeline {}", handle.0)))?;
|
||||
made.push((kernel, state));
|
||||
}
|
||||
Ok(made)
|
||||
}
|
||||
}
|
||||
|
||||
impl Side for MetalSide {
|
||||
fn venue(&self) -> Venue {
|
||||
Venue {
|
||||
@@ -1067,13 +1108,18 @@ impl Side for MetalSide {
|
||||
|
||||
/// A copy-and-fill program, through public Metal alone ([`crate::metal_work`]).
|
||||
///
|
||||
/// The fills (`fillTexture:` and `fillTextureColor:`) are Apple SPI and the interpreter refuses
|
||||
/// those two steps, so a case built on a fill still carries its Metal answer. Everything else a
|
||||
/// program states -- heaps, placed textures, textures over a buffer, views, every blit,
|
||||
/// `replaceRegion:` and `getBytes:` -- is public Metal whatever pixel format the case names,
|
||||
/// including Apple's two-plane extended-range 550 and 551.
|
||||
/// The colour fill (`fillTextureColor:`) is Apple SPI with no arm here, so a case built on one
|
||||
/// still carries its Metal answer. Everything else a program states -- heaps, placed textures,
|
||||
/// textures over a buffer, views, every blit, `replaceRegion:`, `getBytes:`, a clearing render
|
||||
/// pass and a per-sample read-back -- is public Metal whatever pixel format the case names,
|
||||
/// including Apple's two-plane extended-range 550 and 551; the pattern fill is reached by
|
||||
/// selector after `respondsToSelector:`.
|
||||
fn work(&mut self, work: &crate::work::Work) -> Answer<crate::work::Done> {
|
||||
crate::metal_work::run(&self.device, &self.queue, work)
|
||||
// A per-sample read-back's pipeline states are made here and handed to the interpreter,
|
||||
// because making one needs the scratch directory, `xcrun metal-as`, `xcrun metallib` and
|
||||
// the library pool this side owns, none of which the interpreter sees.
|
||||
let kernels = self.read_back_pipelines(work)?;
|
||||
crate::metal_work::run(&self.device, &self.queue, work, &kernels)
|
||||
}
|
||||
|
||||
fn announced(&mut self) -> Vec<String> {
|
||||
|
||||
@@ -42,6 +42,18 @@
|
||||
//!
|
||||
//! Nothing else here is unsafe for the GPU that the probes these cases came from were not: the same
|
||||
//! shapes, through the same calls, are what produced the tables in the first place.
|
||||
//!
|
||||
//! # The clearing pass and the per-sample read-back
|
||||
//!
|
||||
//! Both are public Metal and both are built, because a case needs them without a fill: a buffer
|
||||
//! copied into every sample of a multisample depth or stencil texture clears by a pass that draws
|
||||
//! nothing, copies in, reads every sample by a dispatch and copies back out, with no private call
|
||||
//! anywhere, so it can be recorded on Metal rather than carrying a rule. They mirror
|
||||
//! [`crate::runtime_work`]'s own two call for call -- the same attachment, load and store actions,
|
||||
//! the same two bound buffers, the same shape words, the same grid of one thread a sample and one
|
||||
//! thread a threadgroup, and the same narrowing of the kernel's words -- because a difference in
|
||||
//! any of those would make the two sides' kernels read different things, which is the shape of
|
||||
//! harness error that reads exactly like a product bug.
|
||||
|
||||
use crate::case::{Answer, Failure};
|
||||
use crate::work::{Done, Plane, Rect, Resource, Step, Storage, TextureKind, TextureSpec, Work};
|
||||
@@ -49,12 +61,40 @@ use objc2::rc::Retained;
|
||||
use objc2::runtime::{AnyObject, ProtocolObject, Sel};
|
||||
use objc2::sel;
|
||||
use objc2_metal::{
|
||||
MTLBlitCommandEncoder, MTLBlitOption, MTLBuffer, MTLCommandBuffer, MTLCommandEncoder,
|
||||
MTLCommandQueue, MTLDevice, MTLHeap, MTLHeapDescriptor, MTLHeapType, MTLOrigin, MTLPixelFormat,
|
||||
MTLRegion, MTLResourceOptions, MTLSize, MTLStorageMode, MTLTexture, MTLTextureDescriptor,
|
||||
MTLTextureType, MTLTextureUsage,
|
||||
MTLBlitCommandEncoder, MTLBlitOption, MTLBuffer, MTLClearColor, MTLCommandBuffer,
|
||||
MTLCommandEncoder, MTLCommandQueue, MTLComputeCommandEncoder, MTLComputePipelineState,
|
||||
MTLDevice, MTLHeap, MTLHeapDescriptor, MTLHeapType, MTLLoadAction, MTLOrigin, MTLPixelFormat,
|
||||
MTLRegion, MTLRenderPassDescriptor, MTLResourceOptions, MTLSize, MTLStorageMode,
|
||||
MTLStoreAction, MTLTexture, MTLTextureDescriptor, MTLTextureType, MTLTextureUsage,
|
||||
};
|
||||
|
||||
/// A per-sample read-back's compute pipeline state, by the kernel it runs.
|
||||
///
|
||||
/// The states are made **before** the interpreter starts, by the side that owns the scratch
|
||||
/// directory and the library pool ([`crate::metal_side::MetalSide`]'s `work`): building a library
|
||||
/// needs `xcrun metal-as` and `xcrun metallib`, which is that side's business and not this one's.
|
||||
pub type Kernels<'a> = &'a [Kernel];
|
||||
|
||||
/// One kernel a per-sample read-back runs: its entry point, and the state that runs it.
|
||||
pub type Kernel = (
|
||||
&'static str,
|
||||
Retained<ProtocolObject<dyn MTLComputePipelineState>>,
|
||||
);
|
||||
|
||||
/// A read whose bytes are only there once the command buffer completed: the buffer a per-sample
|
||||
/// read-back's dispatch wrote, and how its words narrow.
|
||||
///
|
||||
/// It mirrors [`crate::runtime_work`]'s own pending read, field for field, because the two sides
|
||||
/// must narrow the kernel's words the same way or the read means two different things.
|
||||
struct Pending {
|
||||
/// The read's place among the program's reads.
|
||||
slot: usize,
|
||||
buffer: Retained<ProtocolObject<dyn MTLBuffer>>,
|
||||
length: usize,
|
||||
/// The bytes of one sample the read keeps, and the words the kernel wrote.
|
||||
samples: (usize, usize),
|
||||
}
|
||||
|
||||
/// `fillTexture:level:slice:region:bytes:length:` (Apple SPI), the pattern fill. Named as a
|
||||
/// function because `sel!` interns on first use.
|
||||
fn fill_texture_selector() -> Sel {
|
||||
@@ -105,6 +145,7 @@ pub fn run(
|
||||
device: &ProtocolObject<dyn MTLDevice>,
|
||||
queue: &ProtocolObject<dyn MTLCommandQueue>,
|
||||
work: &Work,
|
||||
kernels: Kernels<'_>,
|
||||
) -> Answer<Done> {
|
||||
let mut made: Vec<Made> = Vec::with_capacity(work.resources.len());
|
||||
for (at, resource) in work.resources.iter().enumerate() {
|
||||
@@ -116,8 +157,10 @@ pub fn run(
|
||||
queue,
|
||||
made,
|
||||
resources: &work.resources,
|
||||
kernels,
|
||||
command_buffer: None,
|
||||
encoder: None,
|
||||
pending: Vec::new(),
|
||||
reads: vec![None; work.reads()],
|
||||
next_read: 0,
|
||||
statuses: Vec::new(),
|
||||
@@ -438,8 +481,12 @@ struct Run<'a> {
|
||||
made: Vec<Made>,
|
||||
/// The program's declarations, which a [`Step::Make`] reads to make a released resource again.
|
||||
resources: &'a [Resource],
|
||||
/// The pipeline states a per-sample read-back runs, made before the program started.
|
||||
kernels: Kernels<'a>,
|
||||
command_buffer: Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>,
|
||||
encoder: Option<Retained<ProtocolObject<dyn MTLBlitCommandEncoder>>>,
|
||||
/// The reads whose bytes only exist once the command buffer completed.
|
||||
pending: Vec<Pending>,
|
||||
reads: Vec<Option<Vec<u8>>>,
|
||||
next_read: usize,
|
||||
statuses: Vec<String>,
|
||||
@@ -648,18 +695,33 @@ impl Run<'_> {
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
// A render pass that clears one slice, and a per-sample read-back by a dispatch, are
|
||||
// both public Metal. Neither is built here, because every case that needs one also
|
||||
// needs a private fill and so carries its answer anyway; a case that needs one without
|
||||
// a fill is where to build it.
|
||||
Step::Release { resource } => self.release(*resource),
|
||||
Step::Make { resource } => self.make_again(*resource),
|
||||
Step::ClearPass { .. } => Err(Failure::unavailable(
|
||||
"a clearing render pass on the Metal side of a Work program (not built)",
|
||||
)),
|
||||
Step::ReadSamples { .. } => Err(Failure::unavailable(
|
||||
"a per-sample read-back on the Metal side of a Work program (not built)",
|
||||
)),
|
||||
Step::ClearPass {
|
||||
texture,
|
||||
slice,
|
||||
clear,
|
||||
} => self.clear_pass(*texture, *slice, *clear),
|
||||
Step::ReadSamples {
|
||||
texture,
|
||||
kernel,
|
||||
width,
|
||||
height,
|
||||
samples,
|
||||
texel_bytes,
|
||||
words,
|
||||
} => {
|
||||
let slot = self.slot();
|
||||
self.read_samples(
|
||||
slot,
|
||||
*texture,
|
||||
kernel,
|
||||
[*width, *height],
|
||||
*samples,
|
||||
*texel_bytes,
|
||||
*words,
|
||||
)
|
||||
}
|
||||
Step::ReplaceRegion {
|
||||
texture,
|
||||
level,
|
||||
@@ -860,6 +922,173 @@ impl Run<'_> {
|
||||
command_buffer.waitUntilCompleted();
|
||||
self.statuses
|
||||
.push(crate::metal_side::status_word(command_buffer.status()).to_owned());
|
||||
let pending = std::mem::take(&mut self.pending);
|
||||
for read in pending {
|
||||
let bytes = read_buffer(&read.buffer, 0, read.length)?;
|
||||
let (texel_bytes, stride) = read.samples;
|
||||
// The kernel writes whole words a sample; the read keeps the format's own bytes of
|
||||
// each. Narrowed exactly as `crate::runtime_work` narrows it, because the two sides
|
||||
// must answer the same bytes for the same dispatch.
|
||||
self.reads[read.slot] = Some(
|
||||
bytes
|
||||
.chunks(stride)
|
||||
.flat_map(|chunk| chunk.iter().take(texel_bytes))
|
||||
.copied()
|
||||
.collect(),
|
||||
);
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Open a render pass that clears one slice of `texture` and draws nothing, and end it: how a
|
||||
/// program writes a known value into a multisample texture, which no CPU copy reaches.
|
||||
fn clear_pass(&mut self, texture: usize, slice: u64, clear: crate::work::Clear) -> Answer<()> {
|
||||
// A pass must not open while the blit encoder is: Metal takes one encoder at a time.
|
||||
self.end_encoding();
|
||||
let texture = self.texture(texture)?;
|
||||
let command_buffer = self.command_buffer()?;
|
||||
let pass = MTLRenderPassDescriptor::renderPassDescriptor();
|
||||
// SAFETY: each setter takes the value it is given; the texture is the program's own and
|
||||
// the slice is inside it, as the case states.
|
||||
unsafe {
|
||||
match clear {
|
||||
crate::work::Clear::Color([r, g, b, a]) => {
|
||||
let attachment = pass.colorAttachments().objectAtIndexedSubscript(0);
|
||||
attachment.setTexture(Some(&texture));
|
||||
attachment.setSlice(slice as usize);
|
||||
attachment.setLoadAction(MTLLoadAction::Clear);
|
||||
attachment.setClearColor(MTLClearColor {
|
||||
red: r,
|
||||
green: g,
|
||||
blue: b,
|
||||
alpha: a,
|
||||
});
|
||||
attachment.setStoreAction(MTLStoreAction::Store);
|
||||
}
|
||||
crate::work::Clear::Depth(depth) => {
|
||||
let attachment = pass.depthAttachment();
|
||||
attachment.setTexture(Some(&texture));
|
||||
attachment.setSlice(slice as usize);
|
||||
attachment.setLoadAction(MTLLoadAction::Clear);
|
||||
attachment.setClearDepth(depth);
|
||||
attachment.setStoreAction(MTLStoreAction::Store);
|
||||
}
|
||||
crate::work::Clear::Stencil(stencil) => {
|
||||
let attachment = pass.stencilAttachment();
|
||||
attachment.setTexture(Some(&texture));
|
||||
attachment.setSlice(slice as usize);
|
||||
attachment.setLoadAction(MTLLoadAction::Clear);
|
||||
attachment.setClearStencil(stencil);
|
||||
attachment.setStoreAction(MTLStoreAction::Store);
|
||||
}
|
||||
crate::work::Clear::DepthStencil(depth, stencil) => {
|
||||
let attachment = pass.depthAttachment();
|
||||
attachment.setTexture(Some(&texture));
|
||||
attachment.setSlice(slice as usize);
|
||||
attachment.setLoadAction(MTLLoadAction::Clear);
|
||||
attachment.setClearDepth(depth);
|
||||
attachment.setStoreAction(MTLStoreAction::Store);
|
||||
let attachment = pass.stencilAttachment();
|
||||
attachment.setTexture(Some(&texture));
|
||||
attachment.setSlice(slice as usize);
|
||||
attachment.setLoadAction(MTLLoadAction::Clear);
|
||||
attachment.setClearStencil(stencil);
|
||||
attachment.setStoreAction(MTLStoreAction::Store);
|
||||
}
|
||||
}
|
||||
}
|
||||
let encoder = command_buffer
|
||||
.renderCommandEncoderWithDescriptor(&pass)
|
||||
.ok_or_else(|| Failure::named("RenderCommandEncoder", "returned nil".to_owned()))?;
|
||||
encoder.endEncoding();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Encode a per-sample read-back of `texture` by the program's fixture's `kernel`.
|
||||
///
|
||||
/// Mirrors [`crate::runtime_work`] call for call: the same two bound buffers, the same shape
|
||||
/// words, the same grid of one thread a sample and one thread a threadgroup. A difference in
|
||||
/// any of those would make the two sides' kernels read different things, which is the shape of
|
||||
/// harness error that looks exactly like a product bug.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn read_samples(
|
||||
&mut self,
|
||||
slot: usize,
|
||||
texture: usize,
|
||||
kernel: &str,
|
||||
[width, height]: [u32; 2],
|
||||
samples: u32,
|
||||
texel_bytes: usize,
|
||||
words: usize,
|
||||
) -> Answer<()> {
|
||||
self.end_encoding();
|
||||
let source = self.texture(texture)?;
|
||||
let pipeline = self
|
||||
.kernels
|
||||
.iter()
|
||||
.find(|(name, _)| *name == kernel)
|
||||
.map(|(_, state)| state.clone())
|
||||
.ok_or_else(|| {
|
||||
Failure::named(
|
||||
"NoSuchKernel",
|
||||
format!("{kernel}: no pipeline state was made for it"),
|
||||
)
|
||||
})?;
|
||||
let length = width as usize * height as usize * samples as usize * words * 4;
|
||||
let out = self
|
||||
.device
|
||||
.newBufferWithLength_options(length.max(1), MTLResourceOptions::StorageModeShared)
|
||||
.ok_or_else(|| {
|
||||
Failure::named(
|
||||
"NewBufferWithLength",
|
||||
format!("{length} bytes returned nil"),
|
||||
)
|
||||
})?;
|
||||
// The shape the fixture's kernels read at buffer 1: the extent's width and each pixel's
|
||||
// samples, two 32-bit words.
|
||||
let mut shape_bytes = width.to_le_bytes().to_vec();
|
||||
shape_bytes.extend_from_slice(&samples.to_le_bytes());
|
||||
// SAFETY: the pointer and length are the vector's own, and Metal copies the bytes.
|
||||
let shape = unsafe {
|
||||
self.device.newBufferWithBytes_length_options(
|
||||
std::ptr::NonNull::from(shape_bytes.as_slice()).cast(),
|
||||
shape_bytes.len(),
|
||||
MTLResourceOptions::StorageModeShared,
|
||||
)
|
||||
}
|
||||
.ok_or_else(|| Failure::named("NewBufferWithBytes", "the shape buffer returned nil"))?;
|
||||
let command_buffer = self.command_buffer()?;
|
||||
let encoder = command_buffer
|
||||
.computeCommandEncoder()
|
||||
.ok_or_else(|| Failure::named("ComputeCommandEncoder", "returned nil".to_owned()))?;
|
||||
encoder.setComputePipelineState(&pipeline);
|
||||
// SAFETY: each setter takes the object and the index it is given, and the indices are the
|
||||
// fixture's kernels' own declarations.
|
||||
unsafe {
|
||||
encoder.setTexture_atIndex(Some(&source), 0);
|
||||
encoder.setBuffer_offset_atIndex(Some(&out), 0, 0);
|
||||
encoder.setBuffer_offset_atIndex(Some(&shape), 0, 1);
|
||||
}
|
||||
// One thread a sample, one thread a threadgroup: no grid edge to guard.
|
||||
encoder.dispatchThreadgroups_threadsPerThreadgroup(
|
||||
MTLSize {
|
||||
width: width as usize,
|
||||
height: height as usize,
|
||||
depth: samples as usize,
|
||||
},
|
||||
MTLSize {
|
||||
width: 1,
|
||||
height: 1,
|
||||
depth: 1,
|
||||
},
|
||||
);
|
||||
encoder.endEncoding();
|
||||
self.pending.push(Pending {
|
||||
slot,
|
||||
buffer: out,
|
||||
length,
|
||||
samples: (texel_bytes, words * 4),
|
||||
});
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ The suite reaches Metal through `objc2-metal`, whose Rust name for a binding is
|
||||
|
||||
Its limits, measured rather than asserted:
|
||||
|
||||
- **451 of 550 call sites** in the Metal leg resolve to an item of the SDK. 30 of those resolve because only one type in `objc2-metal` binds the name at all, so no typing was needed.
|
||||
- **485 of 584 call sites** in the Metal leg resolve to an item of the SDK. 31 of those resolve because only one type in `objc2-metal` binds the name at all, so no typing was needed.
|
||||
- **99 call sites' receivers did not type.** They cost the count 8 selectors, which the suite calls and which this attributes to no item:
|
||||
- `type`, bound by `MTLArgument`, `MTLArgumentDescriptor`, `MTLBinding`, `MTLPointerType`, `MTLTensorReferenceType`, `MTLTextureReferenceType`
|
||||
- `count`, bound by `MTL4CounterHeap`, `MTL4CounterHeapDescriptor`
|
||||
@@ -30,14 +30,14 @@ Its limits, measured rather than asserted:
|
||||
| | |
|
||||
|---|---|
|
||||
| implemented Metal items | 958 |
|
||||
| of those, exercised by the suite's Metal leg | 231 |
|
||||
| of those, not exercised | 727 |
|
||||
| of those, exercised by the suite's Metal leg | 232 |
|
||||
| of those, not exercised | 726 |
|
||||
| share exercised | 24% |
|
||||
| of those exercised, no case reaching it loosens anything | 114 |
|
||||
| of those exercised, no case reaching it loosens anything | 115 |
|
||||
| of those exercised, a case reaching it loosens some site | 117 |
|
||||
| case modules | 77 |
|
||||
| committed recordings | 693 |
|
||||
| distinct SDK items the Metal leg calls | 243 |
|
||||
| case modules | 78 |
|
||||
| committed recordings | 696 |
|
||||
| distinct SDK items the Metal leg calls | 245 |
|
||||
| ledger rows (a case whose gap is recorded) | 19 |
|
||||
|
||||
A tolerance names a **site of a transcript**, not an item, so the last two rows are read as written: a case that loosens one site of its own transcript may compare every other field of it exactly, and this derivation cannot tell which of a case's fields came from which Metal call. Where the distinction matters, read the case.
|
||||
@@ -51,13 +51,13 @@ Every container with an implemented item, by how much of it the suite reaches.
|
||||
| container | implemented | exercised | unexercised | families |
|
||||
|---|---|---|---|---|
|
||||
| `MTLRenderCommandEncoder` | 119 | 23 | 96 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLDevice` | 63 | 22 | 41 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`… |
|
||||
| `MTLDevice` | 63 | 22 | 41 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`… |
|
||||
| `MTLComputeCommandEncoder` | 36 | 4 | 32 | `extended_range_blends`, `extended_range_targets` |
|
||||
| `MTLRenderPipelineDescriptor` | 35 | 8 | 27 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLArgumentEncoder` | 23 | 0 | 23 | |
|
||||
| `MTLIndirectRenderCommand` | 23 | 0 | 23 | |
|
||||
| `MTLArgument` | 17 | 0 | 17 | |
|
||||
| `MTLBlitCommandEncoder` | 22 | 5 | 17 | `buffer_blits`, `chroma_pairs`, `compressed_blits`, `compressed_views`… |
|
||||
| `MTLBlitCommandEncoder` | 22 | 5 | 17 | `buffer_blits`, `buffer_depth_samples`, `chroma_pairs`, `compressed_blits`… |
|
||||
| `MTLRenderPipelineState` | 15 | 0 | 15 | |
|
||||
| `MTLComputePipelineDescriptor` | 16 | 2 | 14 | `stage_in_regions` |
|
||||
| `MTLComputePipelineState` | 15 | 1 | 14 | `compute_threadgroups` |
|
||||
@@ -68,12 +68,12 @@ Every container with an implemented item, by how much of it the suite reaches.
|
||||
| `MTLHeap` | 17 | 5 | 12 | `compressed_moves`, `sparse_heaps`, `texture_fills`, `two_plane_copies`… |
|
||||
| `MTLIndirectComputeCommand` | 12 | 0 | 12 | |
|
||||
| `MTLTileRenderPipelineDescriptor` | 15 | 4 | 11 | `tile_threadgroups` |
|
||||
| `MTLLibrary` | 11 | 1 | 10 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`… |
|
||||
| `MTLLibrary` | 11 | 1 | 10 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`… |
|
||||
| `MTLRasterizationRateLayerDescriptor` | 10 | 0 | 10 | |
|
||||
| `MTLTexture` | 29 | 19 | 10 | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`… |
|
||||
| `MTLTexture` | 29 | 19 | 10 | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`… |
|
||||
| `MTLArrayType` | 9 | 0 | 9 | |
|
||||
| `MTLCommandBuffer` | 21 | 12 | 9 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`… |
|
||||
| `MTLRenderPassDescriptor` | 17 | 8 | 9 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLCommandBuffer` | 21 | 12 | 9 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`… |
|
||||
| `MTLRenderPassDescriptor` | 17 | 8 | 9 | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`… |
|
||||
| `MTLResource` | 12 | 3 | 9 | `buffer_textures` |
|
||||
| `MTLSamplerDescriptor` | 16 | 7 | 9 | `border_swizzles`, `chroma_pairs`, `depth_texel_reads`, `discard_hoist`… |
|
||||
| `MTLStructMember` | 9 | 0 | 9 | |
|
||||
@@ -82,13 +82,13 @@ Every container with an implemented item, by how much of it the suite reaches.
|
||||
| `MTLRasterizationRateMapDescriptor` | 10 | 2 | 8 | `rate_maps` |
|
||||
| `MTLAttribute` | 7 | 0 | 7 | |
|
||||
| `MTLBinaryArchive` | 7 | 0 | 7 | |
|
||||
| `MTLRenderPassAttachmentDescriptor` | 12 | 5 | 7 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLResourceStateCommandEncoder` | 7 | 0 | 7 | |
|
||||
| `MTLTextureDescriptor` | 19 | 12 | 7 | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`… |
|
||||
| `MTLTextureDescriptor` | 19 | 12 | 7 | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`… |
|
||||
| `MTLVertexAttribute` | 7 | 0 | 7 | |
|
||||
| `MTLBinding` | 7 | 1 | 6 | `texture_accesses` |
|
||||
| `MTLBufferBinding` | 6 | 0 | 6 | |
|
||||
| `MTLLinkedFunctions` | 6 | 0 | 6 | |
|
||||
| `MTLRenderPassAttachmentDescriptor` | 12 | 6 | 6 | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`… |
|
||||
| `MTLTextureViewDescriptor` | 6 | 0 | 6 | |
|
||||
| `MTLDynamicLibrary` | 5 | 0 | 5 | |
|
||||
| `MTLFunctionConstant` | 5 | 0 | 5 | |
|
||||
@@ -101,14 +101,14 @@ Every container with an implemented item, by how much of it the suite reaches.
|
||||
| `MTLRenderPipelineFunctionsDescriptor` | 4 | 0 | 4 | |
|
||||
| `MTLRenderPipelineReflection` | 9 | 5 | 4 | `texture_accesses` |
|
||||
| `MTLVisibleFunctionTable` | 4 | 0 | 4 | |
|
||||
| `MTLBuffer` | 6 | 3 | 3 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`… |
|
||||
| `MTLCommandQueue` | 4 | 1 | 3 | `buffer_blits`, `chroma_pairs`, `color_write_masks`, `command_queues`… |
|
||||
| `MTLBuffer` | 6 | 3 | 3 | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`… |
|
||||
| `MTLCommandQueue` | 4 | 1 | 3 | `buffer_blits`, `buffer_depth_samples`, `chroma_pairs`, `color_write_masks`… |
|
||||
| `MTLComputePipelineReflection` | 3 | 0 | 3 | |
|
||||
| `MTLDepthStencilState` | 3 | 0 | 3 | |
|
||||
| `MTLFence` | 3 | 0 | 3 | |
|
||||
| `MTLFunctionHandle` | 3 | 0 | 3 | |
|
||||
| `MTLFunctionReflection` | 3 | 0 | 3 | |
|
||||
| `MTLHeapDescriptor` | 8 | 5 | 3 | `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`… |
|
||||
| `MTLHeapDescriptor` | 8 | 5 | 3 | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`… |
|
||||
| `MTLObjectPayloadBinding` | 3 | 0 | 3 | |
|
||||
| `MTLPipelineBufferDescriptorArray` | 3 | 0 | 3 | |
|
||||
| `MTLRasterizationRateLayerArray` | 3 | 0 | 3 | |
|
||||
@@ -137,11 +137,11 @@ Every container with an implemented item, by how much of it the suite reaches.
|
||||
| `MTLAllocation` | 1 | 0 | 1 | |
|
||||
| `MTLAttributeDescriptor` | 4 | 3 | 1 | `stage_in_regions` |
|
||||
| `MTLBufferLayoutDescriptor` | 4 | 3 | 1 | `stage_in_regions` |
|
||||
| `MTLCommandEncoder` | 2 | 1 | 1 | `color_write_masks`, `discard_hoist`, `event_orders`, `extended_range_blends`… |
|
||||
| `MTLCommandEncoder` | 2 | 1 | 1 | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `event_orders`… |
|
||||
| `MTLDepthStencilDescriptor` | 5 | 4 | 1 | `shader_stencil`, `srgb_fetch`, `visibility` |
|
||||
| `MTLRenderPassColorAttachmentDescriptor` | 2 | 1 | 1 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLRenderPassDepthAttachmentDescriptor` | 3 | 2 | 1 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLRenderPassStencilAttachmentDescriptor` | 3 | 2 | 1 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLRenderPassDepthAttachmentDescriptor` | 3 | 2 | 1 | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`… |
|
||||
| `MTLRenderPassStencilAttachmentDescriptor` | 3 | 2 | 1 | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`… |
|
||||
| `MTLRenderPipelineColorAttachmentDescriptor` | 10 | 9 | 1 | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`… |
|
||||
| `MTLStencilDescriptor` | 7 | 6 | 1 | `shader_stencil`, `srgb_fetch`, `visibility` |
|
||||
| `MTLTileRenderPipelineColorAttachmentDescriptor` | 2 | 1 | 1 | `tile_threadgroups` |
|
||||
@@ -165,7 +165,7 @@ A container is one Objective-C type; the SDK header it sits in is the family of
|
||||
| `MTLRasterizationRate.h` | 37 | 9 | 28 |
|
||||
| `MTLTexture.h` | 57 | 31 | 26 |
|
||||
| `MTLArgumentEncoder.h` | 23 | 0 | 23 |
|
||||
| `MTLRenderPass.h` | 41 | 19 | 22 |
|
||||
| `MTLRenderPass.h` | 41 | 20 | 21 |
|
||||
| `MTLIndirectCommandBuffer.h` | 26 | 6 | 20 |
|
||||
| `MTLBlitCommandEncoder.h` | 22 | 5 | 17 |
|
||||
| `MTLHeap.h` | 25 | 10 | 15 |
|
||||
@@ -253,13 +253,13 @@ An implemented container no case's Metal leg touches. These are the families of
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| case modules | 77 |
|
||||
| committed recordings | 693 |
|
||||
| case modules | 78 |
|
||||
| committed recordings | 696 |
|
||||
| recorded runs behind a case, median | 3 |
|
||||
| recorded runs, least and most | 1 and 30 |
|
||||
| cases whose recording holds more than one outcome | 0 |
|
||||
| cases running a committed shader fixture | 367 |
|
||||
| cases whose Metal answer is `metal_run` | 609 |
|
||||
| cases running a committed shader fixture | 370 |
|
||||
| cases whose Metal answer is `metal_run` | 612 |
|
||||
| cases whose Metal answer is `carried` | 80 |
|
||||
| cases whose Metal answer is `never_returned` | 4 |
|
||||
| modules that loosen a measured value | 11 |
|
||||
@@ -272,10 +272,10 @@ An implemented container no case's Metal leg touches. These are the families of
|
||||
| `Side` methods the Metal leg reaches an SDK item through | 48 |
|
||||
| SDK items a case's Metal leg reaches, median | 31 |
|
||||
| the same, least and most | 0 and 83 |
|
||||
| Metal call sites in the leg | 550 |
|
||||
| distinct selectors the leg sends | 228 |
|
||||
| of those, resolved to an item of the coverage map | 220 |
|
||||
| oracles the recordings name | `apple-m3-max` ×693 |
|
||||
| Metal call sites in the leg | 584 |
|
||||
| distinct selectors the leg sends | 230 |
|
||||
| of those, resolved to an item of the coverage map | 222 |
|
||||
| oracles the recordings name | `apple-m3-max` ×696 |
|
||||
|
||||
## By family
|
||||
|
||||
@@ -286,6 +286,7 @@ Each case module: the cases it holds, the `Side` methods it calls, and how many
|
||||
| `astc_textures` | 28 | 28 | 1 tolerance(s): `Degradation` | 22 |
|
||||
| `border_swizzles` | 8 | 8 | 1 tolerance(s): `Degradation` | 30 |
|
||||
| `buffer_blits` | 4 | 4 | every field | 15 |
|
||||
| `buffer_depth_samples` | 3 | 3 | every field | 40 |
|
||||
| `buffer_textures` | 3 | 2 | every field | 41 |
|
||||
| `chroma_pairs` | 6 | 6 | every field | 41 |
|
||||
| `color_write_masks` | 3 | 3 | every field | 68 |
|
||||
@@ -534,9 +535,9 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `synchronizeTexture:slice:level:` | no | — | — |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | yes | `chroma_pairs`, `compressed_blits`, `format_copies`, `pvrtc_rows`, `two_plane_heap_blits` | 35 |
|
||||
| `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | no | — | — |
|
||||
| `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:` | yes | `chroma_pairs`, `compressed_blits`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies` | 144 |
|
||||
| `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:` | yes | `buffer_depth_samples`, `chroma_pairs`, `compressed_blits`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies` | 147 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:` | no | — | — |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:` | yes | `chroma_pairs`, `compressed_blits`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies` | 130 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:` | yes | `buffer_depth_samples`, `chroma_pairs`, `compressed_blits`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies` | 133 |
|
||||
| `generateMipmapsForTexture:` | no | — | — |
|
||||
| `fillBuffer:range:value:` | yes | `buffer_blits`, `event_orders`, `fresh_contents`, `scheduled_handlers` | 96 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:` | no | — | — |
|
||||
@@ -557,10 +558,10 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLBuffer` | no | — | — |
|
||||
| `length` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_texel_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_maps`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 483 |
|
||||
| `contents` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_maps`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 509 |
|
||||
| `length` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_texel_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_maps`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 486 |
|
||||
| `contents` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_maps`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 512 |
|
||||
| `didModifyRange:` | no | — | — |
|
||||
| `newTextureWithDescriptor:offset:bytesPerRow:` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 263 |
|
||||
| `newTextureWithDescriptor:offset:bytesPerRow:` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 266 |
|
||||
| `gpuAddress` | no | — | — |
|
||||
|
||||
### `MTLBufferBinding`
|
||||
@@ -606,11 +607,11 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `addScheduledHandler:` | yes | `event_orders`, `scheduled_handlers` | 5 |
|
||||
| `waitUntilScheduled` | yes | `scheduled_handlers` | 1 |
|
||||
| `addCompletedHandler:` | yes | `event_orders`, `scheduled_handlers` | 5 |
|
||||
| `waitUntilCompleted` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 490 |
|
||||
| `status` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 494 |
|
||||
| `waitUntilCompleted` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 493 |
|
||||
| `status` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 497 |
|
||||
| `error` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `blitCommandEncoder` | yes | `buffer_blits`, `chroma_pairs`, `compressed_blits`, `compressed_views`, `event_orders`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `scheduled_handlers`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 154 |
|
||||
| `renderCommandEncoderWithDescriptor:` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 145 |
|
||||
| `blitCommandEncoder` | yes | `buffer_blits`, `buffer_depth_samples`, `chroma_pairs`, `compressed_blits`, `compressed_views`, `event_orders`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `scheduled_handlers`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 157 |
|
||||
| `renderCommandEncoderWithDescriptor:` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 148 |
|
||||
| `computeCommandEncoder` | yes | `extended_range_blends`, `extended_range_targets` | 40 |
|
||||
| `computeCommandEncoderWithDispatchType:` | no | — | — |
|
||||
| `encodeWaitForEvent:value:` | yes | `event_orders` | 4 |
|
||||
@@ -622,7 +623,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLCommandEncoder` | no | — | — |
|
||||
| `endEncoding` | yes | `color_write_masks`, `discard_hoist`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 140 |
|
||||
| `endEncoding` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 143 |
|
||||
|
||||
### `MTLCommandQueue`
|
||||
|
||||
@@ -631,7 +632,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `MTLCommandQueue` | no | — | — |
|
||||
| `label` | no | — | — |
|
||||
| `device` | no | — | — |
|
||||
| `commandBuffer` | yes | `buffer_blits`, `chroma_pairs`, `color_write_masks`, `command_queues`, `compressed_blits`, `compressed_views`, `discard_hoist`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `snorm_tile_store`, `srgb_fetch`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points` | 301 |
|
||||
| `commandBuffer` | yes | `buffer_blits`, `buffer_depth_samples`, `chroma_pairs`, `color_write_masks`, `command_queues`, `compressed_blits`, `compressed_views`, `discard_hoist`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `snorm_tile_store`, `srgb_fetch`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points` | 304 |
|
||||
|
||||
### `MTLComputeCommandEncoder`
|
||||
|
||||
@@ -759,12 +760,12 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `newCommandQueueWithMaxCommandBufferCount:` | yes | `command_queues` | 1 |
|
||||
| `heapTextureSizeAndAlignWithDescriptor:` | yes | `compressed_moves`, `heap_metal_sizes`, `two_plane_copies`, `ycbcr_textures` | 24 |
|
||||
| `heapBufferSizeAndAlignWithLength:options:` | no | — | — |
|
||||
| `newHeapWithDescriptor:` | yes | `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `sparse_heaps`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 171 |
|
||||
| `newBufferWithLength:options:` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_maps`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 510 |
|
||||
| `newHeapWithDescriptor:` | yes | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `sparse_heaps`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 174 |
|
||||
| `newBufferWithLength:options:` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_maps`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 513 |
|
||||
| `newBufferWithBytes:length:options:` | no | — | — |
|
||||
| `newBufferWithBytesNoCopy:length:options:deallocator:` | no | — | — |
|
||||
| `newDepthStencilStateWithDescriptor:` | yes | `shader_stencil`, `srgb_fetch`, `visibility` | 14 |
|
||||
| `newTextureWithDescriptor:` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `heap_metal_sizes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_textures` | 561 |
|
||||
| `newTextureWithDescriptor:` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `heap_metal_sizes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_textures` | 564 |
|
||||
| `newSharedTextureWithDescriptor:` | no | — | — |
|
||||
| `newSharedTextureWithHandle:` | no | — | — |
|
||||
| `newSamplerStateWithDescriptor:` | yes | `border_swizzles`, `chroma_pairs`, `depth_texel_reads`, `discard_hoist`, `extended_swizzles`, `half_read_nans`, `nearest_positions`, `pixel_downscales`, `pixel_samplers`, `rgb10a2_srgb`, `two_plane_samples`, `ycbcr_minify` | 87 |
|
||||
@@ -773,7 +774,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `newRenderPipelineStateWithDescriptor:options:reflection:error:` | yes | `texture_accesses` | 1 |
|
||||
| `newRenderPipelineStateWithDescriptor:completionHandler:` | no | — | — |
|
||||
| `newRenderPipelineStateWithDescriptor:options:completionHandler:` | no | — | — |
|
||||
| `newComputePipelineStateWithFunction:error:` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `format_copies`, `fresh_contents`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `shared_exponent_storage`, `simdgroup_lockstep`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 401 |
|
||||
| `newComputePipelineStateWithFunction:error:` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `format_copies`, `fresh_contents`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `shared_exponent_storage`, `simdgroup_lockstep`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 404 |
|
||||
| `newComputePipelineStateWithFunction:options:reflection:error:` | no | — | — |
|
||||
| `newComputePipelineStateWithFunction:completionHandler:` | no | — | — |
|
||||
| `newComputePipelineStateWithFunction:options:completionHandler:` | no | — | — |
|
||||
@@ -925,13 +926,13 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLHeapDescriptor` | no | — | — |
|
||||
| `size` | yes | `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `sparse_heaps`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 171 |
|
||||
| `size` | yes | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `sparse_heaps`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 174 |
|
||||
| `storageMode` | yes | `sparse_heaps` | 6 |
|
||||
| `cpuCacheMode` | no | — | — |
|
||||
| `sparsePageSize` | yes | `sparse_heaps` | 6 |
|
||||
| `hazardTrackingMode` | no | — | — |
|
||||
| `resourceOptions` | yes | `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 165 |
|
||||
| `type` | yes | `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `sparse_heaps`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 171 |
|
||||
| `resourceOptions` | yes | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 168 |
|
||||
| `type` | yes | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `sparse_heaps`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 174 |
|
||||
|
||||
### `MTLIndirectCommandBuffer`
|
||||
|
||||
@@ -1019,7 +1020,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|---|---|---|---|
|
||||
| `MTLLibrary` | no | — | — |
|
||||
| `device` | no | — | — |
|
||||
| `newFunctionWithName:` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 508 |
|
||||
| `newFunctionWithName:` | yes | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 511 |
|
||||
| `newFunctionWithName:constantValues:error:` | no | — | — |
|
||||
| `newFunctionWithName:constantValues:completionHandler:` | no | — | — |
|
||||
| `reflectionForFunctionWithName:` | no | — | — |
|
||||
@@ -1290,16 +1291,16 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLRenderPassAttachmentDescriptor` | no | — | — |
|
||||
| `texture` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 145 |
|
||||
| `texture` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 148 |
|
||||
| `level` | no | — | — |
|
||||
| `slice` | no | — | — |
|
||||
| `slice` | yes | `buffer_depth_samples` | 3 |
|
||||
| `depthPlane` | no | — | — |
|
||||
| `resolveTexture` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `resolveLevel` | no | — | — |
|
||||
| `resolveSlice` | no | — | — |
|
||||
| `resolveDepthPlane` | no | — | — |
|
||||
| `loadAction` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 145 |
|
||||
| `storeAction` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 145 |
|
||||
| `loadAction` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 148 |
|
||||
| `storeAction` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 148 |
|
||||
| `storeActionOptions` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
|
||||
### `MTLRenderPassColorAttachmentDescriptor`
|
||||
@@ -1322,7 +1323,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLRenderPassDepthAttachmentDescriptor` | no | — | — |
|
||||
| `clearDepth` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `clearDepth` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 130 |
|
||||
| `depthResolveFilter` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
|
||||
### `MTLRenderPassDescriptor`
|
||||
@@ -1332,8 +1333,8 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `MTLRenderPassDescriptor` | no | — | — |
|
||||
| `renderPassDescriptor` | no | — | — |
|
||||
| `colorAttachments` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 145 |
|
||||
| `depthAttachment` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `stencilAttachment` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `depthAttachment` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 130 |
|
||||
| `stencilAttachment` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 130 |
|
||||
| `visibilityResultBuffer` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `renderTargetArrayLength` | no | — | — |
|
||||
| `imageblockSampleLength` | no | — | — |
|
||||
@@ -1352,7 +1353,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLRenderPassStencilAttachmentDescriptor` | no | — | — |
|
||||
| `clearStencil` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
| `clearStencil` | yes | `buffer_depth_samples`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 130 |
|
||||
| `stencilResolveFilter` | yes | `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `int_attributes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `visibility`, `wide_points` | 127 |
|
||||
|
||||
### `MTLRenderPipelineColorAttachmentDescriptor`
|
||||
@@ -1620,7 +1621,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `allowGPUOptimizedContents` | yes | `buffer_textures` | 2 |
|
||||
| `gpuResourceID` | yes | `half_storage_writes`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers` | 39 |
|
||||
| `getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:` | yes | `buffer_textures`, `chroma_pairs`, `compressed_blits`, `pvrtc_cpu_order`, `two_plane_copies` | 19 |
|
||||
| `replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 245 |
|
||||
| `replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 248 |
|
||||
| `getBytes:bytesPerRow:fromRegion:mipmapLevel:` | no | — | — |
|
||||
| `replaceRegion:mipmapLevel:withBytes:bytesPerRow:` | yes | `chroma_pairs`, `depth_texel_reads`, `discard_hoist`, `extended_range_two_planes`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `nearest_positions`, `pixel_downscales`, `pixel_samplers`, `rgb10a2_srgb`, `textures`, `tile_threadgroups`, `two_plane_samples` | 164 |
|
||||
| `newTextureViewWithPixelFormat:` | no | — | — |
|
||||
@@ -1628,7 +1629,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `newSharedTextureHandle` | no | — | — |
|
||||
| `newTextureViewWithDescriptor:` | no | — | — |
|
||||
| `swizzle` | no | — | — |
|
||||
| `newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 245 |
|
||||
| `newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 248 |
|
||||
|
||||
### `MTLTextureBinding`
|
||||
|
||||
@@ -1648,21 +1649,21 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `texture2DDescriptorWithPixelFormat:width:height:mipmapped:` | no | — | — |
|
||||
| `textureCubeDescriptorWithPixelFormat:size:mipmapped:` | no | — | — |
|
||||
| `textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:` | no | — | — |
|
||||
| `textureType` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 388 |
|
||||
| `pixelFormat` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 262 |
|
||||
| `width` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 262 |
|
||||
| `height` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 262 |
|
||||
| `depth` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 260 |
|
||||
| `mipmapLevelCount` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 260 |
|
||||
| `textureType` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 391 |
|
||||
| `pixelFormat` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 265 |
|
||||
| `width` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 265 |
|
||||
| `height` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 265 |
|
||||
| `depth` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 263 |
|
||||
| `mipmapLevelCount` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 263 |
|
||||
| `sampleCount` | yes | `buffer_textures`, `color_write_masks`, `discard_hoist`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `heap_metal_sizes`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `visibility`, `wide_points`, `ycbcr_textures` | 143 |
|
||||
| `arrayLength` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 260 |
|
||||
| `arrayLength` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `sparse_heaps`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 263 |
|
||||
| `resourceOptions` | no | — | — |
|
||||
| `cpuCacheMode` | no | — | — |
|
||||
| `storageMode` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `heap_metal_sizes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 555 |
|
||||
| `storageMode` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `heap_metal_sizes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 558 |
|
||||
| `hazardTrackingMode` | no | — | — |
|
||||
| `usage` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `heap_metal_sizes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 555 |
|
||||
| `allowGPUOptimizedContents` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 245 |
|
||||
| `swizzle` | yes | `astc_textures`, `border_swizzles`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 245 |
|
||||
| `usage` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `heap_metal_sizes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 558 |
|
||||
| `allowGPUOptimizedContents` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 248 |
|
||||
| `swizzle` | yes | `astc_textures`, `border_swizzles`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 248 |
|
||||
|
||||
### `MTLTextureReferenceType`
|
||||
|
||||
@@ -1814,8 +1815,9 @@ An item the suite's Metal leg calls whose coverage-map status is not implemented
|
||||
|
||||
| item | status | note | families |
|
||||
|---|---|---|---|
|
||||
| `MTL4LibraryFunctionDescriptor` `library` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `buffer_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` |
|
||||
| `MTLDevice` `newLibraryWithURL:error:` | missing | a metallib read from a file URL | `astc_textures`, `border_swizzles`, `chroma_pairs`, `color_write_masks`, `compressed_decode`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_accesses`, `tile_threadgroups`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` |
|
||||
| `MTL4LibraryDescriptor` `source` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` |
|
||||
| `MTL4LibraryFunctionDescriptor` `library` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` |
|
||||
| `MTLDevice` `newLibraryWithURL:error:` | missing | a metallib read from a file URL | `astc_textures`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `discard_hoist`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` |
|
||||
|
||||
## Called, attributed to no family
|
||||
|
||||
|
||||
Reference in new issue
Block a user