Make a 2D texture over a buffer whose texels run past its length, those texels in a tail
What. Buffer::new_texture and new_linear_texture of a 2D texture or a
2D array whose texels run past the buffer's length (inside Metal's
allocation rule, past which Metal answers nil and so does the plan)
are made instead of returning NotImplemented(TexelsPastBufferLength).
The texels inside the length are the buffer's bytes, exactly as
before; those past it lie in a tail of the texture's own: a zeroed
Shared buffer the runtime owns (Texels::tail), laid out from the
texels' first byte, and no other allocation's memory.
- GPU: such a texture is kept as a shadow image (ShadowedTexture is
announced). The tail is the shadow's staging buffer; its copy in
takes the bytes inside the length from the buffer, its copy back
(staging rows clipped by inside_rows) writes only those bytes back
to the buffer, and a Shared buffer's merge copies the current part
from and to the buffer and the tail apart (shadow_merge.rs).
- CPU: getBytes and replaceRegion split each row at the length
(past_runs, write_past).
- Blits: copies that name the texture's bytes split their rows at
each side's length (RowsCopy::split) and copy the part past it
from or to the tail; a copy with an ordinary texture goes through a
scratch buffer of the encoder; synchronizeResource covers the bytes
inside the length; the extended-range rewrite announces its note
rather than binding the buffer's words past the length.
Texture buffers and IOSurface planes past the length stay
NotImplemented(TexelsPastBufferLength), whose doc now says so.
Why. Plain Metal makes these textures: reims-vgpu's oracle on the
AMD 5300M and the UHD 630 (4096-byte buffer, 64x16 and 64x17 at rows
of 256, offsets 0, 256 and 2048) and the M3 Max probe
(probes/texels_past_buffer_length.m, job m3-max-4337) for the same
shapes. Under Policy::Dies the refusal ended the consumer's host. The
M3 Max's paths agree that the bytes past the length are one memory:
the next allocation's over a 4096-byte buffer, the allocation's own
zeros over a 20000-byte one, read and written alike by every path.
The tail is the second answer for every shape; docs/API.md's accepted
differences records that the runtime never reads or writes another
allocation there.
Tests.
- tests/buffer_tail_device.rs (m2v_gpu / m2v_cpu_icd): 64x17 over
4096 bytes, 64x16 at 2048, 64x80 over 20000 bytes (row 78 across
the length), 64x1 wholly past, a Private buffer's, and a 2D array
whose second slice is past the length; each path (kernel, blit,
CPU) reads what each other path wrote, the buffer keeps its bytes,
and 16 buffers around it keep theirs.
- Unit tests: linear_plan expectations (2D and array past the length
made, texture buffers refused), RowsCopy::split, inside_rows.
- Conformance: buffer-tails-kernels (scout_read_u / scout_write_u,
getBytes, replaceRegion, the buffer's bytes) and buffer-tails-blits
(blits from a buffer across the length and from a texture past it,
a copy out into a texture, blit and getBytes reads), RGBA8Uint
16x256 at offset 4096 over 20000 bytes, recorded on the M3 Max
(3 runs, one outcome, every value the model's).
- The runtime_lane assertion that a 2D array past the length is
refused now asserts it is made.
REFUSALS.md and CONFORMANCE-COVERAGE.md regenerated.
Verified:
- M3 Max, macOS 27.0.1: probe m3-max-4337 (the shapes above); record
m3-max-4492 (both cases, 3 runs, one outcome each, every site the
model's answer); replay on MoltenVK m3-max-4508: buffer-tails-* and
the four buffer-texture(s)-* cases announced (every value exact).
- gem10, lavapipe (LLVM 23.1.4, 256 bits), m3-max-4509: unit 71/71
(linear_plan, buffer_texture, blit_plan, tail); device tests under
m2v_cpu_icd 139/139 (the four buffer_tail_device tests and every
buffer_texture, shadow and blit test); runtime_lane::buffer_textures
7/7; conformance replay of the same six cases: all announced.
- Negative control, same job: the runtime's sources at 0e2c70f08f with
these tests: the four device tests fail at Buffer::new_texture with
NotImplemented(TexelsPastBufferLength), and both conformance cases
are refused with it (case/texture, case/work).
- m3-max-4565: clippy -D warnings (runtime and conformance; runtime
and validation under m2v_cpu_icd), rustdoc -D warnings, unit
rows_split, buffer_tails, refusal and api_surface tests.
(cherry picked from commit e483e17c6c4d087a50a95cda297cf291934bee54)
This commit is contained in:
1 parent
796bbb6430
commit
9ee7323e76
25 files changed
+2663
-200
No files matched your search
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"format": 1,
|
||||
"case": "buffer-tails-blits",
|
||||
"suite_version": 1,
|
||||
"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": "shape",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "5ed18d5588c6f4b0981df9797aa07e223d285186c81a92a089ae8bdf38b0ebb3"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "buffer-bytes",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "bd4620b3442ddf9b33ec34f960feed1282a934d57a572d50ab8e4bd9703edf8e"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written-sets",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "e5f5442674ecc70049f30a2753178ac1817e839d3ac3a93dfff5729c7f8ec4bf"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "copies",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "61c8475093cb767e6f35d2ca151c232c76a8655ade43761ec60fe782975c4f3d"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "work",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/blit",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "UVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKD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nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vsBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+wECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/blit",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "UVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ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1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vsBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+wECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/get-bytes",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "UVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2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Z2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vsBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+wECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ordinary/get-bytes",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "goOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vsBAgME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DE+S1hlcn+MmaazwM3a5/QEER4rOEVSX2x5hpOgrbrH1OHu+wsYJTI/TFlmc4CNmqe0wc7b6PUFEh8sOUZTYG16h5ShrrvI1eLv/AwZJjNATVpndIGOm6i1ws/c6fYGEyAtOkdUYW57iJWir7zJ1uPw/Q0aJzRBTltodYKPnKm2w9Dd6vcHFCEuO0hVYm98iZajsL3K1+Tx/g4bKDVCT1xpdoOQnaq3xNHe6/gIFSIvPElWY3B9ipeksb7L2OXyAg8cKTZDUF1qd4SRnqu4xdLf7PkJFiMwPUpXZHF+i5ilsr/M2ebzAxAdKjdEUV5reIWSn6y5xtPg7foKFyQxPktYZXJ/jJmms8DN2uf0BBEeKzhFUl9seYaToK26x9Th7vsLGCUyP0xZZnOAjZqntMHO2+j1BRIfLDlGU2BteoeUoa67yNXi7/wMGSYzQE1aZ3SBjpuotcLP3On2BhMgLTpHVGFue4iVoq+8ydbj8P0NGic0QU5baHWCj5yptsPQ3er3BxQhLjtIVWJvfImWo7C9ytfk8f4OGygLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/buffer",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucn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U1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+wECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 20000
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 32,
|
||||
"row_pitch": 32,
|
||||
"rows": 625,
|
||||
"image_pitch": 20000,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "notices",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "set",
|
||||
"observed": {
|
||||
"value": {
|
||||
"nothing": "announced_nothing"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "counts",
|
||||
"observed": {
|
||||
"value": {
|
||||
"fields": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"validated": {
|
||||
"stopped": {
|
||||
"call": "work",
|
||||
"message": "Length required by texture offset, bytes per row, height and array length(20480) exceed buffer capacity(20000)."
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,646 @@
|
||||
{
|
||||
"format": 1,
|
||||
"case": "buffer-tails-kernels",
|
||||
"suite_version": 1,
|
||||
"shaders": [
|
||||
{
|
||||
"fixture": "format_scout.ll",
|
||||
"entry": "scout_read_u",
|
||||
"source_sha256": "3d6a9f693cb8eaa851e08e12bcce2afce2890bf3973e9b47312f5e18f2157cb9"
|
||||
},
|
||||
{
|
||||
"fixture": "format_scout.air.ll",
|
||||
"entry": "scout_read_u",
|
||||
"source_sha256": "3631bf570501999cd192eacf86330e5c45cc74b914cdda669586ada3838dc110"
|
||||
},
|
||||
{
|
||||
"fixture": "format_scout.ll",
|
||||
"entry": "scout_write_u",
|
||||
"source_sha256": "3d6a9f693cb8eaa851e08e12bcce2afce2890bf3973e9b47312f5e18f2157cb9"
|
||||
},
|
||||
{
|
||||
"fixture": "format_scout.air.ll",
|
||||
"entry": "scout_write_u",
|
||||
"source_sha256": "3631bf570501999cd192eacf86330e5c45cc74b914cdda669586ada3838dc110"
|
||||
}
|
||||
],
|
||||
"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": "air",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "3d6a9f693cb8eaa851e08e12bcce2afce2890bf3973e9b47312f5e18f2157cb9"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "air-typed",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "3631bf570501999cd192eacf86330e5c45cc74b914cdda669586ada3838dc110"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "shape",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "5ed18d5588c6f4b0981df9797aa07e223d285186c81a92a089ae8bdf38b0ebb3"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "buffer-bytes",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "bd4620b3442ddf9b33ec34f960feed1282a934d57a572d50ab8e4bd9703edf8e"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced",
|
||||
"observed": {
|
||||
"value": "absent",
|
||||
"digest": {
|
||||
"kind": "sha256",
|
||||
"hex": "71be51073e62988678e66d71d90028624a824010fe1f0e362c23c2b7081a1537"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "library",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "pipeline/read",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "pipeline/write",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "buffer",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "texture",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/kernel/out",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/kernel/dispatch",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/kernel/status",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": {
|
||||
"variant": {
|
||||
"name": "Completed",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/kernel/read-back",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/kernel",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "UQAAAFIAAABTAAAAVAAAAFUAAABWAAAAVwAAAFgAAABZAAAAWgAAAFsAAABcAAAAXQAAAF4AAABfAAAAYAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAewAAAHwAAAB9AAAAfgAAAH8AAACAAAAAgQAAAIIAAACDAAAAhAAAAIUAAACGAAAAhwAAAIgA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A0gAAANMAAADUAAAA1QAAANYAAADXAAAA2AAAANkAAADaAAAA2wAAANwAAADdAAAA3gAAAN8AAADgAAAA4QAAAOIAAADjAAAA5AAAAOUAAADmAAAA5wAAAOgAAADpAAAA6gAAAOsAAADsAAAA7QAAAO4AAADvAAAA8AAAAPEAAADyAAAA8wAAAPQAAAD1AAAA9gAAAPcAAAD4AAAA+QAAAPoAAAD7AAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 65536
|
||||
}
|
||||
},
|
||||
"element": "u32",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 256,
|
||||
"rows": 256,
|
||||
"image_pitch": 65536,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/get-bytes/call",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "made/get-bytes",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "UVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamts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iIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+wECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "write/dispatch",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "write/status",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": {
|
||||
"variant": {
|
||||
"name": "Completed",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/kernel/out",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/kernel/dispatch",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/kernel/status",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": {
|
||||
"variant": {
|
||||
"name": "Completed",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/kernel/read-back",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/kernel",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "AAAAAAAAAAADAAAABQAAAAEAAAAAAAAAAwAAAAUAAAACAAAAAAAAAAMAAAAFAAAAAwAAAAAAAAADAAAABQAAAAQAAAAAAAAAAwAAAAUAAAAFAAAAAAAAAAMAAAAFAAAABgAAAAAAAAADAAAABQAAAAcAAAAAAAAAAwAAAAUAAAAIAAAAAAAAAAMAAAAFAAAACQAAAAAAAAADAAAABQAAAAoAAAAAAAAAAwAAAAUAAAALAAAAAAAAAAMAAAAFAAAADAAAAAAAAAADAAAABQAAAA0AAAAAAAAAAwAAAAUAAAAOAAAAAAAAAAMAAAAFAAAADwAAAAAAAAADAAAABQAAAAAAAAABAAAAAwAAAAUAAAABAAAAAQAAAAMAAAAFAAAAAgAAAAEAAAADAAAABQAAAAMAAAABAAAAAwAAAAUAAAAEAAAAAQAAAAMAAAAFAAAABQAAAAEAAAADAAAABQAAAAYAAAABAAAAAwAAAAUAAAAHAAAAAQAAAAMAAAAFAAAACAAAAAEAAAADAAAABQAAAAkAAAABAAAAAwAAAAUAAAAKAAAAAQAAAAMAAAAFAAAACwAAAAEAAAADAAAABQAAAAwAAAABAAAAAwAAAAUAAAANAAAAAQAAAAMAAAAFAAAADgAAAAEAAAADAAAABQAAAA8AAAABAAAAAwAAAAUAAAA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AAACgAAAAsAAAADAAAABQAAAAsAAAALAAAAAwAAAAUAAAAMAAAACwAAAAMAAAAFAAAADQAAAAsAAAADAAAABQAAAA4AAAALAAAAAwAAAAUAAAAPAAAACwAAAAMAAAAFAAAAAAAAAAwAAAADAAAABQAAAAEAAAAMAAAAAwAAAAUAAAACAAAADAAAAAMAAAAFAAAAAwAAAAwAAAADAAAABQAAAAQAAAAMAAAAAwAAAAUAAAAFAAAADAAAAAMAAAAFAAAABgAAAAwAAAADAAAABQAAAAcAAAAMAAAAAwAAAAUAAAAIAAAADAAAAAMAAAAFAAAACQAAAAwAAAADAAAABQAAAAoAAAAMAAAAAwAAAAUAAAALAAAADAAAAAMAAAAFAAAADAAAAAwAAAADAAAABQAAAA0AAAAMAAAAAwAAAAUAAAAOAAAADAAAAAMAAAAFAAAADwAAAAwAAAADAAAABQAAAAAAAAANAAAAAwAAAAUAAAABAAAADQAAAAMAAAAFAAAAAgAAAA0AAAADAAAABQAAAAMAAAANAAAAAwAAAAUAAAAEAAAADQAAAAMAAAAFAAAABQAAAA0AAAADAAAABQAAAAYAAAANAAAAAwAAAAUAAAAHAAAADQAAAAMAAAAFAAAACAAAAA0AAAADAAAABQAAAAkAAAANAAAAAwAAAAUAAAAKAAAADQAAAAMAAAAFAAAACwAAAA0AAAADAAAABQAAAAwAAAANAAAAAwAAAAUAAAANAAAADQAAAAMAAAAFAAAADgAAAA0AAAADAAAABQAAAA8AAAANAAAAAwAAAAUAAAAAAAAADgAAAAMAAAAFAAAAAQAAAA4AAAADAAAABQAAAAIAAAAOAAAAAwAAAAUAAAADAAAADgAAAAMAAAAFAAAABAAAAA4AAAADAAAABQAAAAUAAAAOAAAAAwAAAAUAAAAGAAAADgAAAAMAAAAFAAAABwAAAA4AAAADAAAABQAAAAgAAAAOAAAAAwAAAAULine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 65536
|
||||
}
|
||||
},
|
||||
"element": "u32",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 256,
|
||||
"rows": 256,
|
||||
"image_pitch": 65536,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/get-bytes/call",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/get-bytes",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "AAADBQEAAwUCAAMFAwADBQQAAwUFAAMFBgADBQcAAwUIAAMFCQADBQoAAwULAAMFDAADBQ0AAwUOAAMFDwADBQABAwUBAQMFAgEDBQMBAwUEAQMFBQEDBQYBAwUHAQMFCAEDBQkBAwUKAQMFCwEDBQwBAwUNAQMFDgEDBQ8BAwUAAgMFAQIDBQICAwUDAgMFBAIDBQUCAwUGAgMFBwIDBQgCAwUJAgMFCgIDBQsCAwUMAgMFDQIDBQ4CAwUPAgMFAAMDBQEDAwUCAwMFAwMDBQQDAwUFAwMFBgMDBQcDAwUIAwMFCQMDBQoDAwULAwMFDAMDBQ0DAwUOAwMFDwMDBQAEAwUBBAMFAgQDBQMEAwUEBAMFBQQDBQYEAwUHBAMFCAQDBQkEAwUKBAMFCwQDBQwEAwUNBAMFDgQDBQ8EAwUABQMFAQUDBQIFAwUDBQMFBAUDBQUFAwUGBQMFBwUDBQgFAwUJBQMFCgUDBQsFAwUMBQMFDQUDBQ4FAwUPBQMFAAYDBQEGAwUCBgMFAwYDBQQGAwUFBgMFBgYDBQcGAwUIBgMFCQYDBQoGAwULBgMFDAYDBQ0GAwUOBgMFDwYDBQAHAwUBBwMFAgcDBQMHAwUEBwMFBQcDBQYHAwUHBwMFCAcDBQkHAwUKBwMFCwcDBQwHAwUNBwMFDgcDBQ8HAwUACAMFAQgDBQIIAwUDCAMFBAgDBQ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UCOQMFAzkDBQQ5AwUFOQMFBjkDBQc5AwUIOQMFCTkDBQo5AwULOQMFDDkDBQ05AwUOOQMFDzkDBQA6AwUBOgMFAjoDBQMLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/buffer/call",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "written/buffer",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vsBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaX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9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 20000
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 32,
|
||||
"row_pitch": 32,
|
||||
"rows": 625,
|
||||
"image_pitch": 20000,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/call",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/kernel/out",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/kernel/dispatch",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/kernel/status",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": {
|
||||
"variant": {
|
||||
"name": "Completed",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/kernel/read-back",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/kernel",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "AgAAAA8AAAAcAAAAKQAAADYAAABDAAAAUAAAAF0AAABqAAAAdwAAAIQAAACRAAAAngAAAKsAAAC4AAAAxQAAANIAAADfAAAA7AAAAPkAAAAJAAAAFgAAACMAAAAwAAAAPQAAAEoAAABXAAAAZAAAAHEAAAB+AAAAiwAAAJgAAAClAAAAsgAAAL8AAADMAAAA2QAAAOYAAADzAAAAAwAAABAAAAAdAAAAKgAAADcAAABEAAAAUQAAAF4AAABrAAAAeAAAAIUAAACSAAAAnwAAAKwAAAC5AAAAxgAAANMAAADgAAAA7QAAAPoAAAAKAAAAFwAAACQAAAAxAAAAPgAAAEsAAABYAAAAZQAAAHIAAAB/AAAAjAAAAJkAAACmAAAAswAAAMAAAADNAAAA2gAAAOcAAAD0AAAABAAAABEAAAAeAAAAKwAAADgAAABFAAAAUgAAAF8AAABsAAAAeQAAAIYAAACTAAAAoAAAAK0AAAC6AAAAxwAAANQAAADhAAAA7gAAAPsAAAALAAAAGAAAACUAAAAyAAAAPwAAAEwAAABZAAAAZgAAAHMAAACAAAAAjQAAAJoAAACnAAAAtAAAAMEAAADOAAAA2wAAAOgAAAD1AAAABQAAABIAAAAfAAAALAAAADkAAABGAAAAUwAAAGAAAABtAAAAegAAAIcAAACUAAAAoQAAAK4AAAC7AAAAyAAAANUAAADiAAAA7wAAAPwAAAAMAAAAGQAAACYAAAAzAAAAQAAAAE0AAABaAAAAZwAAAHQAAACBAAAAjgAAAJsAAACoAAAAtQAAAMIAAADPAAAA3AAAAOkAAAD2AAAABgAAABMAAAAgAAAALQAAADoAAABHAAAAVAAAAGEAAABuAAAAewAAAIgAAACVAAAAogAAAK8AAAC8AAAAyQAAANYAAADjAAAA8AAAAP0AAAANAAAAGgAAACcAAAA0AAAAQQAAAE4AAABbAAAAaAAAAHUAAACCAAAAjwAAAJwAAACpAAAAtgAAAMMAAADQA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nwAAAKwAAAC5AAAAxgAAANMAAADgAAAA7QAAAPoAAAAKAAAAFwAAACQAAAAxAAAAPgAAAEsAAABYAAAAZQAAAHIAAAB/AAAAjAAAAJkAAACmAAAAswAAAMAAAADNAAAA2gAAAOcAAAD0AAAABAAAABEAAAAeAAAAKwAAADgAAABFAAAAUgAAAF8AAABsAAAAeQAAAIYAAACTAAAAoAAAAK0AAAC6AAAAxwAAANQAAADhAAAA7gAAAPsAAAALAAAAGAAAACUAAAAyAAAAPwAAAEwAAABZAAAAZgAAAHMAAACAAAAAjQAAAJoAAACnAAAAtAAAAMEAAADOAAAA2wAAAOgAAAD1AAAABQAAABIAAAAfAAAALAAAADkAAABGAAAAUwAAAGAAAABtAAAAegAAAIcAAACUAAAAoQAAAK4AAAC7AAAAyAAAANUAAADiAAAA7wAAAPwAAAAMAAAAGQAAACYAAAAzAAAAQAAAAE0AAABaAAAAZwAAAHQAAACBAAAAjgAAAJsAAACoAAAAtQAAAMIAAADPAAAA3AAAAOkAAAD2AAAABgAAABMAAAAgAAAALQAAADoAAABHAAAAVAAAAGEAAABuAAAAewAAAIgAAACVAAAAogAAAK8AAAC8AAAAyQAAANYLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 65536
|
||||
}
|
||||
},
|
||||
"element": "u32",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 256,
|
||||
"rows": 256,
|
||||
"image_pitch": 65536,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/get-bytes/call",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/get-bytes",
|
||||
"observed": {
|
||||
"value": {
|
||||
"bytes": "Ag8c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Fue4iVoq+8ydbj8P0NGic0QU5baHWCj5yptsPQ3er3BxQhLjtIVWJvfImWo7C9ytfk8f4OGyg1Qk9caXaDkJ2qt8TR3uv4CBUiLzxJVmNwfYqXpLG+y9jl8gIPHCk2Q1BdaneEkZ6ruMXS3+z5CRYjMD1KV2RxfouYpbK/zNnm8wMQHSo3RFFea3iFkp+sucbT4O36ChckMT5LWGVyf4yZprPAzdrn9AQRHis4RVJfbHmGk6CtusfU4e77CxglMj9MWWZzgI2ap7TBztvo9QUSHyw5RlNgbXqHlKGuu8jV4u/8DBkmM0BNWmd0gY6bqLXCz9zp9gYTIC06R1RhbnuIlaKvvMnW4/D9DRonNEFOW2h1go+cqbbD0N3q9wcUIS47SFVib3yJlqOwvcrX5PH+DhsoNUJPXGl2g5CdqrfE0d7r+AgVIi88SVZjcH2Kl6SxvsvY5fICDxwpNkNQXWp3hJGeq7jF0t/s+QkWIzA9SldkcX6LmKWyv8zZ5vMDEB0qN0RRXmt4hZKfrLnG0+Dt+goXJDE+S1hlcn+MmaazwM3a5/QEER4rOEVSX2x5hpOgrbrH1OHu+wsYJTI/TFlmc4CNmqe0wc7b6PUFEh8sOUZTYG16h5ShrrvI1eLv/AwZJjNATVpndIGOm6i1ws/c6fYGEyAtOkdUYW57iJWir7zJ1uPw/Q0aJzRBTltLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 16384
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 64,
|
||||
"row_pitch": 64,
|
||||
"rows": 256,
|
||||
"image_pitch": 16384,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "replaced/buffer/call",
|
||||
"observed": {
|
||||
"value": {
|
||||
"variant": {
|
||||
"name": "Ok",
|
||||
"payload": "absent"
|
||||
}
|
||||
}
|
||||
}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eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJysvMzc7P0NHS09TV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vsBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+wECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPLine truncated
|
||||
},
|
||||
"shape": {
|
||||
"bytes": {
|
||||
"region": {
|
||||
"buffer": {
|
||||
"offset": 0,
|
||||
"length": 20000
|
||||
}
|
||||
},
|
||||
"element": "u8",
|
||||
"row_offset": 0,
|
||||
"row_elements": 32,
|
||||
"row_pitch": 32,
|
||||
"rows": 625,
|
||||
"image_pitch": 20000,
|
||||
"images": 1,
|
||||
"gaps": "ignored"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "notices",
|
||||
"observed": {
|
||||
"value": "absent"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "set",
|
||||
"observed": {
|
||||
"value": {
|
||||
"nothing": "announced_nothing"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "counts",
|
||||
"observed": {
|
||||
"value": {
|
||||
"fields": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"validated": {
|
||||
"stopped": {
|
||||
"call": "plane_texture",
|
||||
"message": "Length required by texture offset, bytes per row, height and array length(20480) exceed buffer capacity(20000)."
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -56,6 +56,7 @@ pub mod blit_indirect_commands;
|
||||
pub mod border_swizzles;
|
||||
pub mod buffer_blits;
|
||||
pub mod buffer_depth_samples;
|
||||
pub mod buffer_tails;
|
||||
pub mod buffer_target_clears;
|
||||
pub mod buffer_texture_blits;
|
||||
pub mod buffer_textures;
|
||||
@@ -513,6 +514,7 @@ pub fn all() -> Vec<Box<dyn Case>> {
|
||||
cases.extend(blit_indirect_commands::all());
|
||||
cases.push(Box::new(compute_heap_residency::heap_residency()));
|
||||
cases.extend(buffer_texture_blits::all());
|
||||
cases.extend(buffer_tails::all());
|
||||
cases.extend(buffer_textures::all());
|
||||
cases.extend(buffer_target_clears::all());
|
||||
cases.push(Box::new(host_detach::detach_in_a_completed_handler()));
|
||||
|
||||
@@ -0,0 +1,533 @@
|
||||
//! A 2D texture over a buffer whose texels run past the buffer's length: what each path reads and
|
||||
//! writes there.
|
||||
//!
|
||||
//! Plain Metal makes such a texture (`newTextureWithDescriptor:offset:bytesPerRow:`) wherever its
|
||||
//! rows end inside the buffer's `allocatedSize`, and takes the texels past the length as one
|
||||
//! memory every path shares: a kernel's `read()` and `write()`, a blit from and into it,
|
||||
//! `getBytes:` and `replaceRegion:` each read what the others wrote
|
||||
//! (`probes/texels_past_buffer_length.m`, an Apple M3 Max under macOS 27.0.1). What that memory
|
||||
//! holds before anything writes it is the allocation's: over a buffer of 4096 bytes, whose
|
||||
//! `allocatedSize` is its length, it is the buffer allocated next, which no case can state; over
|
||||
//! a buffer of 20000 bytes, whose `allocatedSize` is 32768, it is the rest of the buffer's own
|
||||
//! allocation, and it reads zero. The runtime keeps those texels in a tail of the texture's own
|
||||
//! (`metal2vulkan-runtime`'s `buffer_texture.rs`), zero when made, so this family asks the second
|
||||
//! shape, where Metal's answer is one a case can compare: a 16 by 256 `RGBA8Uint` texture at
|
||||
//! offset 4096, its rows 64 bytes apart, over 20000 bytes. Its rows 0 to 247 lie inside the
|
||||
//! length, row 248 crosses it 32 bytes (8 texels) in, and rows 249 to 255 lie past it.
|
||||
//!
|
||||
//! - `buffer-tails-kernels` reads the texture through the format scout's `scout_read_u` and
|
||||
//! `getBytes:` as made, after `scout_write_u` wrote every texel, and after `replaceRegion:`
|
||||
//! wrote every texel, and the buffer's 20000 bytes after each write.
|
||||
//! - `buffer-tails-blits` reads it through a blit into a buffer as made, writes rows 244 to 251
|
||||
//! by a blit from a buffer (across the length) and rows 252 to 255 by a blit from a texture
|
||||
//! (wholly past it), copies rows 240 to 255 into a texture of its own, and reads every one of
|
||||
//! those back, with the buffer's bytes.
|
||||
//!
|
||||
//! Every byte compares exactly. What differs is the announcing: the runtime keeps a texture with
|
||||
//! a tail as a shadow image and announces `shadowed-texture`, which Metal never does, and a
|
||||
//! device without unified memory announces `shared-in-system-memory` for the `Shared` buffers the
|
||||
//! answers are read back through. Nothing here can fault a GPU: one small texture, one thread a
|
||||
//! texel, no loop.
|
||||
|
||||
use crate::allowance::Allowance;
|
||||
use crate::case::{
|
||||
call, made, Abort, Bindings, Case, Failure, Handle, Input, MetalSource, PlaneTexture, Side,
|
||||
};
|
||||
use crate::fixture::{Fixture, METAL_TEXT, RUNTIME_TEXT};
|
||||
use crate::recording::ShaderRef;
|
||||
use crate::transcript::{ByteLayout, Digest, Element, Gaps, Node, Observed, Region, Sites, Value};
|
||||
use crate::work::{Plane, Rect, Resource, Step, Storage as WorkStorage, TextureSpec, Work};
|
||||
use metal2vulkan::metal::{PixelFormat, TextureUsage};
|
||||
|
||||
/// The case names, as the report and the recordings spell them.
|
||||
pub const KERNELS: &str = "buffer-tails-kernels";
|
||||
pub const BLITS: &str = "buffer-tails-blits";
|
||||
|
||||
/// The buffer's length: under its `allocatedSize` on the oracle (32768), so the texels past it lie
|
||||
/// in the buffer's own allocation, where Metal reads zero.
|
||||
const LEN: u64 = 20000;
|
||||
/// The texture's first byte in the buffer.
|
||||
const OFFSET: u64 = 4096;
|
||||
/// The texture's rows lie this many bytes apart: its own row, 16 texels of 4 bytes.
|
||||
const PITCH: u64 = 64;
|
||||
/// The texture's width: the grid `format_scout`'s kernels are written for (`out[g.y * 16 + g.x]`).
|
||||
const WIDTH: u64 = 16;
|
||||
/// The texture's height: its last row ends at byte 20480, 480 bytes past the length.
|
||||
const HEIGHT: u64 = 256;
|
||||
/// The texture's bytes, packed.
|
||||
const TEXTURE_BYTES: u64 = PITCH * HEIGHT;
|
||||
/// The bytes a kernel's read of every texel gives: a `uint4` a texel.
|
||||
const KERNEL_BYTES: u64 = 16 * WIDTH * HEIGHT;
|
||||
const FORMAT: PixelFormat = PixelFormat::RGBA8Uint;
|
||||
|
||||
/// The fixture whose kernels read and write the texture: our own MSL.
|
||||
const SCOUT: &str = "format_scout";
|
||||
const READ_ENTRY: &str = "scout_read_u";
|
||||
const WRITE_ENTRY: &str = "scout_write_u";
|
||||
|
||||
/// The byte a buffer the blits read into holds before they run, which no write here makes, so a
|
||||
/// read that never happened is not read as zeros.
|
||||
const BEFORE: u8 = 0xEE;
|
||||
|
||||
/// The buffer's bytes before anything runs: byte `i` holds `i % 251 + 1`, which is never zero, so
|
||||
/// a texel that reads zero is one past the length and never the buffer's.
|
||||
fn pattern(n: u64) -> Vec<u8> {
|
||||
(0..n).map(|i| (i % 251) as u8 + 1).collect()
|
||||
}
|
||||
|
||||
/// The bytes `replaceRegion:` and the blits write: never zero, and unlike [`pattern`]'s.
|
||||
fn written(n: u64, set: u64) -> Vec<u8> {
|
||||
(0..n)
|
||||
.map(|i| ((i * 13 + set * 101) % 253) as u8 + 2)
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// What both cases loosen: the notices, and nothing else.
|
||||
fn allowances() -> Vec<Allowance> {
|
||||
// The runtime keeps a texture whose texels run past its buffer's length as a shadow image of
|
||||
// the buffer's bytes and its tail, and announces `shadowed-texture`, which Metal never does.
|
||||
// Every case reads its answers back through `Shared` buffers, so a device without unified
|
||||
// memory announces `shared-in-system-memory` (`crate::replay::shared_memory_notice`).
|
||||
vec![
|
||||
crate::replay::shared_memory_notice(),
|
||||
crate::replay::notice_allowance(metal2vulkan_runtime::Degradation::ShadowedTexture.code()),
|
||||
]
|
||||
}
|
||||
|
||||
/// The numbers that place the texture in the buffer, for both cases' inputs.
|
||||
fn shape_words() -> Vec<u8> {
|
||||
let mut words = Vec::new();
|
||||
for number in [
|
||||
LEN,
|
||||
OFFSET,
|
||||
PITCH,
|
||||
WIDTH,
|
||||
HEIGHT,
|
||||
u64::from(FORMAT.as_raw()),
|
||||
] {
|
||||
words.extend(number.to_le_bytes());
|
||||
}
|
||||
words
|
||||
}
|
||||
|
||||
/// Rows of `row` bytes over `length` bytes from byte 0 of a read, as a site's layout, so a
|
||||
/// difference names the row and the byte or word inside it.
|
||||
fn rows(length: u64, row: u64, element: Element) -> ByteLayout {
|
||||
let pitch = u32::try_from(row).expect("a row in a u32");
|
||||
ByteLayout {
|
||||
region: Region::Buffer { offset: 0, length },
|
||||
element,
|
||||
row_offset: 0,
|
||||
row_elements: pitch / element.size(),
|
||||
row_pitch: pitch,
|
||||
rows: u32::try_from(length / row).expect("the rows in a u32"),
|
||||
image_pitch: u32::try_from(length).expect("the length in a u32"),
|
||||
images: 1,
|
||||
gaps: Gaps::Ignored,
|
||||
}
|
||||
}
|
||||
|
||||
/// A kernel's read of every texel: a row of the texture is 16 `uint4`s.
|
||||
fn kernel_layout() -> ByteLayout {
|
||||
rows(KERNEL_BYTES, 16 * WIDTH, Element::U32)
|
||||
}
|
||||
|
||||
/// The texture's bytes as `getBytes:` or a blit reads them: rows of [`PITCH`].
|
||||
fn texture_layout() -> ByteLayout {
|
||||
rows(TEXTURE_BYTES, PITCH, Element::U8)
|
||||
}
|
||||
|
||||
/// The buffer's bytes, in rows of 32 (which divide its length): the texture's row `y` is rows
|
||||
/// `128 + 2y` and `129 + 2y`.
|
||||
fn buffer_layout() -> ByteLayout {
|
||||
rows(LEN, 32, Element::U8)
|
||||
}
|
||||
|
||||
/// Both cases.
|
||||
pub fn all() -> Vec<Box<dyn Case>> {
|
||||
vec![Box::new(Kernels), Box::new(Blits)]
|
||||
}
|
||||
|
||||
/// The texture read and written by kernels and by the host.
|
||||
pub struct Kernels;
|
||||
|
||||
impl Kernels {
|
||||
fn fixture(entry: &'static str) -> Fixture {
|
||||
Fixture { name: SCOUT, entry }
|
||||
}
|
||||
|
||||
/// Every texel as `scout_read_u` reads it, into a buffer of its own, at `at`.
|
||||
fn kernel_read(
|
||||
side: &mut dyn Side,
|
||||
sites: &mut Sites,
|
||||
at: &str,
|
||||
(read, texture): (Handle, Handle),
|
||||
) -> Result<(), Abort> {
|
||||
let out = made(
|
||||
sites,
|
||||
&format!("{at}/out"),
|
||||
side.zeroed_buffer(KERNEL_BYTES as usize),
|
||||
)?;
|
||||
let (textures, buffers) = ([texture], [out]);
|
||||
let grid = [WIDTH as u32, HEIGHT as u32, 1];
|
||||
let dispatched = side.dispatch_threads(
|
||||
read,
|
||||
&Bindings::new(&textures, &buffers),
|
||||
&[],
|
||||
grid,
|
||||
[WIDTH as u32, 4, 1],
|
||||
);
|
||||
let dispatched = made(sites, &format!("{at}/dispatch"), dispatched)?;
|
||||
call(
|
||||
sites,
|
||||
&format!("{at}/status"),
|
||||
side.wait(dispatched),
|
||||
Clone::clone,
|
||||
)?;
|
||||
let bytes = made(
|
||||
sites,
|
||||
&format!("{at}/read-back"),
|
||||
side.read_buffer(out, 0, KERNEL_BYTES as usize),
|
||||
)?;
|
||||
sites.push(Node::leaf(at, Observed::bytes(bytes, kernel_layout())));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// The texture's bytes as `getBytes:` reads them, at `at`.
|
||||
fn get_bytes(
|
||||
side: &mut dyn Side,
|
||||
sites: &mut Sites,
|
||||
at: &str,
|
||||
texture: Handle,
|
||||
) -> Result<(), Abort> {
|
||||
let size = [WIDTH as u32, HEIGHT as u32];
|
||||
let bytes = made(sites, &format!("{at}/call"), {
|
||||
side.read_texture(texture, size, PITCH as u32)
|
||||
})?;
|
||||
sites.push(Node::leaf(at, Observed::bytes(bytes, texture_layout())));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// The buffer's bytes through its `contents`, at `at`.
|
||||
fn buffer(
|
||||
side: &mut dyn Side,
|
||||
sites: &mut Sites,
|
||||
at: &str,
|
||||
buffer: Handle,
|
||||
) -> Result<(), Abort> {
|
||||
let bytes = made(
|
||||
sites,
|
||||
&format!("{at}/call"),
|
||||
side.read_buffer(buffer, 0, LEN as usize),
|
||||
)?;
|
||||
sites.push(Node::leaf(at, Observed::bytes(bytes, buffer_layout())));
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl Case for Kernels {
|
||||
fn name(&self) -> &'static str {
|
||||
KERNELS
|
||||
}
|
||||
|
||||
fn metal_source(&self) -> MetalSource {
|
||||
MetalSource::Run
|
||||
}
|
||||
|
||||
fn allowances(&self) -> Vec<Allowance> {
|
||||
allowances()
|
||||
}
|
||||
|
||||
fn shaders(&self) -> Result<Vec<ShaderRef>, String> {
|
||||
let mut shaders = Vec::new();
|
||||
for entry in [READ_ENTRY, WRITE_ENTRY] {
|
||||
for extension in [RUNTIME_TEXT, METAL_TEXT] {
|
||||
shaders.push(ShaderRef {
|
||||
fixture: format!("{SCOUT}{extension}"),
|
||||
entry: entry.to_owned(),
|
||||
source_sha256: crate::sha256_hex(
|
||||
Self::fixture(entry).text(extension)?.as_bytes(),
|
||||
),
|
||||
});
|
||||
}
|
||||
}
|
||||
Ok(shaders)
|
||||
}
|
||||
|
||||
fn inputs(&self) -> Result<Vec<Input>, String> {
|
||||
let fixture = Self::fixture(READ_ENTRY);
|
||||
Ok(vec![
|
||||
Input {
|
||||
name: "air".to_owned(),
|
||||
digest: Digest::sha256(fixture.text(RUNTIME_TEXT)?.as_bytes()),
|
||||
},
|
||||
Input {
|
||||
name: "air-typed".to_owned(),
|
||||
digest: Digest::sha256(fixture.text(METAL_TEXT)?.as_bytes()),
|
||||
},
|
||||
Input::bytes("shape", &shape_words()),
|
||||
Input::bytes("buffer-bytes", &pattern(LEN)),
|
||||
Input::bytes("replaced", &written(TEXTURE_BYTES, 0)),
|
||||
])
|
||||
}
|
||||
|
||||
fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> {
|
||||
let loaded = Self::fixture(READ_ENTRY).loaded().map_err(|why| Abort {
|
||||
at: "library".to_owned(),
|
||||
failure: Failure::named("FixtureNotRead", why),
|
||||
})?;
|
||||
let library = made(sites, "library", side.library(&loaded.source()))?;
|
||||
let read = made(
|
||||
sites,
|
||||
"pipeline/read",
|
||||
side.compute_pipeline(library, READ_ENTRY),
|
||||
)?;
|
||||
let write = made(
|
||||
sites,
|
||||
"pipeline/write",
|
||||
side.compute_pipeline(library, WRITE_ENTRY),
|
||||
)?;
|
||||
let buffer = made(sites, "buffer", side.buffer(&pattern(LEN)))?;
|
||||
let over = PlaneTexture {
|
||||
ostype: None,
|
||||
format: FORMAT.as_raw(),
|
||||
size: [WIDTH as u32, HEIGHT as u32],
|
||||
plane: 0,
|
||||
planes: [(OFFSET, PITCH), (0, 0)],
|
||||
};
|
||||
let texture = made(sites, "texture", side.plane_texture(buffer, &over))?;
|
||||
// As made: the buffer's bytes inside the length, the allocation's zeros past it.
|
||||
Self::kernel_read(side, sites, "made/kernel", (read, texture))?;
|
||||
Self::get_bytes(side, sites, "made/get-bytes", texture)?;
|
||||
// `scout_write_u` writes `(x, y, 3, 5)` into every texel, inside the length and past it.
|
||||
let only = [texture];
|
||||
let grid = [WIDTH as u32, HEIGHT as u32, 1];
|
||||
let dispatched = side.dispatch_threads(
|
||||
write,
|
||||
&Bindings::textures(&only),
|
||||
&[],
|
||||
grid,
|
||||
[WIDTH as u32, 4, 1],
|
||||
);
|
||||
let dispatched = made(sites, "write/dispatch", dispatched)?;
|
||||
call(sites, "write/status", side.wait(dispatched), Clone::clone)?;
|
||||
Self::kernel_read(side, sites, "written/kernel", (read, texture))?;
|
||||
Self::get_bytes(side, sites, "written/get-bytes", texture)?;
|
||||
Self::buffer(side, sites, "written/buffer", buffer)?;
|
||||
// `replaceRegion:` writes every texel.
|
||||
let replaced = written(TEXTURE_BYTES, 0);
|
||||
let size = [WIDTH as u32, HEIGHT as u32];
|
||||
let at = "replaced/call";
|
||||
call(
|
||||
sites,
|
||||
at,
|
||||
side.replace_region(texture, size, PITCH as u32, &replaced),
|
||||
|_| Value::Absent,
|
||||
)?;
|
||||
Self::kernel_read(side, sites, "replaced/kernel", (read, texture))?;
|
||||
Self::get_bytes(side, sites, "replaced/get-bytes", texture)?;
|
||||
Self::buffer(side, sites, "replaced/buffer", buffer)?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
/// The texture read and written by blits.
|
||||
pub struct Blits;
|
||||
|
||||
/// Every texture of [`Blits`]: [`FORMAT`], [`WIDTH`] by [`HEIGHT`], plain, `Shared`, read and
|
||||
/// written by shaders.
|
||||
fn spec() -> TextureSpec {
|
||||
TextureSpec {
|
||||
storage: WorkStorage::Shared,
|
||||
gpu_optimized: false,
|
||||
usage: Some(
|
||||
TextureUsage::SHADER_READ
|
||||
.union(TextureUsage::SHADER_WRITE)
|
||||
.as_raw(),
|
||||
),
|
||||
..TextureSpec::texture_2d(FORMAT.as_raw(), WIDTH, HEIGHT)
|
||||
}
|
||||
}
|
||||
|
||||
impl Blits {
|
||||
/// The program: the copies, each in a command buffer of its own, then every read.
|
||||
fn work() -> Work {
|
||||
let mut work = Work::new();
|
||||
let buffer = work.buffer(pattern(LEN));
|
||||
let texture = work.add(Resource::TextureOverBuffer {
|
||||
buffer,
|
||||
spec: spec(),
|
||||
offset: OFFSET,
|
||||
bytes_per_row: PITCH,
|
||||
});
|
||||
let ordinary = work.add(Resource::Texture { spec: spec() });
|
||||
let source = work.buffer(written(8 * PITCH, 1));
|
||||
let as_made = work.buffer(vec![BEFORE; TEXTURE_BYTES as usize]);
|
||||
let at_end = work.buffer(vec![BEFORE; TEXTURE_BYTES as usize]);
|
||||
let whole = Rect::new(0, 0, WIDTH, HEIGHT);
|
||||
work.step(Step::ReplaceRegion {
|
||||
texture: ordinary,
|
||||
level: 0,
|
||||
slice: 0,
|
||||
region: whole,
|
||||
bytes: written(TEXTURE_BYTES, 2),
|
||||
rows: HEIGHT,
|
||||
bytes_per_row: PITCH,
|
||||
bytes_per_image: 0,
|
||||
});
|
||||
let into_buffer = |work: &mut Work, buffer: usize| {
|
||||
work.step(Step::CopyTextureToBuffer {
|
||||
texture,
|
||||
slice: 0,
|
||||
level: 0,
|
||||
origin: [0, 0, 0],
|
||||
size: [WIDTH, HEIGHT, 1],
|
||||
buffer,
|
||||
offset: 0,
|
||||
bytes_per_row: PITCH,
|
||||
bytes_per_image: 0,
|
||||
plane: Plane::Whole,
|
||||
});
|
||||
work.step(Step::Commit);
|
||||
};
|
||||
// As made, through a blit.
|
||||
into_buffer(&mut work, as_made);
|
||||
// Rows 244 to 251 from a buffer: 244 to 247 inside the length, 248 across it, 249 to 251
|
||||
// past it.
|
||||
work.step(Step::CopyBufferToTexture {
|
||||
buffer: source,
|
||||
offset: 0,
|
||||
bytes_per_row: PITCH,
|
||||
bytes_per_image: 0,
|
||||
size: [WIDTH, 8, 1],
|
||||
texture,
|
||||
slice: 0,
|
||||
level: 0,
|
||||
origin: [0, 244, 0],
|
||||
plane: Plane::Whole,
|
||||
});
|
||||
work.step(Step::Commit);
|
||||
// Rows 252 to 255 from the ordinary texture's: wholly past the length.
|
||||
work.step(Step::CopyTextureToTexture {
|
||||
from: ordinary,
|
||||
from_slice: 0,
|
||||
from_level: 0,
|
||||
from_origin: [0, 252, 0],
|
||||
size: [WIDTH, 4, 1],
|
||||
to: texture,
|
||||
to_slice: 0,
|
||||
to_level: 0,
|
||||
to_origin: [0, 252, 0],
|
||||
});
|
||||
work.step(Step::Commit);
|
||||
// Rows 240 to 255, across the length, into the ordinary texture's rows 0 to 15.
|
||||
work.step(Step::CopyTextureToTexture {
|
||||
from: texture,
|
||||
from_slice: 0,
|
||||
from_level: 0,
|
||||
from_origin: [0, 240, 0],
|
||||
size: [WIDTH, 16, 1],
|
||||
to: ordinary,
|
||||
to_slice: 0,
|
||||
to_level: 0,
|
||||
to_origin: [0, 0, 0],
|
||||
});
|
||||
work.step(Step::Commit);
|
||||
into_buffer(&mut work, at_end);
|
||||
for read in [as_made, at_end] {
|
||||
work.step(Step::ReadBuffer {
|
||||
buffer: read,
|
||||
offset: 0,
|
||||
length: TEXTURE_BYTES as usize,
|
||||
});
|
||||
}
|
||||
for read in [texture, ordinary] {
|
||||
work.step(Step::GetBytes {
|
||||
texture: read,
|
||||
level: 0,
|
||||
slice: 0,
|
||||
region: whole,
|
||||
bytes_per_row: PITCH,
|
||||
bytes_per_image: 0,
|
||||
length: TEXTURE_BYTES as usize,
|
||||
before: BEFORE,
|
||||
});
|
||||
}
|
||||
work.step(Step::ReadBuffer {
|
||||
buffer,
|
||||
offset: 0,
|
||||
length: LEN as usize,
|
||||
});
|
||||
work
|
||||
}
|
||||
}
|
||||
|
||||
/// The sites of [`Blits`]'s reads, in the program's order.
|
||||
const BLIT_READS: [&str; 5] = [
|
||||
"made/blit",
|
||||
"written/blit",
|
||||
"written/get-bytes",
|
||||
"ordinary/get-bytes",
|
||||
"written/buffer",
|
||||
];
|
||||
|
||||
impl Case for Blits {
|
||||
fn name(&self) -> &'static str {
|
||||
BLITS
|
||||
}
|
||||
|
||||
fn metal_source(&self) -> MetalSource {
|
||||
MetalSource::Run
|
||||
}
|
||||
|
||||
fn allowances(&self) -> Vec<Allowance> {
|
||||
allowances()
|
||||
}
|
||||
|
||||
fn inputs(&self) -> Result<Vec<Input>, String> {
|
||||
let mut steps = Vec::new();
|
||||
for set in 0..3 {
|
||||
steps.extend(written(16, set));
|
||||
}
|
||||
Ok(vec![
|
||||
Input::bytes("shape", &shape_words()),
|
||||
Input::bytes("buffer-bytes", &pattern(LEN)),
|
||||
Input::bytes("written-sets", &steps),
|
||||
Input::bytes(
|
||||
"copies",
|
||||
b"rows 244+8 from a buffer; rows 252+4 from a texture; rows 240+16 into a texture",
|
||||
),
|
||||
])
|
||||
}
|
||||
|
||||
fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> {
|
||||
let done = call(sites, "work", side.work(&Self::work()), |_| Value::Absent)?;
|
||||
for (index, at) in BLIT_READS.into_iter().enumerate() {
|
||||
let bytes = done.reads.get(index).cloned().unwrap_or_default();
|
||||
let layout = match at {
|
||||
"written/buffer" => buffer_layout(),
|
||||
_ => texture_layout(),
|
||||
};
|
||||
sites.push(Node::leaf(at, Observed::bytes(bytes, layout)));
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// The shape is the one the module states: rows 0 to 247 inside the length, row 248 across it
|
||||
/// 32 bytes in, rows 249 to 255 past it, and the whole inside the oracle's allocation.
|
||||
#[test]
|
||||
fn the_texture_crosses_the_length_where_the_module_says() {
|
||||
let row = |y: u64| OFFSET + y * PITCH;
|
||||
assert!(row(248) < LEN && row(249) > LEN);
|
||||
assert_eq!(LEN - row(248), 32);
|
||||
assert!(row(HEIGHT) > LEN && row(HEIGHT) <= 32768);
|
||||
assert_eq!(LEN % 32, 0);
|
||||
assert!(!pattern(LEN).contains(&0));
|
||||
assert!(!written(TEXTURE_BYTES, 2).contains(&0));
|
||||
}
|
||||
}
|
||||
@@ -33,10 +33,10 @@
|
||||
//!
|
||||
//! # What is deliberately not ported, and why
|
||||
//!
|
||||
//! The lane also checks five other refusals, each of which the runtime answers
|
||||
//! `Error::Invalid`: a texture whose texels end past the buffer's length, a block-compressed
|
||||
//! format, a 3D descriptor, a 2D descriptor at an offset off the format's alignment, and a 2D
|
||||
//! array through this call. `Error::Invalid` is, by the runtime's own documented model, "Metal
|
||||
//! The lane also checks four other refusals, each of which the runtime answers
|
||||
//! `Error::Invalid`: a block-compressed format, a 3D descriptor, a 2D descriptor at an offset off
|
||||
//! the format's alignment, and a 2D array through this call. (A 2D texture whose texels run past
|
||||
//! the buffer's length Metal makes, and so does the runtime: [`super::buffer_tails`].) `Error::Invalid` is, by the runtime's own documented model, "Metal
|
||||
//! stops this call" — as against `Error::Nil`, "plain Metal answers nil and the process goes on" —
|
||||
//! so handing any of them to Metal risks exactly what the stride row does. Unlike the stride row,
|
||||
//! no probe of this tree has recorded *how* Metal stops them, so there is nothing to state and the
|
||||
|
||||
@@ -614,8 +614,13 @@ impl BlitCommandEncoder {
|
||||
ResourceRef::Buffer(buffer) => (buffer, 0..buffer.length()),
|
||||
ResourceRef::Texture(texture) => match texture.buffer_texels() {
|
||||
// Where the GPU or the CPU finds the texels (an IOSurface plane's two
|
||||
// layouts).
|
||||
Some(texels) => (&texels.buffer, texels.span()),
|
||||
// layouts), in the buffer: those past its length lie in the texture's
|
||||
// `Shared` tail, which takes no synchronization (`buffer_texture.rs`).
|
||||
Some(texels) => {
|
||||
let span = texels.span();
|
||||
let end = span.end.min(texels.buffer.length());
|
||||
(&texels.buffer, span.start.min(end)..end)
|
||||
}
|
||||
None => return Ok(()),
|
||||
},
|
||||
ResourceRef::IndirectCommandBuffer(_) => return Ok(()),
|
||||
|
||||
@@ -886,6 +886,60 @@ impl RowsCopy {
|
||||
pub(super) fn length(&self) -> u64 {
|
||||
self.rows.iter().map(|r| r.size).sum()
|
||||
}
|
||||
|
||||
/// This copy cut where a side's bytes pass `src_cut` or `dst_cut` (a texture's whose texels
|
||||
/// run past its buffer's length, whose bytes past it lie in its tail, `buffer_texture.rs`):
|
||||
/// up to four copies, each `(whether its source rows lie past the source's cut, whether its
|
||||
/// destination rows lie past the destination's, the copy)`, every row in exactly one of
|
||||
/// them, cut where it crosses either cut. A side with no cut lies before it whole.
|
||||
pub(super) fn split(
|
||||
&self,
|
||||
src_cut: Option<u64>,
|
||||
dst_cut: Option<u64>,
|
||||
) -> Vec<(bool, bool, RowsCopy)> {
|
||||
let (src_cut, dst_cut) = (src_cut.unwrap_or(u64::MAX), dst_cut.unwrap_or(u64::MAX));
|
||||
let mut parts: Vec<(bool, bool, Vec<BufferRange>)> = Vec::new();
|
||||
for row in &self.rows {
|
||||
// The row's cuts, from its start, where either side's bytes pass their cut.
|
||||
let mut cuts = vec![0, row.size];
|
||||
for (start, cut) in [(row.src, src_cut), (row.dst, dst_cut)] {
|
||||
if start < cut && cut < start + row.size {
|
||||
cuts.push(cut - start);
|
||||
}
|
||||
}
|
||||
cuts.sort_unstable();
|
||||
cuts.dedup();
|
||||
for piece in cuts.windows(2) {
|
||||
let part = BufferRange {
|
||||
src: row.src + piece[0],
|
||||
dst: row.dst + piece[0],
|
||||
size: piece[1] - piece[0],
|
||||
};
|
||||
let side = (part.src >= src_cut, part.dst >= dst_cut);
|
||||
match parts.iter_mut().find(|(s, d, _)| (*s, *d) == side) {
|
||||
Some((.., rows)) => rows.push(part),
|
||||
None => parts.push((side.0, side.1, vec![part])),
|
||||
}
|
||||
}
|
||||
}
|
||||
parts
|
||||
.into_iter()
|
||||
.map(|(src_past, dst_past, rows)| {
|
||||
let span = |at: fn(&BufferRange) -> u64| {
|
||||
let start = rows.iter().map(at).min().unwrap_or(0);
|
||||
let end = rows.iter().map(|r| at(r) + r.size).max().unwrap_or(start);
|
||||
start..end
|
||||
};
|
||||
let (src_span, dst_span) = (span(|r| r.src), span(|r| r.dst));
|
||||
let copy = RowsCopy {
|
||||
rows,
|
||||
src_span,
|
||||
dst_span,
|
||||
};
|
||||
(src_past, dst_past, copy)
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
/// The rows of `region` (a checked region, in `unit`s of one texel or one block) of a texture
|
||||
|
||||
@@ -60,6 +60,7 @@ use super::blit_plan::{
|
||||
plan_texels_rows_copy, plan_whole_copy, texel_layout, BufferCopyPlan, BufferImageRegion,
|
||||
BufferLayout, BufferRange, CopyPair, ImageCopyRegion, RowsCopy,
|
||||
};
|
||||
use super::buffer_texture::Past;
|
||||
use super::compressed_blit::{self, degrade_compressed_blit, Writer};
|
||||
use super::copy_plan::{
|
||||
check_region, colour_unit, copy_unit, depth_bytes, level_extent, shape, BlitOption,
|
||||
@@ -96,6 +97,40 @@ use metal2vulkan::vk::{Format, ImageAspectFlags};
|
||||
use std::ops::Range;
|
||||
use std::sync::Arc;
|
||||
|
||||
/// One side of a copy of rows (`BlitCommandEncoder::rows_copy`): the buffer whose bytes its uses
|
||||
/// name, and the buffer its rows lie in, `rebase` bytes before their place in the first one's
|
||||
/// space: the buffer itself, or for a texture's bytes past its buffer's length the texture's tail
|
||||
/// (`buffer_texture::Past`).
|
||||
#[derive(Clone, Copy)]
|
||||
struct RowsSide<'a> {
|
||||
uses: &'a Buffer,
|
||||
bytes: &'a Buffer,
|
||||
rebase: u64,
|
||||
}
|
||||
|
||||
impl<'a> RowsSide<'a> {
|
||||
/// `buffer`'s rows in its own bytes.
|
||||
fn of(buffer: &'a Buffer) -> RowsSide<'a> {
|
||||
RowsSide {
|
||||
uses: buffer,
|
||||
bytes: buffer,
|
||||
rebase: 0,
|
||||
}
|
||||
}
|
||||
|
||||
/// `buffer`'s rows in a texture's tail where `past` names it, else in the buffer's own bytes.
|
||||
fn cut(buffer: &'a Buffer, past: Option<Past<'a>>) -> RowsSide<'a> {
|
||||
match past {
|
||||
Some(past) => RowsSide {
|
||||
uses: buffer,
|
||||
bytes: past.tail,
|
||||
rebase: past.rebase,
|
||||
},
|
||||
None => RowsSide::of(buffer),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn copy_error(call: &'static str, refusal: CopyRefusal) -> Error {
|
||||
match refusal {
|
||||
CopyRefusal::Invalid(problem) => invalid(call, Problem::Copy(problem)),
|
||||
@@ -634,7 +669,12 @@ impl BlitCommandEncoder {
|
||||
&texels.layout,
|
||||
)
|
||||
.map_err(|problem| invalid(CALL, Problem::Copy(problem)))?;
|
||||
return self.rows_copy(source_buffer, &texels.buffer, &RowsCopy::new(&from, &to));
|
||||
let copy = RowsCopy::new(&from, &to);
|
||||
return self.texels_rows_copy(
|
||||
(source_buffer, None),
|
||||
(&texels.buffer, texels.past()),
|
||||
©,
|
||||
);
|
||||
}
|
||||
let plan = plan_copy(CALL, texture, ®ion, &unit, &layout, source_buffer, true)?;
|
||||
let written: Vec<ImageRegion> = plan.regions.iter().map(|r| r.image).collect();
|
||||
@@ -805,7 +845,11 @@ impl BlitCommandEncoder {
|
||||
)
|
||||
.map_err(|problem| invalid(CALL, Problem::Copy(problem)))?;
|
||||
let copy = RowsCopy::new(&from, &to);
|
||||
return this.rows_copy(&texels.buffer, destination_buffer, ©);
|
||||
return this.texels_rows_copy(
|
||||
(&texels.buffer, texels.past()),
|
||||
(destination_buffer, None),
|
||||
©,
|
||||
);
|
||||
}
|
||||
let plan = plan_copy(
|
||||
CALL,
|
||||
@@ -1742,7 +1786,7 @@ impl BlitCommandEncoder {
|
||||
let copy =
|
||||
plan_texels_rows_copy(from.row_layouts(), to.row_layouts(), &unit, copies)
|
||||
.map_err(Error::NotImplemented)?;
|
||||
self.rows_copy(&from.buffer, &to.buffer, ©)
|
||||
self.texels_rows_copy((&from.buffer, from.past()), (&to.buffer, to.past()), ©)
|
||||
}
|
||||
(Some(texels), None) | (None, Some(texels)) => {
|
||||
// Rows that share bytes are no layout a buffer-image copy states: an IOSurface
|
||||
@@ -1773,6 +1817,57 @@ impl BlitCommandEncoder {
|
||||
};
|
||||
let layout =
|
||||
texel_layout(&texels.layout, &unit, bytes, bytes.layer + layer);
|
||||
// Texels past the buffer's length lie in its tail: the rows go through a
|
||||
// scratch buffer of the encoder, as rows of the bytes they lie in.
|
||||
if let Some(past) = texels.past() {
|
||||
let [width, height, _] = bytes.size;
|
||||
let row = u64::from(width) * u64::from(unit.bytes);
|
||||
let rows: Vec<Range<u64>> = (0..u64::from(height))
|
||||
.map(|y| layout.offset + y * layout.bytes_per_row)
|
||||
.map(|start| start..start + row)
|
||||
.collect();
|
||||
let packed: Vec<Range<u64>> = (0..u64::from(height))
|
||||
.map(|y| y * row..(y + 1) * row)
|
||||
.collect();
|
||||
let scratch = (self.core().device())
|
||||
.own_buffer(row * u64::from(height), ResourceOptions::private())?;
|
||||
let through = BufferLayout {
|
||||
offset: 0,
|
||||
bytes_per_row: row,
|
||||
bytes_per_image: 0,
|
||||
};
|
||||
let plan = plan_buffer_copy(
|
||||
record,
|
||||
®ion,
|
||||
&image_unit,
|
||||
&through,
|
||||
scratch.length(),
|
||||
scratch.start(),
|
||||
into_texture,
|
||||
)
|
||||
.map_err(copy_problem)?;
|
||||
if into_texture {
|
||||
let copy = RowsCopy::new(&rows, &packed);
|
||||
self.texels_rows_copy(
|
||||
(buffer, Some(past)),
|
||||
(&scratch, None),
|
||||
©,
|
||||
)?;
|
||||
texture.degrade_depth_upload(call, image_unit.aspect, true);
|
||||
texture.degrade_depth_denormals(call, image_unit.aspect, false);
|
||||
self.buffer_texture_copy(&scratch, texture, plan, true)?;
|
||||
} else {
|
||||
self.buffer_texture_copy(&scratch, texture, plan, false)?;
|
||||
let copy = RowsCopy::new(&packed, &rows);
|
||||
self.texels_rows_copy(
|
||||
(&scratch, None),
|
||||
(buffer, Some(past)),
|
||||
©,
|
||||
)?;
|
||||
}
|
||||
self.core().retain(scratch);
|
||||
continue;
|
||||
}
|
||||
let plan = plan_buffer_copy(
|
||||
record,
|
||||
®ion,
|
||||
@@ -1796,19 +1891,53 @@ impl BlitCommandEncoder {
|
||||
}
|
||||
}
|
||||
|
||||
/// Record `copy` from `source`'s bytes into `destination`'s, as [`rows_copy`](Self::rows_copy)
|
||||
/// does, where a side's bytes past its buffer's length lie in a texture's tail (`past`,
|
||||
/// `buffer_texture.rs`): the rows cut there, each part from and into the bytes it lies in,
|
||||
/// its uses those of the buffer's bytes it stands for.
|
||||
fn texels_rows_copy(
|
||||
&mut self,
|
||||
(source, src_past): (&Buffer, Option<Past<'_>>),
|
||||
(destination, dst_past): (&Buffer, Option<Past<'_>>),
|
||||
copy: &RowsCopy,
|
||||
) -> Result<(), Error> {
|
||||
if src_past.is_none() && dst_past.is_none() {
|
||||
return self.rows_copy(RowsSide::of(source), RowsSide::of(destination), copy);
|
||||
}
|
||||
let cuts = (src_past.map(|p| p.length), dst_past.map(|p| p.length));
|
||||
for (src_beyond, dst_beyond, part) in copy.split(cuts.0, cuts.1) {
|
||||
let (from, to) = (
|
||||
RowsSide::cut(source, src_past.filter(|_| src_beyond)),
|
||||
RowsSide::cut(destination, dst_past.filter(|_| dst_beyond)),
|
||||
);
|
||||
self.rows_copy(from, to, &part)?;
|
||||
let tails = [
|
||||
src_past.filter(|_| src_beyond),
|
||||
dst_past.filter(|_| dst_beyond),
|
||||
];
|
||||
for past in tails.into_iter().flatten() {
|
||||
self.core().retain(past.tail.clone());
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Record `copy` from `source`'s bytes into `destination`'s, a copy that names a texture
|
||||
/// over a buffer (the module's note): its rows in one command, or, where a source row and a
|
||||
/// destination row of one buffer share bytes, through a scratch buffer of the encoder, the
|
||||
/// whole source read before any of it is written, as Metal moves them.
|
||||
fn rows_copy(
|
||||
&mut self,
|
||||
source: &Buffer,
|
||||
destination: &Buffer,
|
||||
source: RowsSide<'_>,
|
||||
destination: RowsSide<'_>,
|
||||
copy: &RowsCopy,
|
||||
) -> Result<(), Error> {
|
||||
// Read as a blit's (`host_residency.rs`): the command buffer holds the imports.
|
||||
let (src, src_base) = self.core().blit_at(source, 0)?;
|
||||
let (dst, dst_base) = self.core().blit_at(destination, 0)?;
|
||||
// Read as a blit's (`host_residency.rs`): the command buffer holds the imports. A side's
|
||||
// rows in a texture's tail lie `rebase` bytes before their place in the buffer's space.
|
||||
let (src, src_base) = self.core().blit_at(source.bytes, 0)?;
|
||||
let (dst, dst_base) = self.core().blit_at(destination.bytes, 0)?;
|
||||
let (src_rebase, dst_rebase) = (source.rebase, destination.rebase);
|
||||
let (source, destination) = (source.uses, destination.uses);
|
||||
let device = self.core().device().clone();
|
||||
// One buffer's bytes, or two no-copy buffers' made over the same bytes, which lie in one
|
||||
// import (`host_aliases.rs`): one `VkBuffer` from one byte 0.
|
||||
@@ -1823,13 +1952,13 @@ impl BlitCommandEncoder {
|
||||
let mut packed = through_base;
|
||||
for row in ©.rows {
|
||||
into.push(vk::BufferCopy {
|
||||
src_offset: src_base + row.src,
|
||||
src_offset: src_base + row.src - src_rebase,
|
||||
dst_offset: packed,
|
||||
size: row.size,
|
||||
});
|
||||
out_of.push(vk::BufferCopy {
|
||||
src_offset: packed,
|
||||
dst_offset: dst_base + row.dst,
|
||||
dst_offset: dst_base + row.dst - dst_rebase,
|
||||
size: row.size,
|
||||
});
|
||||
packed += row.size;
|
||||
@@ -1874,8 +2003,8 @@ impl BlitCommandEncoder {
|
||||
.rows
|
||||
.iter()
|
||||
.map(|row| vk::BufferCopy {
|
||||
src_offset: src_base + row.src,
|
||||
dst_offset: dst_base + row.dst,
|
||||
src_offset: src_base + row.src - src_rebase,
|
||||
dst_offset: dst_base + row.dst - dst_rebase,
|
||||
size: row.size,
|
||||
})
|
||||
.collect();
|
||||
|
||||
@@ -3,8 +3,23 @@
|
||||
//! image (`shadow.rs`) over these texels.
|
||||
//!
|
||||
//! - **Metal's rules** decide which textures a buffer backs and where they lie in it
|
||||
//! (`linear_plan.rs`); what Metal stops is refused `Invalid`, and an array whose texels run
|
||||
//! past its buffer's length, which Metal makes, `NotImplemented`.
|
||||
//! (`linear_plan.rs`); what Metal stops is refused `Invalid`, and a texture buffer whose texels
|
||||
//! run past its buffer's length, which Metal makes, `NotImplemented`.
|
||||
//! - **Tails.** A 2D texture or array whose texels run past its buffer's length, which plain
|
||||
//! Metal makes up to the buffer's allocation (`linear_plan.rs`'s **Length**), keeps the texels'
|
||||
//! bytes past the length in a tail of its own ([`Texels::past`]): a runtime `Shared` buffer of
|
||||
//! its bytes from the first to the last, zero when made. Its texels inside the length are the
|
||||
//! buffer's bytes, as every texture's over a buffer are. The texture is a shadow image whose
|
||||
//! copies go through the tail, as a staging buffer: in, the buffer's bytes inside the length
|
||||
//! into the tail and the tail into the image; back, the image into the tail and the tail's rows
|
||||
//! inside the length into the buffer; a merge back takes its current bytes from both and gives
|
||||
//! them back to both (`shadow_merge.rs`). The CPU's `replace_region` and `get_bytes`, and a
|
||||
//! blit's rows, take each row's bytes inside the length from the buffer and the rest from the
|
||||
//! tail; a copy between such texels and an image goes through a scratch buffer of the
|
||||
//! encoder, as those rows (`blit_texture.rs`). The tail's uses are the buffer's bytes past its
|
||||
//! length, by the same key, so the tracker orders them as the texels' own. Metal's texels there
|
||||
//! are the memory after the buffer's, another allocation's bytes (docs/API.md's accepted
|
||||
//! differences); the tail answers every path alike and reaches no allocation but its own.
|
||||
//! - **Texture buffers** are the buffer's bytes ([`Texels`]), viewed as a texel buffer where a
|
||||
//! function binds them: in the format the binding plan names, over the range it gives, made at
|
||||
//! the first bind that needs it and kept with the texture. Their uses are uses of the buffer's
|
||||
@@ -120,6 +135,24 @@ pub(super) struct Texels {
|
||||
pub(super) objects: ObjectsToken,
|
||||
/// The texels lie in an IOSurface's plane (`Buffer::new_texture_with_iosurface_plane`).
|
||||
surface: bool,
|
||||
/// The tail of a 2D texture or array whose texels run past the buffer's length
|
||||
/// (`linear_plan.rs`'s **Length**), which holds the texels' bytes there: a runtime `Shared`
|
||||
/// buffer of the bytes from the texels' first to their last, laid out as in the buffer from
|
||||
/// its start, zero when made. Its bytes inside the buffer's length mirror the buffer's for
|
||||
/// the shadow's copies, which go through it ([`Texels::shadow_copies`]); every other access
|
||||
/// to the texels (the CPU's, a blit's rows) takes the bytes inside the length from the
|
||||
/// buffer and those past it from here ([`Texels::past`]). `None` for texels inside their
|
||||
/// buffer.
|
||||
tail: Option<Buffer>,
|
||||
}
|
||||
|
||||
/// Where a texture's texels past its buffer's length lie ([`Texels::past`]): the buffer's bytes
|
||||
/// from `length` on are the tail's, byte `v` of the buffer's space at `v - rebase` of the tail.
|
||||
#[derive(Clone, Copy)]
|
||||
pub(super) struct Past<'a> {
|
||||
pub(super) tail: &'a Buffer,
|
||||
pub(super) length: u64,
|
||||
pub(super) rebase: u64,
|
||||
}
|
||||
|
||||
/// A block-compressed texture's blocks in its texels' layout ([`Texels::blocks`]).
|
||||
@@ -328,9 +361,19 @@ impl Buffer {
|
||||
/// row pitch, bytes past the buffer); a format with no exact Vulkan format (a 4:2:2 one among
|
||||
/// them, which plain Metal makes over a buffer), and an image the device lacks (`Unsupported`);
|
||||
/// a 2D texture of a format the device cannot copy (`NotImplemented`); a swizzle that writes
|
||||
/// under `write_swizzle_enabled`, which Metal makes (`NotImplemented(WriteSwizzle)`). A texture
|
||||
/// buffer of more than one level is stopped (`BufferTextureProblem::MipmapLevelCount`), as
|
||||
/// Metal's validation stops it here.
|
||||
/// under `write_swizzle_enabled`, which Metal makes (`NotImplemented(WriteSwizzle)`); a texture
|
||||
/// buffer whose texels run past the buffer's length, which Metal makes
|
||||
/// (`NotImplemented(TexelsPastBufferLength)`). A texture buffer of more than one level is
|
||||
/// stopped (`BufferTextureProblem::MipmapLevelCount`), as Metal's validation stops it here.
|
||||
///
|
||||
/// A 2D texture whose texels run past the buffer's length, which plain Metal makes up to the
|
||||
/// buffer's `allocatedSize` (and answers nil past it, `Nil` with
|
||||
/// `BufferTextureProblem::PastAllocation`), is made: its texels inside the length are the
|
||||
/// buffer's bytes, and those past it lie in a tail the texture keeps, zero when made, which
|
||||
/// its functions, blits and CPU calls read and write alike. Metal's texels there are the
|
||||
/// memory after the buffer's, another allocation's bytes, which its writes there change
|
||||
/// (docs/API.md's accepted differences). Such a texture is a shadow image, announced
|
||||
/// `shadowed-texture`.
|
||||
pub fn new_texture(
|
||||
&self,
|
||||
descriptor: &TextureDescriptor,
|
||||
@@ -374,9 +417,10 @@ impl Buffer {
|
||||
/// before. The bytes-per-image argument is ignored, as plain Metal ignores it: its
|
||||
/// validation alone asserts that it is a multiple of 128.
|
||||
///
|
||||
/// Refused as [`new_texture`](Self::new_texture) is; also an array whose texels run past
|
||||
/// the buffer's length where Metal makes it (`NotImplemented`); an array whose slices end past
|
||||
/// the buffer's `allocatedSize` (`Nil`, as Metal answers nil).
|
||||
/// Refused as [`new_texture`](Self::new_texture) is; also an array whose slices end past the
|
||||
/// buffer's `allocatedSize` (`Nil`, as Metal answers nil). An array whose texels run past the
|
||||
/// buffer's length short of that is made as `new_texture` makes a 2D texture there, its
|
||||
/// texels past the length in its tail.
|
||||
pub fn new_linear_texture(
|
||||
&self,
|
||||
descriptor: &TextureDescriptor,
|
||||
@@ -794,9 +838,11 @@ impl Buffer {
|
||||
.into_texture_buffer()?;
|
||||
Ok(texels.texture(descriptor, &layout, id_use))
|
||||
} else {
|
||||
// Texels past the buffer's length lie in a tail of their own (`linear_plan.rs`).
|
||||
let texels = Texels::placed(self.clone(), placed, texel_bytes, descriptor)
|
||||
.with_options(options)
|
||||
.over_surface(surface);
|
||||
.over_surface(surface)
|
||||
.with_tail()?;
|
||||
let texture = self
|
||||
.device()
|
||||
.new_texture_over_buffer(call, texels, descriptor, &layout, id_use)?;
|
||||
@@ -1264,10 +1310,10 @@ impl Texels {
|
||||
}
|
||||
}
|
||||
|
||||
/// Whether the texels lie in the buffer: every texture's but a rotated one's whose rows run
|
||||
/// past it (`rotated_rows`).
|
||||
/// Whether the texels lie in the buffer, or past its length in their tail (the module's
|
||||
/// **Tails**): every texture's but a rotated one's whose rows run past it (`rotated_rows`).
|
||||
pub(super) fn reached(&self) -> bool {
|
||||
self.span().end <= self.buffer.length()
|
||||
self.tail.is_some() || self.span().end <= self.buffer.length()
|
||||
}
|
||||
|
||||
/// Whether Metal's GPU reads and writes two of the texels' rows over bytes they share: an
|
||||
@@ -1314,10 +1360,39 @@ impl Texels {
|
||||
alpha: None,
|
||||
objects: ObjectsToken::default(),
|
||||
surface: false,
|
||||
tail: None,
|
||||
buffer,
|
||||
}
|
||||
}
|
||||
|
||||
/// These texels with their tail where they run past the buffer's length, made as
|
||||
/// [`Device::own_buffer`] makes a buffer: all zero.
|
||||
fn with_tail(self) -> Result<Texels, Error> {
|
||||
let length = self.buffer.length();
|
||||
let end = self.layout.end().max(self.cpu.end());
|
||||
if end <= length {
|
||||
return Ok(self);
|
||||
}
|
||||
let hazard = self.options.hazard_tracking_mode()?;
|
||||
let options = ResourceOptions::new(StorageMode::Shared, CpuCacheMode::DefaultCache, hazard);
|
||||
let span = end - self.layout.offset;
|
||||
let tail = (self.buffer.device()).own_buffer(span.next_multiple_of(4), options)?;
|
||||
Ok(Texels {
|
||||
tail: Some(tail),
|
||||
..self
|
||||
})
|
||||
}
|
||||
|
||||
/// Where the texels' bytes past the buffer's length lie, where they run past it: from the
|
||||
/// buffer's length on, each byte `v` of the buffer's space at `v - rebase` of the tail.
|
||||
pub(super) fn past(&self) -> Option<Past<'_>> {
|
||||
self.tail.as_ref().map(|tail| Past {
|
||||
tail,
|
||||
length: self.buffer.length(),
|
||||
rebase: self.layout.offset,
|
||||
})
|
||||
}
|
||||
|
||||
/// What holds the texels' bytes, as the CPU may write them (`shadow::Backing`).
|
||||
pub(super) fn backing(&self) -> Backing {
|
||||
Backing::of(&self.buffer, self.surface)
|
||||
@@ -1481,7 +1556,8 @@ impl Texels {
|
||||
true => 4,
|
||||
false => self.texel_bytes,
|
||||
};
|
||||
let staging = if at.is_multiple_of(align) {
|
||||
// Texels past the buffer's length go through their tail, which holds them.
|
||||
let staging = if at.is_multiple_of(align) && self.tail.is_none() {
|
||||
None
|
||||
} else {
|
||||
Some(self.staging(layout, at)?)
|
||||
@@ -1532,23 +1608,31 @@ impl Texels {
|
||||
/// The staging buffer of a shadowed texture or a texture buffer over the texels laid out as
|
||||
/// `layout`, which start at `at` of the buffer's `VkBuffer`: the texels' bytes from the first
|
||||
/// to the last, at its start, of the texture's hazard tracking, in a buffer of whole 4-byte
|
||||
/// words (the rotation kernel's, `rotated.rs`, binds them all).
|
||||
/// words (the rotation kernel's, `rotated.rs`, binds them all). Texels past the buffer's
|
||||
/// length take their tail, whose bytes past the length are the texels' own: the copies
|
||||
/// between it and the buffer move the bytes inside the length alone ([`inside_rows`]).
|
||||
fn staging(&self, layout: &BufferLayout, at: u64) -> Result<ShadowStaging, Error> {
|
||||
let span = layout.end() - layout.offset;
|
||||
let hazard = self.options.hazard_tracking_mode()?;
|
||||
let options =
|
||||
ResourceOptions::new(StorageMode::Private, CpuCacheMode::DefaultCache, hazard);
|
||||
let buffer = self
|
||||
.buffer
|
||||
.device()
|
||||
.own_buffer(span.next_multiple_of(4), options)?;
|
||||
let buffer = match &self.tail {
|
||||
Some(tail) => tail.clone(),
|
||||
None => {
|
||||
let hazard = self.options.hazard_tracking_mode()?;
|
||||
let options =
|
||||
ResourceOptions::new(StorageMode::Private, CpuCacheMode::DefaultCache, hazard);
|
||||
(self.buffer.device()).own_buffer(span.next_multiple_of(4), options)?
|
||||
}
|
||||
};
|
||||
let (_, start) = buffer.at(0);
|
||||
let back = staged_rows_back(layout, start, at);
|
||||
let inside = match self.tail {
|
||||
Some(_) => self.buffer.length().saturating_sub(layout.offset).min(span),
|
||||
None => span,
|
||||
};
|
||||
let back = inside_rows(staged_rows_back(layout, start, at), at, inside);
|
||||
Ok(ShadowStaging {
|
||||
into: vk::BufferCopy {
|
||||
src_offset: at,
|
||||
dst_offset: start,
|
||||
size: span,
|
||||
size: inside,
|
||||
},
|
||||
back,
|
||||
buffer,
|
||||
@@ -1717,6 +1801,9 @@ impl Texels {
|
||||
let mut packed = vec![0u8; host.packed_len() as usize];
|
||||
host.pack(bytes, &mut packed);
|
||||
let (start, inside) = self.region_layout(region, host);
|
||||
if let Some(past) = self.past() {
|
||||
return self.write_past(call, (start, &inside), &packed, past);
|
||||
}
|
||||
let (target, end) = self.bytes(call, start, inside.host_len())?;
|
||||
let n = host.row_bytes as usize;
|
||||
for (at, from) in inside.rows() {
|
||||
@@ -1731,6 +1818,75 @@ impl Texels {
|
||||
self.buffer.upload(start..end)
|
||||
}
|
||||
|
||||
/// The mapped bytes the CPU reaches the texels' bytes `start..start + len` of the buffer's
|
||||
/// space through, where the texels run past its length (`past`): the part inside the length
|
||||
/// in the buffer's, the rest in the tail's, each `(where its bytes go in the run, its first
|
||||
/// byte, its length)`. Refused as [`bytes`](Self::bytes) refuses the buffer's.
|
||||
fn past_runs(
|
||||
&self,
|
||||
call: &'static str,
|
||||
(start, len): (u64, u64),
|
||||
past: Past<'_>,
|
||||
) -> Result<Vec<(usize, *mut u8, usize)>, Error> {
|
||||
let private = || invalid(call, Problem::Copy(CopyProblem::CpuAccessPrivate));
|
||||
let end = start + len;
|
||||
let mut runs = Vec::with_capacity(2);
|
||||
if start < past.length {
|
||||
let contents = self.buffer.contents().ok_or_else(private)?;
|
||||
// SAFETY: `start..past.length` lies in the buffer's mapped bytes.
|
||||
let first = unsafe { contents.as_ptr().add(start as usize) };
|
||||
runs.push((0, first, (end.min(past.length) - start) as usize));
|
||||
}
|
||||
if end > past.length {
|
||||
let from = start.max(past.length);
|
||||
let contents = past.tail.contents().ok_or_else(private)?;
|
||||
let at = from - past.rebase;
|
||||
if at + (end - from) > past.tail.length() {
|
||||
return Err(internal("a texture's rows past its tail"));
|
||||
}
|
||||
// SAFETY: `at..at + (end - from)` lies in the tail's mapped bytes (checked above).
|
||||
let first = unsafe { contents.as_ptr().add(at as usize) };
|
||||
runs.push(((from - start) as usize, first, (end - from) as usize));
|
||||
}
|
||||
Ok(runs)
|
||||
}
|
||||
|
||||
/// [`write`](Self::write) of texels that run past the buffer's length: each row's bytes
|
||||
/// inside the length into the buffer's, the rest into the tail's.
|
||||
fn write_past(
|
||||
&self,
|
||||
call: &'static str,
|
||||
(start, inside): (u64, &HostLayout),
|
||||
packed: &[u8],
|
||||
past: Past<'_>,
|
||||
) -> Result<(), Error> {
|
||||
let n = inside.row_bytes;
|
||||
let mut end = start;
|
||||
for (at, from) in inside.rows() {
|
||||
let row = start + at as u64;
|
||||
for (into, target, len) in self.past_runs(call, (row, n), past)? {
|
||||
// SAFETY: each run lies in the buffer's or the tail's mapped bytes
|
||||
// (`past_runs`); a write racing the GPU's use of them is the program's.
|
||||
unsafe {
|
||||
std::ptr::copy_nonoverlapping(packed[from + into..].as_ptr(), target, len)
|
||||
};
|
||||
}
|
||||
end = end.max(row + n);
|
||||
}
|
||||
// The buffer's own bytes written, as `write` reports and uploads them.
|
||||
let end = end.min(past.length);
|
||||
if start < end {
|
||||
let contents = self
|
||||
.buffer
|
||||
.contents()
|
||||
.ok_or_else(|| invalid(call, Problem::Copy(CopyProblem::CpuAccessPrivate)))?;
|
||||
let at = contents.as_ptr() as u64 + start;
|
||||
self.buffer.wrote_host(at..at + (end - start));
|
||||
self.buffer.upload(start..end)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// `getBytes` of `region` into `bytes` laid out as `host` (checked by the texture): from the
|
||||
/// buffer's mapped bytes, a host copy's where it has one, which `synchronize_resource` updates,
|
||||
/// as Metal's managed texture needs `synchronizeTexture` on a device without unified memory.
|
||||
@@ -1743,6 +1899,19 @@ impl Texels {
|
||||
) -> Result<(), Error> {
|
||||
let mut packed = vec![0u8; host.packed_len() as usize];
|
||||
let (start, inside) = self.region_layout(region, host);
|
||||
if let Some(past) = self.past() {
|
||||
for (at, to) in inside.rows() {
|
||||
let row = start + at as u64;
|
||||
for (into, source, len) in self.past_runs(call, (row, host.row_bytes), past)? {
|
||||
// SAFETY: as in `write_past`.
|
||||
unsafe {
|
||||
std::ptr::copy_nonoverlapping(source, packed[to + into..].as_mut_ptr(), len)
|
||||
};
|
||||
}
|
||||
}
|
||||
host.unpack(&packed, bytes);
|
||||
return Ok(());
|
||||
}
|
||||
let (source, _) = self.bytes(call, start, inside.host_len())?;
|
||||
let n = host.row_bytes as usize;
|
||||
for (at, to) in inside.rows() {
|
||||
@@ -1843,6 +2012,21 @@ pub(super) fn staged_rows_back(layout: &BufferLayout, start: u64, at: u64) -> Ve
|
||||
back
|
||||
}
|
||||
|
||||
/// `back`, copies of rows from a staging buffer into a buffer's `VkBuffer` whose texels start at
|
||||
/// its byte `at`, cut to the texels' first `inside` bytes: a texture's whose texels run past the
|
||||
/// buffer's length, whose bytes past it its tail keeps ([`Texels::staging`]). A row past them is
|
||||
/// dropped, and one across them cut there.
|
||||
pub(super) fn inside_rows(back: Vec<vk::BufferCopy>, at: u64, inside: u64) -> Vec<vk::BufferCopy> {
|
||||
let end = at + inside;
|
||||
back.into_iter()
|
||||
.filter(|row| row.dst_offset < end)
|
||||
.map(|row| vk::BufferCopy {
|
||||
size: row.size.min(end - row.dst_offset),
|
||||
..row
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// The regions that copy the texels laid out as `layout`, `texel_bytes` each (of a block each,
|
||||
/// where `blocks` gives a block-compressed texture's: its rows of blocks are copied as the texels
|
||||
/// they hold, its last block of a row and of a column covering its texels alone), starting at
|
||||
|
||||
@@ -1400,12 +1400,13 @@ pub enum RuntimeGap {
|
||||
ExtensionEnable(VkExtension),
|
||||
/// Render pipelines, passes and draws.
|
||||
Render,
|
||||
/// A texture over a buffer whose texels run past the buffer's length, which Metal makes over
|
||||
/// bytes its buffer's allocation has past the length (a 2D texture, a texture buffer and a 2D
|
||||
/// array alike, up to the allocation, past which Metal answers nil:
|
||||
/// [`Problem::BufferTexture`]'s `PastAllocation`), or a texture over a plane of a surface
|
||||
/// with planes whose rows or GPU texels run past the buffer standing for the surface: the
|
||||
/// runtime's buffers have no bytes there. Metal lays those in no one place
|
||||
/// A texture buffer over a buffer whose texels run past the buffer's length, which Metal
|
||||
/// makes over bytes its buffer's allocation has past the length (up to the allocation, past
|
||||
/// which Metal answers nil: [`Problem::BufferTexture`]'s `PastAllocation`), or a texture over
|
||||
/// a plane of a surface with planes whose rows or GPU texels run past the buffer standing for
|
||||
/// the surface: the runtime's buffers have no bytes there. A 2D texture or array over a
|
||||
/// buffer is made there instead, its texels past the length in a tail of its own
|
||||
/// ([`Buffer::new_texture`](crate::Buffer::new_texture)). Metal lays those in no one place
|
||||
/// (`metal2vulkan-conformance/probes/surface_texture_envelope.m`, an Apple M3 Max under
|
||||
/// macOS 27.0.1): its blits read zeros past the surface, its kernels zeros and, 32 KiB on, the
|
||||
/// surface's first bytes again, its `getBytes` other memory, and its blits and
|
||||
|
||||
@@ -245,7 +245,11 @@ impl BlitCommandEncoder {
|
||||
let Some(texels) = texture.buffer_texels() else {
|
||||
return Ok(false);
|
||||
};
|
||||
if !compressed_blit::extended(texture.pixel_format()) || texels.plane_rows_overlap() {
|
||||
// Texels past the buffer's length lie in the texture's tail, which the kernel's binding
|
||||
// of the buffer's words does not reach (`buffer_texture.rs`).
|
||||
let past = texels.past().is_some();
|
||||
if !compressed_blit::extended(texture.pixel_format()) || texels.plane_rows_overlap() || past
|
||||
{
|
||||
return Ok(false);
|
||||
}
|
||||
let unit = texels.unit();
|
||||
|
||||
@@ -43,9 +43,20 @@
|
||||
//! layer off: a 2D texture and a texture buffer over a 4096-byte buffer whose rows end 128 and
|
||||
//! 12288 bytes past it are made, as is one over a 20000-byte buffer, `allocatedSize` 32768,
|
||||
//! from offset 20000; the same ending past 32768 is nil, and so is one over a 16384-byte
|
||||
//! buffer, `allocatedSize` 16384, ending at 16640, where one ending at 16384 is made). The
|
||||
//! runtime's buffers have no bytes past the length, so it refuses that texture as not
|
||||
//! implemented ([`BufferRefusal::TexelsPastLength`]) and the nil one as Metal's nil
|
||||
//! buffer, `allocatedSize` 16384, ending at 16640, where one ending at 16384 is made). Every
|
||||
//! path takes those texels as the memory after the buffer's (an M3 Max under macOS 27.0.1, the
|
||||
//! layer off, one shape and one path a process, `probes/texels_past_buffer_length.m`): over a
|
||||
//! 4096-byte `Shared` buffer, rows of 256 bytes ending 256 to 2048 bytes past it, a kernel's
|
||||
//! `read()` and `sample()`, a blit into a buffer and `getBytes` read the buffer allocated next
|
||||
//! (at the target's `gpuAddress` plus 4096) there, and a kernel's `write()`, a blit from a
|
||||
//! buffer and `replaceRegion` write it there, which every read then reads; over a 20000-byte
|
||||
//! buffer (`allocatedSize` 32768) the bytes past the length, inside the allocation, read zero,
|
||||
//! and what each path writes there every path reads. The texels inside the length are the
|
||||
//! buffer's bytes on every path. The runtime makes such a 2D texture or array as Metal does: its
|
||||
//! texels inside the length are the buffer's bytes, and those past it lie in a tail of the
|
||||
//! texture's own (`buffer_texture.rs`), zero when made, which every path reads and writes alike
|
||||
//! and which is no other allocation's memory. A texture buffer there it refuses as not
|
||||
//! implemented ([`BufferRefusal::TexelsPastLength`]), and the nil one as Metal's nil
|
||||
//! ([`BufferTextureProblem::PastAllocation`]).
|
||||
//!
|
||||
//! **IOSurface planes** (`Buffer::new_texture_with_iosurface_plane`, the stand-in for
|
||||
@@ -559,8 +570,11 @@ pub(super) enum BufferRefusal {
|
||||
/// What Metal asserts on or stops under validation (`Invalid`), or answers nil for (`Nil`:
|
||||
/// [`BufferTextureProblem::PastAllocation`]).
|
||||
Metal(BufferTextureProblem),
|
||||
/// An array whose texels run past the buffer's length, which Metal makes over bytes past
|
||||
/// the length and the runtime has no bytes for (`NotImplemented`).
|
||||
/// A texture buffer whose texels run past the buffer's length, or an IOSurface plane's GPU
|
||||
/// or CPU rows past the buffer standing for its surface, which Metal makes over bytes past
|
||||
/// the length and the runtime has no bytes for (`NotImplemented`). A 2D texture or array
|
||||
/// over a buffer keeps its texels past the length in a tail of its own instead (the module's
|
||||
/// **Length**).
|
||||
TexelsPastLength,
|
||||
/// An IOSurface plane whose rows overlap on Metal's GPU that the runtime holds no form of
|
||||
/// (`NotImplemented`; the module's **Rows that overlap**): a plane a render pass stores into,
|
||||
@@ -748,7 +762,8 @@ pub(super) fn plan_buffer_texture(
|
||||
let length = buffer.length;
|
||||
// Metal's validation counts the slices' rows as if contiguous against the length and stops
|
||||
// the texture there; plain Metal reads the buffer's allocation alone (the module's
|
||||
// **Length**), so the runtime does too.
|
||||
// **Length**), so the runtime does too. A 2D texture or array whose texels run past the
|
||||
// length keeps those texels in its tail (`buffer_texture.rs`); a texture buffer has none.
|
||||
if placed.end() > length {
|
||||
let end = offset.saturating_add(slice_pitch.saturating_mul(slices));
|
||||
if length >= METAL_PAGE {
|
||||
@@ -759,7 +774,9 @@ pub(super) fn plan_buffer_texture(
|
||||
return Err(P::PastAllocation { end, allocation }.into());
|
||||
}
|
||||
}
|
||||
return Err(BufferRefusal::TexelsPastLength);
|
||||
if texture_type == T::TextureBuffer {
|
||||
return Err(BufferRefusal::TexelsPastLength);
|
||||
}
|
||||
}
|
||||
Ok(Placed::same(placed))
|
||||
}
|
||||
|
||||
@@ -151,6 +151,9 @@ impl RowCopies {
|
||||
/// no source region meets a destination region.
|
||||
pub(super) unsafe fn record(&self, device: &Vk, command_buffer: vk::CommandBuffer) {
|
||||
match &self.form {
|
||||
// No rows: a texture's whose texels all lie past its buffer's length, which its tail
|
||||
// keeps (`buffer_texture::inside_rows`).
|
||||
Form::Copy { regions, .. } if regions.is_empty() => {}
|
||||
// SAFETY: the caller's contract.
|
||||
Form::Copy { src, dst, regions } => unsafe {
|
||||
device.cmd_copy_buffer(command_buffer, *src, *dst, regions);
|
||||
|
||||
@@ -781,6 +781,16 @@ impl ShadowCopies {
|
||||
)
|
||||
}
|
||||
|
||||
/// The staging buffer a 2D texture's image over a buffer's bytes is copied through, where it
|
||||
/// has one ([`ShadowStaging`]): a texture's whose texels run past the buffer's length, its
|
||||
/// tail, holds fewer of the buffer's bytes than the texture spans (`buffer_texture.rs`).
|
||||
pub(super) fn staged_image(&self) -> Option<&ShadowStaging> {
|
||||
match self.target()? {
|
||||
ShadowTarget::Image { staging, .. } => staging.as_ref(),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
/// The shadow of a buffer's bytes, or `None` for an image's and for converted texels'.
|
||||
pub(super) fn target(&self) -> Option<&ShadowTarget> {
|
||||
match &self.source {
|
||||
@@ -2061,7 +2071,9 @@ impl ShadowCopy {
|
||||
// when the texture was made), and the staging buffer lives with the texture.
|
||||
unsafe {
|
||||
if into_shadow {
|
||||
if let Some(staging) = staging {
|
||||
// A texture whose texels all lie past its buffer's length copies none of the
|
||||
// buffer's bytes into its tail (`buffer_texture.rs`).
|
||||
if let Some(staging) = staging.filter(|staging| staging.into.size > 0) {
|
||||
device.cmd_copy_buffer(command_buffer, buffer, texels, &[staging.into]);
|
||||
Barrier::everything().record(device, command_buffer);
|
||||
}
|
||||
@@ -2180,6 +2192,7 @@ pub(super) unsafe fn record_back(
|
||||
unsafe {
|
||||
match back {
|
||||
Some(rows) => rows.record(device, command_buffer),
|
||||
None if staging.back.is_empty() => {}
|
||||
None => device.cmd_copy_buffer(command_buffer, staging.raw(), buffer, &staging.back),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,6 +263,53 @@ struct Merged {
|
||||
/// from the rectangle's first word to its last (its kernel writes words of the rectangle
|
||||
/// alone, the module docs), else every byte of the texture's.
|
||||
written: Range<u64>,
|
||||
/// Where the texture's bytes past its buffer's length lie, where its texels run past it: its
|
||||
/// tail, the staging buffer its copies go through (`buffer_texture.rs`). A merge through a
|
||||
/// copy takes the current part's bytes past the length from there and gives them back there.
|
||||
tail: Option<MergeTail>,
|
||||
}
|
||||
|
||||
/// A texture's tail as a merge reaches it ([`Merged::tail`]): `inside` bytes of the texture's
|
||||
/// lie in its buffer from its first, and the rest in `raw` from `at` on.
|
||||
#[derive(Clone, Copy)]
|
||||
struct MergeTail {
|
||||
raw: vk::Buffer,
|
||||
at: u64,
|
||||
inside: u64,
|
||||
}
|
||||
|
||||
impl Merged {
|
||||
/// The copies between the texture's bytes (`span` of them from its first) and `current`, a
|
||||
/// merge's current part, each `(the bytes' VkBuffer, the copy)` as the bytes go into the
|
||||
/// part: one of every byte, or, where its texels run past its buffer's length, one of those
|
||||
/// inside it and one of those in its tail. A copy back swaps each one's ends.
|
||||
fn current_copies(&self, current: Part, span: u64) -> Vec<(vk::Buffer, vk::BufferCopy)> {
|
||||
let Some(tail) = self.tail else {
|
||||
let copy = vk::BufferCopy {
|
||||
src_offset: self.first,
|
||||
dst_offset: current.at,
|
||||
size: span,
|
||||
};
|
||||
return vec![(self.buffer, copy)];
|
||||
};
|
||||
let inside = tail.inside.min(span);
|
||||
let parts = [
|
||||
(self.buffer, self.first, 0, inside),
|
||||
(tail.raw, tail.at, inside, span - inside),
|
||||
];
|
||||
parts
|
||||
.into_iter()
|
||||
.filter(|&(.., size)| size > 0)
|
||||
.map(|(raw, from, into, size)| {
|
||||
let copy = vk::BufferCopy {
|
||||
src_offset: from,
|
||||
dst_offset: current.at + into,
|
||||
size,
|
||||
};
|
||||
(raw, copy)
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
/// The rectangle of a shadow's texels a merge is cut to (the module docs).
|
||||
@@ -361,14 +408,25 @@ impl ShadowMerge {
|
||||
// only a buffer's bytes merge back (`ShadowCopies::merges_back`).
|
||||
return Err(internal("a merge of an image's shadow"));
|
||||
};
|
||||
let span = bytes.end - bytes.start;
|
||||
// A staging buffer that holds fewer of the buffer's bytes than the texture spans is its
|
||||
// tail: its texels run past the buffer's length (`buffer_texture.rs`).
|
||||
let tail = copies
|
||||
.staged_image()
|
||||
.filter(|staging| staging.into.size < span)
|
||||
.map(|staging| MergeTail {
|
||||
raw: staging.raw(),
|
||||
at: staging.into.dst_offset + staging.into.size,
|
||||
inside: staging.into.size,
|
||||
});
|
||||
let mut merged = Merged {
|
||||
buffer: buffer.raw(),
|
||||
key: *key,
|
||||
bytes: bytes.clone(),
|
||||
first,
|
||||
written: bytes.clone(),
|
||||
tail,
|
||||
};
|
||||
let span = merged.bytes.end - merged.bytes.start;
|
||||
// A window binds the bytes only while they lie in pages: a detached buffer's `VkBuffer` is
|
||||
// the device's stand-in, smaller than any window, and a binding past a buffer's size is
|
||||
// invalid (VUID-VkDescriptorBufferInfo-range-00342). The encoder records nothing of a
|
||||
@@ -1105,12 +1163,7 @@ impl ShadowMerge {
|
||||
command_buffer: vk::CommandBuffer,
|
||||
(copies, moves): (&ShadowCopies, Option<&SampleMoves>),
|
||||
) {
|
||||
let Merged {
|
||||
buffer,
|
||||
ref bytes,
|
||||
first,
|
||||
..
|
||||
} = self.merged;
|
||||
let Merged { ref bytes, .. } = self.merged;
|
||||
let span = bytes.end - bytes.start;
|
||||
// SAFETY: the caller's contract; each part holds the texture's bytes, and the sets bind
|
||||
// windows inside the parts and, in place, inside the texture's bytes (and the shadow's
|
||||
@@ -1127,16 +1180,9 @@ impl ShadowMerge {
|
||||
Changed::Fetched => {}
|
||||
}
|
||||
if let Some(current) = self.current {
|
||||
device.cmd_copy_buffer(
|
||||
command_buffer,
|
||||
buffer,
|
||||
current.raw,
|
||||
&[vk::BufferCopy {
|
||||
src_offset: first,
|
||||
dst_offset: current.at,
|
||||
size: span,
|
||||
}],
|
||||
);
|
||||
for (bytes, copy) in self.merged.current_copies(current, span) {
|
||||
device.cmd_copy_buffer(command_buffer, bytes, current.raw, &[copy]);
|
||||
}
|
||||
}
|
||||
let copied = !matches!(self.changed, Changed::Fetched) || self.current.is_some();
|
||||
if copied {
|
||||
@@ -1163,16 +1209,14 @@ impl ShadowMerge {
|
||||
// bytes' next use.
|
||||
Barrier::everything().record(device, command_buffer);
|
||||
if let Some(current) = self.current {
|
||||
device.cmd_copy_buffer(
|
||||
command_buffer,
|
||||
current.raw,
|
||||
buffer,
|
||||
&[vk::BufferCopy {
|
||||
src_offset: current.at,
|
||||
dst_offset: first,
|
||||
size: span,
|
||||
}],
|
||||
);
|
||||
for (bytes, copy) in self.merged.current_copies(current, span) {
|
||||
let back = vk::BufferCopy {
|
||||
src_offset: copy.dst_offset,
|
||||
dst_offset: copy.src_offset,
|
||||
size: copy.size,
|
||||
};
|
||||
device.cmd_copy_buffer(command_buffer, current.raw, bytes, &[back]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1762,3 +1762,67 @@ fn copies_reach_the_buffer_s_last_byte_and_no_further() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// A copy of rows cut where a side's bytes pass its texture's tail (`buffer_texture.rs`): every
|
||||
/// byte in one part, each part's rows on one side of each cut, a row across a cut split there,
|
||||
/// and a side with no cut whole before it.
|
||||
#[test]
|
||||
fn rows_split_at_each_side_s_tail() {
|
||||
// Two 256-byte rows from a buffer into a texture whose bytes past 4096 are its tail: the
|
||||
// second row crosses it 128 bytes in.
|
||||
let copy = RowsCopy::new(&[0..256, 1024..1280], &[3712..3968, 3968..4224]);
|
||||
let parts = copy.split(None, Some(4096));
|
||||
let rows = |past: bool| -> Vec<BufferRange> {
|
||||
let part = parts.iter().find(|(s, d, _)| !*s && *d == past);
|
||||
part.map_or(Vec::new(), |(.., copy)| copy.rows.clone())
|
||||
};
|
||||
assert_eq!(parts.len(), 2);
|
||||
assert_eq!(
|
||||
rows(false),
|
||||
[
|
||||
BufferRange {
|
||||
src: 0,
|
||||
dst: 3712,
|
||||
size: 256
|
||||
},
|
||||
BufferRange {
|
||||
src: 1024,
|
||||
dst: 3968,
|
||||
size: 128
|
||||
}
|
||||
]
|
||||
);
|
||||
assert_eq!(
|
||||
rows(true),
|
||||
[BufferRange {
|
||||
src: 1152,
|
||||
dst: 4096,
|
||||
size: 128
|
||||
}]
|
||||
);
|
||||
let (.., past) = parts
|
||||
.iter()
|
||||
.find(|(_, d, _)| *d)
|
||||
.expect("a part past the cut");
|
||||
assert_eq!(
|
||||
(past.src_span.clone(), past.dst_span.clone()),
|
||||
(1152..1280, 4096..4224)
|
||||
);
|
||||
// Both sides cut: a row crossing both cuts at different bytes is three parts, and a row
|
||||
// before both joins the first.
|
||||
let both =
|
||||
RowsCopy::new(&[0..64, 3968..4224], &[64..128, 4032..4288]).split(Some(4096), Some(4096));
|
||||
let mut sides: Vec<(bool, bool, u64)> = both
|
||||
.iter()
|
||||
.map(|(s, d, copy)| (*s, *d, copy.length()))
|
||||
.collect();
|
||||
sides.sort_unstable();
|
||||
assert_eq!(
|
||||
sides,
|
||||
[(false, false, 128), (false, true, 64), (true, true, 128)]
|
||||
);
|
||||
// No cut: the copy itself.
|
||||
let whole = copy.split(None, None);
|
||||
assert_eq!(whole.len(), 1);
|
||||
assert_eq!(whole[0].2, copy);
|
||||
}
|
||||
@@ -0,0 +1,455 @@
|
||||
//! A 2D texture over a buffer whose texels run past the buffer's length (`buffer_texture.rs`'s
|
||||
//! **Tails**): plain Metal makes it, and every path of Metal's takes the texels past the length
|
||||
//! as one memory, which each reads what each wrote to (an Apple M3 Max under macOS 27.0.1,
|
||||
//! `metal2vulkan-conformance/probes/texels_past_buffer_length.m`). The runtime makes it too: its
|
||||
//! texels inside the length are the buffer's bytes, and those past it lie in the texture's tail,
|
||||
//! zero when made.
|
||||
//!
|
||||
//! Each case writes the texels through one path and reads them back through every other: a
|
||||
//! kernel (`invert_texels`, the owned fixture `validation/fixtures/public/examples/
|
||||
//! runtime_examples.ll`, which writes each texel of its first texture inverted, its alpha kept,
|
||||
//! into its second), a blit, and the CPU (`replace_region`, `get_bytes`). The buffer's bytes are
|
||||
//! read through its `contents`, or by a blit of the buffer for a `Private` one. Buffers made
|
||||
//! around the texture's are filled with a pattern no write here makes, and keep it: no write
|
||||
//! past the length reaches memory but the tail. The shapes are reims-vgpu's (64 by 17 at rows of
|
||||
//! 256 over 4096 bytes, and 64 by 16 from offset 2048), one whose last row crosses the length
|
||||
//! (64 by 80 over 20000 bytes, whose row 78 holds 32 of the buffer's bytes), and one wholly past
|
||||
//! it (64 by 1 from offset 4096).
|
||||
//!
|
||||
//! Device tests: compiled only under the validation crate's GPU safety cfgs (`m2v_gpu`,
|
||||
//! `m2v_cpu_icd`), on the kind of device the cfg selects.
|
||||
|
||||
use super::blit_holds::{device, Scratch, WAIT};
|
||||
use super::encoder_holds::library;
|
||||
use crate::{
|
||||
BlitOption, Buffer, CommandQueue, ComputePipelineState, Device, Origin, PipelineOptions,
|
||||
Region, ResourceOptions, Size, Texture, TextureDescriptor,
|
||||
};
|
||||
use metal2vulkan::metal::{PixelFormat, TextureUsage};
|
||||
|
||||
const WIDTH: u64 = 64;
|
||||
const ROW: u64 = WIDTH * 4;
|
||||
/// What the buffers made around the texture's hold, which no write here makes.
|
||||
const AROUND: u8 = 0xA5;
|
||||
|
||||
/// A byte of the buffer's pattern: its offset's, never [`AROUND`] nor zero.
|
||||
fn pattern(at: u64) -> u8 {
|
||||
(at % 251) as u8 + 1
|
||||
}
|
||||
|
||||
/// A texel row's bytes `value(texel, channel)`.
|
||||
fn row(value: impl Fn(u64, u64) -> u8) -> Vec<u8> {
|
||||
(0..ROW).map(|at| value(at / 4, at % 4)).collect()
|
||||
}
|
||||
|
||||
/// `bytes` inverted as the kernel inverts a texel: each color channel, the alpha kept.
|
||||
fn inverted(bytes: &[u8]) -> Vec<u8> {
|
||||
let channel = |(at, &byte): (usize, &u8)| if at % 4 == 3 { byte } else { 255 - byte };
|
||||
bytes.iter().enumerate().map(channel).collect()
|
||||
}
|
||||
|
||||
/// The texture's world: its buffer and the buffers around it, the texture, the kernel and the
|
||||
/// plain textures it reads and writes.
|
||||
struct Tail {
|
||||
queue: CommandQueue,
|
||||
invert: ComputePipelineState,
|
||||
buffer: Buffer,
|
||||
around: Vec<Buffer>,
|
||||
texture: Texture,
|
||||
height: u64,
|
||||
offset: u64,
|
||||
/// A plain texture of the texture's extent: the kernel's other side.
|
||||
plain: Texture,
|
||||
}
|
||||
|
||||
impl Tail {
|
||||
/// A `height`-row texture at `offset` over a buffer of `length` bytes of `options`, which
|
||||
/// holds [`pattern`] (but a `Private` one, which holds zero), among buffers holding
|
||||
/// [`AROUND`].
|
||||
fn new(
|
||||
device: &Device,
|
||||
(length, options): (u64, ResourceOptions),
|
||||
offset: u64,
|
||||
height: u64,
|
||||
) -> Tail {
|
||||
let around_buffer = || {
|
||||
let buffer = device.new_buffer(4096, ResourceOptions::shared()).unwrap();
|
||||
// SAFETY: the buffer's 4096 mapped bytes, which no command uses yet.
|
||||
unsafe { std::ptr::write_bytes(buffer.contents().unwrap().as_ptr(), AROUND, 4096) };
|
||||
buffer
|
||||
};
|
||||
let mut around: Vec<Buffer> = (0..8).map(|_| around_buffer()).collect();
|
||||
let buffer = device.new_buffer(length, options).unwrap();
|
||||
around.extend((0..8).map(|_| around_buffer()));
|
||||
if let Some(contents) = buffer.contents() {
|
||||
let bytes: Vec<u8> = (0..length).map(pattern).collect();
|
||||
// SAFETY: the buffer's `length` mapped bytes, which no command uses yet.
|
||||
unsafe {
|
||||
std::ptr::copy_nonoverlapping(bytes.as_ptr(), contents.as_ptr(), bytes.len())
|
||||
};
|
||||
}
|
||||
let mut descriptor =
|
||||
TextureDescriptor::texture_2d(PixelFormat::RGBA8Unorm, WIDTH, height, false);
|
||||
descriptor.usage = TextureUsage::SHADER_READ | TextureUsage::SHADER_WRITE;
|
||||
descriptor.resource_options = options;
|
||||
let texture = buffer.new_texture(&descriptor, offset, ROW).unwrap();
|
||||
let examples = library(device, "examples/runtime_examples.ll");
|
||||
let kernel = examples.new_function_with_name("invert_texels").unwrap();
|
||||
let pipeline = PipelineOptions::default();
|
||||
let invert = device
|
||||
.new_compute_pipeline_state_with_function(&kernel, &pipeline)
|
||||
.unwrap();
|
||||
descriptor.resource_options = ResourceOptions::shared();
|
||||
let plain = device.new_texture(&descriptor).unwrap();
|
||||
Tail {
|
||||
queue: device.new_command_queue().unwrap(),
|
||||
invert,
|
||||
buffer,
|
||||
around,
|
||||
texture,
|
||||
height,
|
||||
offset,
|
||||
plain,
|
||||
}
|
||||
}
|
||||
|
||||
/// The kernel run once, from `from` into `into`, every texel.
|
||||
fn invert(&self, from: &Texture, into: &Texture) {
|
||||
let command_buffer = self.queue.command_buffer().unwrap();
|
||||
let mut encoder = command_buffer.compute_command_encoder().unwrap();
|
||||
encoder.set_compute_pipeline_state(&self.invert).unwrap();
|
||||
encoder.set_texture(Some(from), 0).unwrap();
|
||||
encoder.set_texture(Some(into), 1).unwrap();
|
||||
let grid = Size::new(WIDTH, self.height, 1);
|
||||
(encoder.dispatch_threads(grid, Size::new(8, 1, 1))).unwrap();
|
||||
encoder.end_encoding().unwrap();
|
||||
command_buffer.commit().unwrap();
|
||||
command_buffer.wait_until_completed_for(WAIT).unwrap();
|
||||
}
|
||||
|
||||
/// Row `y`'s bytes of `texture` as the CPU reads them.
|
||||
fn cpu_row(&self, texture: &Texture, y: u64) -> Vec<u8> {
|
||||
let mut bytes = vec![0; ROW as usize];
|
||||
let region = Region::new_2d(0, y, WIDTH, 1);
|
||||
texture.get_bytes(&mut bytes, ROW, 0, region, 0, 0).unwrap();
|
||||
bytes
|
||||
}
|
||||
|
||||
/// Row `y` of the texture as the kernel reads it, inverted back.
|
||||
fn kernel_row(&self, y: u64) -> Vec<u8> {
|
||||
self.invert(&self.texture, &self.plain);
|
||||
inverted(&self.cpu_row(&self.plain, y))
|
||||
}
|
||||
|
||||
/// Row `y` of the texture as a blit into a buffer copies it.
|
||||
fn blit_row(&self, y: u64) -> Vec<u8> {
|
||||
let device = self.queue.device();
|
||||
let read = device.new_buffer(ROW, ResourceOptions::shared()).unwrap();
|
||||
let command_buffer = self.queue.command_buffer().unwrap();
|
||||
let mut blit = command_buffer.blit_command_encoder().unwrap();
|
||||
let (origin, size) = (Origin::new(0, y, 0), Size::new(WIDTH, 1, 1));
|
||||
let copy = blit.copy_from_texture_to_buffer(
|
||||
&self.texture,
|
||||
0,
|
||||
0,
|
||||
origin,
|
||||
size,
|
||||
&read,
|
||||
0,
|
||||
ROW,
|
||||
ROW,
|
||||
BlitOption::None,
|
||||
);
|
||||
copy.unwrap();
|
||||
blit.end_encoding().unwrap();
|
||||
command_buffer.commit().unwrap();
|
||||
command_buffer.wait_until_completed_for(WAIT).unwrap();
|
||||
// SAFETY: the read buffer's `ROW` mapped bytes, which no command uses now.
|
||||
unsafe { std::slice::from_raw_parts(read.contents().unwrap().as_ptr(), ROW as usize) }
|
||||
.to_vec()
|
||||
}
|
||||
|
||||
/// Row `y` of the texture, `bytes`, written by a blit from a buffer.
|
||||
fn blit_write(&self, y: u64, bytes: &[u8]) {
|
||||
let device = self.queue.device();
|
||||
let source = device.new_buffer(ROW, ResourceOptions::shared()).unwrap();
|
||||
// SAFETY: the source's `ROW` mapped bytes, which no command uses yet.
|
||||
unsafe {
|
||||
std::ptr::copy_nonoverlapping(
|
||||
bytes.as_ptr(),
|
||||
source.contents().unwrap().as_ptr(),
|
||||
bytes.len(),
|
||||
)
|
||||
};
|
||||
let command_buffer = self.queue.command_buffer().unwrap();
|
||||
let mut blit = command_buffer.blit_command_encoder().unwrap();
|
||||
let copy = blit.copy_from_buffer_to_texture(
|
||||
&source,
|
||||
0,
|
||||
ROW,
|
||||
ROW,
|
||||
Size::new(WIDTH, 1, 1),
|
||||
&self.texture,
|
||||
0,
|
||||
0,
|
||||
Origin::new(0, y, 0),
|
||||
BlitOption::None,
|
||||
);
|
||||
copy.unwrap();
|
||||
blit.end_encoding().unwrap();
|
||||
command_buffer.commit().unwrap();
|
||||
command_buffer.wait_until_completed_for(WAIT).unwrap();
|
||||
}
|
||||
|
||||
/// Row `y` written by the kernel: `bytes` placed in the plain texture by the CPU, inverted
|
||||
/// into the texture, every row (`rows` holding each row's bytes).
|
||||
fn kernel_write(&self, rows: &[Vec<u8>]) {
|
||||
for (y, bytes) in rows.iter().enumerate() {
|
||||
let region = Region::new_2d(0, y as u64, WIDTH, 1);
|
||||
let source = inverted(bytes);
|
||||
(self.plain.replace_region(region, 0, 0, &source, ROW, 0)).unwrap();
|
||||
}
|
||||
self.invert(&self.plain, &self.texture);
|
||||
}
|
||||
|
||||
/// The buffer's bytes `range`, through its `contents`.
|
||||
fn buffer_bytes(&self, range: std::ops::Range<u64>) -> Vec<u8> {
|
||||
let contents = self.buffer.contents().unwrap().as_ptr();
|
||||
// SAFETY: `range` lies in the buffer's mapped bytes, which no command uses now.
|
||||
let all = unsafe { std::slice::from_raw_parts(contents, self.buffer.length() as usize) };
|
||||
all[range.start as usize..range.end as usize].to_vec()
|
||||
}
|
||||
|
||||
/// Whether every buffer made around the texture's still holds [`AROUND`].
|
||||
fn around_kept(&self) -> bool {
|
||||
self.around.iter().all(|buffer| {
|
||||
let contents = buffer.contents().unwrap().as_ptr();
|
||||
// SAFETY: the buffer's 4096 mapped bytes, which no command uses.
|
||||
let bytes = unsafe { std::slice::from_raw_parts(contents, 4096) };
|
||||
bytes.iter().all(|&byte| byte == AROUND)
|
||||
})
|
||||
}
|
||||
|
||||
/// Row `y`'s bytes as the buffer holds them, those past its length zero.
|
||||
fn made_row(&self, y: u64) -> Vec<u8> {
|
||||
let start = self.offset + y * ROW;
|
||||
let length = self.buffer.length();
|
||||
(start..start + ROW)
|
||||
.map(|at| if at < length { pattern(at) } else { 0 })
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
/// Every path reads the texels inside the length as the buffer's bytes and those past it as
|
||||
/// zero, as made; and what each path writes past the length every path reads, while the
|
||||
/// buffer's bytes and every other buffer's keep theirs: reims-vgpu's 64 by 17 over 4096 bytes,
|
||||
/// a `Shared` buffer (whose shadow merges its copies back).
|
||||
#[test]
|
||||
fn a_texture_past_its_buffer_s_length_keeps_those_texels_in_its_tail() {
|
||||
let scratch = Scratch::new("buffer-tail");
|
||||
let device = device(&scratch.0);
|
||||
let tail = Tail::new(&device, (4096, ResourceOptions::shared()), 0, 17);
|
||||
// As made: rows 0 to 15 the buffer's bytes, row 16 zero, on every path.
|
||||
for y in [0, 7, 15, 16] {
|
||||
let want = tail.made_row(y);
|
||||
assert_eq!(tail.cpu_row(&tail.texture, y), want, "get_bytes row {y}");
|
||||
assert_eq!(tail.blit_row(y), want, "blit row {y}");
|
||||
assert_eq!(tail.kernel_row(y), want, "kernel row {y}");
|
||||
}
|
||||
// The kernel writes every row: rows 0 to 15 reach the buffer, row 16 the tail.
|
||||
let written: Vec<Vec<u8>> = (0..17)
|
||||
.map(|y| row(|x, c| (y * 13 + x * 3 + c * 7) as u8 | 0x80))
|
||||
.collect();
|
||||
tail.kernel_write(&written);
|
||||
assert_eq!(tail.buffer_bytes(15 * ROW..16 * ROW), written[15]);
|
||||
for y in [3, 15, 16] {
|
||||
assert_eq!(
|
||||
tail.cpu_row(&tail.texture, y),
|
||||
written[y as usize],
|
||||
"get_bytes {y}"
|
||||
);
|
||||
assert_eq!(tail.blit_row(y), written[y as usize], "blit {y}");
|
||||
assert_eq!(tail.kernel_row(y), written[y as usize], "kernel {y}");
|
||||
}
|
||||
// The CPU writes row 16: every path reads it, the buffer's bytes as they were.
|
||||
let by_cpu = row(|x, c| (x * 5 + c) as u8 | 0x40);
|
||||
let region = Region::new_2d(0, 16, WIDTH, 1);
|
||||
(tail.texture.replace_region(region, 0, 0, &by_cpu, ROW, 0)).unwrap();
|
||||
assert_eq!(tail.kernel_row(16), by_cpu, "kernel after replace_region");
|
||||
assert_eq!(tail.blit_row(16), by_cpu, "blit after replace_region");
|
||||
assert_eq!(tail.buffer_bytes(15 * ROW..16 * ROW), written[15]);
|
||||
// A blit writes row 16: every path reads it.
|
||||
let by_blit = row(|x, c| (x * 9 + c * 3) as u8 | 0x20);
|
||||
tail.blit_write(16, &by_blit);
|
||||
assert_eq!(tail.kernel_row(16), by_blit, "kernel after the blit");
|
||||
assert_eq!(
|
||||
tail.cpu_row(&tail.texture, 16),
|
||||
by_blit,
|
||||
"get_bytes after the blit"
|
||||
);
|
||||
assert_eq!(tail.buffer_bytes(15 * ROW..16 * ROW), written[15]);
|
||||
assert!(tail.around_kept(), "no write reaches another buffer");
|
||||
}
|
||||
|
||||
/// The other shapes: 64 by 16 from offset 2048 (8 rows past), 64 by 80 over 20000 bytes (row 78
|
||||
/// crosses the length 32 bytes in, and its first 8 texels are the buffer's), and 64 by 1 wholly
|
||||
/// past a 4096-byte buffer. Each reads as made on every path, and a kernel's write of every row
|
||||
/// reads back on every path, the bytes inside the length in the buffer.
|
||||
#[test]
|
||||
fn every_shape_past_the_length_reads_its_tail_and_its_buffer() {
|
||||
let scratch = Scratch::new("buffer-tail-shapes");
|
||||
let device = device(&scratch.0);
|
||||
let shapes = [
|
||||
(4096, 2048, 16, [0, 7, 8, 15]),
|
||||
(20000, 0, 80, [0, 77, 78, 79]),
|
||||
];
|
||||
for (length, offset, height, rows) in shapes {
|
||||
let tail = Tail::new(&device, (length, ResourceOptions::shared()), offset, height);
|
||||
for y in rows {
|
||||
let want = tail.made_row(y);
|
||||
assert_eq!(
|
||||
tail.cpu_row(&tail.texture, y),
|
||||
want,
|
||||
"{length} get_bytes {y}"
|
||||
);
|
||||
assert_eq!(tail.blit_row(y), want, "{length} blit {y}");
|
||||
assert_eq!(tail.kernel_row(y), want, "{length} kernel {y}");
|
||||
}
|
||||
let written: Vec<Vec<u8>> = (0..height)
|
||||
.map(|y| row(|x, c| (y * 11 + x * 3 + c) as u8 | 0x80))
|
||||
.collect();
|
||||
tail.kernel_write(&written);
|
||||
for y in rows {
|
||||
let want = &written[y as usize];
|
||||
assert_eq!(
|
||||
&tail.cpu_row(&tail.texture, y),
|
||||
want,
|
||||
"{length} get_bytes {y}"
|
||||
);
|
||||
assert_eq!(&tail.blit_row(y), want, "{length} blit {y}");
|
||||
assert_eq!(&tail.kernel_row(y), want, "{length} kernel {y}");
|
||||
}
|
||||
// The bytes inside the length the kernel wrote: the buffer's own, to its last byte.
|
||||
for y in [rows[1], rows[2]] {
|
||||
let start = offset + y * ROW;
|
||||
let inside = length.min(start + ROW);
|
||||
if inside > start {
|
||||
let want = &written[y as usize][..(inside - start) as usize];
|
||||
assert_eq!(
|
||||
tail.buffer_bytes(start..inside),
|
||||
want,
|
||||
"{length} buffer row {y}"
|
||||
);
|
||||
}
|
||||
}
|
||||
assert!(
|
||||
tail.around_kept(),
|
||||
"{length}: no write reaches another buffer"
|
||||
);
|
||||
}
|
||||
let past = Tail::new(&device, (4096, ResourceOptions::shared()), 4096, 1);
|
||||
assert_eq!(past.cpu_row(&past.texture, 0), vec![0; ROW as usize]);
|
||||
let by_cpu = row(|x, c| (x + c) as u8 | 0x10);
|
||||
let region = Region::new_2d(0, 0, WIDTH, 1);
|
||||
(past.texture.replace_region(region, 0, 0, &by_cpu, ROW, 0)).unwrap();
|
||||
assert_eq!(past.kernel_row(0), by_cpu, "wholly past: kernel");
|
||||
assert_eq!(past.blit_row(0), by_cpu, "wholly past: blit");
|
||||
assert_eq!(
|
||||
past.buffer_bytes(0..4096),
|
||||
(0..4096).map(pattern).collect::<Vec<u8>>()
|
||||
);
|
||||
assert!(
|
||||
past.around_kept(),
|
||||
"wholly past: no write reaches another buffer"
|
||||
);
|
||||
}
|
||||
|
||||
/// Over a `Private` buffer, whose shadow copies back rather than merging, a blit's write past the
|
||||
/// length reads back through the kernel, and the kernel's through a blit.
|
||||
#[test]
|
||||
fn a_private_buffer_s_texture_past_its_length_keeps_its_tail() {
|
||||
let scratch = Scratch::new("buffer-tail-private");
|
||||
let device = device(&scratch.0);
|
||||
let tail = Tail::new(&device, (4096, ResourceOptions::private()), 0, 17);
|
||||
assert_eq!(
|
||||
tail.blit_row(16),
|
||||
vec![0; ROW as usize],
|
||||
"made zero past the length"
|
||||
);
|
||||
let by_blit = row(|x, c| (x * 7 + c) as u8 | 0x40);
|
||||
tail.blit_write(16, &by_blit);
|
||||
assert_eq!(tail.kernel_row(16), by_blit, "kernel after the blit");
|
||||
let written: Vec<Vec<u8>> = (0..17)
|
||||
.map(|y| row(|x, c| (y * 5 + x + c * 2) as u8 | 0x80))
|
||||
.collect();
|
||||
tail.kernel_write(&written);
|
||||
for y in [0, 15, 16] {
|
||||
assert_eq!(tail.blit_row(y), written[y as usize], "blit {y}");
|
||||
}
|
||||
assert!(tail.around_kept(), "no write reaches another buffer");
|
||||
}
|
||||
|
||||
/// A 2D array whose second slice lies wholly past its buffer's length (`R32Uint`, 4 by 3 at rows
|
||||
/// of 16 over 128 bytes, its slices 128 bytes apart, as Metal strides them): its first slice is
|
||||
/// the buffer's bytes, its second the tail's, zero when made, and what the CPU writes there a
|
||||
/// blit reads, the buffer's bytes and every other buffer's as they were.
|
||||
#[test]
|
||||
fn an_array_s_slice_past_the_length_lies_in_its_tail() {
|
||||
let scratch = Scratch::new("buffer-tail-array");
|
||||
let device = device(&scratch.0);
|
||||
const LENGTH: u64 = 128;
|
||||
const SLICE: u64 = 48;
|
||||
let tail = Tail::new(&device, (LENGTH, ResourceOptions::shared()), 0, 1);
|
||||
let mut rows = TextureDescriptor::texture_2d(PixelFormat::R32Uint, 4, 3, false);
|
||||
rows.texture_type = metal2vulkan::metal::TextureType::Type2DArray;
|
||||
rows.array_length = 2;
|
||||
rows.resource_options = ResourceOptions::shared();
|
||||
let array = tail.buffer.new_linear_texture(&rows, 0, 16, 0).unwrap();
|
||||
let slice = |slice: u64| {
|
||||
let mut bytes = vec![0; SLICE as usize];
|
||||
let region = Region::new_2d(0, 0, 4, 3);
|
||||
array
|
||||
.get_bytes(&mut bytes, 16, 0, region, 0, slice)
|
||||
.unwrap();
|
||||
bytes
|
||||
};
|
||||
assert_eq!(
|
||||
slice(0),
|
||||
(0..SLICE).map(pattern).collect::<Vec<u8>>(),
|
||||
"slice 0"
|
||||
);
|
||||
assert_eq!(slice(1), vec![0; SLICE as usize], "slice 1, as made");
|
||||
let written: Vec<u8> = (0..SLICE).map(|at| at as u8 | 0x80).collect();
|
||||
let region = Region::new_2d(0, 0, 4, 3);
|
||||
(array.replace_region(region, 0, 1, &written, 16, 0)).unwrap();
|
||||
assert_eq!(slice(1), written, "slice 1, as written");
|
||||
let read = device.new_buffer(SLICE, ResourceOptions::shared()).unwrap();
|
||||
let command_buffer = tail.queue.command_buffer().unwrap();
|
||||
let mut blit = command_buffer.blit_command_encoder().unwrap();
|
||||
let (origin, size) = (Origin::new(0, 0, 0), Size::new(4, 3, 1));
|
||||
let copy = blit.copy_from_texture_to_buffer(
|
||||
&array,
|
||||
1,
|
||||
0,
|
||||
origin,
|
||||
size,
|
||||
&read,
|
||||
0,
|
||||
16,
|
||||
SLICE,
|
||||
BlitOption::None,
|
||||
);
|
||||
copy.unwrap();
|
||||
blit.end_encoding().unwrap();
|
||||
command_buffer.commit().unwrap();
|
||||
command_buffer.wait_until_completed_for(WAIT).unwrap();
|
||||
// SAFETY: the read buffer's `SLICE` mapped bytes, which no command uses now.
|
||||
let blitted =
|
||||
unsafe { std::slice::from_raw_parts(read.contents().unwrap().as_ptr(), SLICE as usize) };
|
||||
assert_eq!(blitted, &written[..], "slice 1 through a blit");
|
||||
assert_eq!(
|
||||
tail.buffer_bytes(0..LENGTH),
|
||||
(0..LENGTH).map(pattern).collect::<Vec<u8>>()
|
||||
);
|
||||
assert!(tail.around_kept(), "no write reaches another buffer");
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
//! plane, which no test may build the texture for.
|
||||
|
||||
use super::super::buffer_texture::{
|
||||
rotated_rows, staged_rows_back, turned_plane, view_usage, ViewUsage,
|
||||
inside_rows, rotated_rows, staged_rows_back, turned_plane, view_usage, ViewUsage,
|
||||
};
|
||||
use super::super::error::{Error, Invalid, Problem, RuntimeGap};
|
||||
use super::super::linear_plan::{
|
||||
@@ -321,3 +321,38 @@ fn an_iosurface_pitch_below_the_textures_own_row_is_refused_at_every_rotation()
|
||||
// plane's is shorter, which is the 64x16 pair above.
|
||||
assert_eq!(turned(1, 16, 64, 64), below(64, 256));
|
||||
}
|
||||
|
||||
/// A tail's copies back into its buffer move the texels' bytes inside the buffer's length alone
|
||||
/// (`buffer_texture.rs`'s **Tails**): a row past them is dropped, one across them cut where they
|
||||
/// end, the rows before as they were.
|
||||
#[test]
|
||||
fn a_tail_s_rows_back_stop_at_the_buffer_s_length() {
|
||||
let regions = |back: Vec<vk::BufferCopy>| -> Vec<(u64, u64, u64)> {
|
||||
back.iter()
|
||||
.map(|c| (c.src_offset, c.dst_offset, c.size))
|
||||
.collect()
|
||||
};
|
||||
// 64x17 RGBA8 at rows of 256 over 4096 bytes: one region of the 17 rows, cut to 16 of them.
|
||||
let whole = BufferLayout {
|
||||
offset: 0,
|
||||
row_pitch: 256,
|
||||
slice_pitch: 256 * 17,
|
||||
row_bytes: 256,
|
||||
rows: 17,
|
||||
slices: 1,
|
||||
};
|
||||
let back = staged_rows_back(&whole, 0, 0);
|
||||
assert_eq!(regions(inside_rows(back, 0, 4096)), [(0, 0, 4096)]);
|
||||
// Rows of 128 at a pitch of 256 from byte 32 of the buffer's VkBuffer, 2900 bytes inside:
|
||||
// rows 0 to 10 whole, row 11 (from 2816) cut to its first 84 bytes, the rest dropped.
|
||||
let apart = BufferLayout {
|
||||
row_bytes: 128,
|
||||
..whole
|
||||
};
|
||||
let back = inside_rows(staged_rows_back(&apart, 0, 32), 32, 2900);
|
||||
assert_eq!(back.len(), 12);
|
||||
assert_eq!(regions(back[11..].to_vec()), [(2816, 2848, 84)]);
|
||||
assert!(back[..11].iter().all(|c| c.size == 128));
|
||||
// Every texel past the length: no row back.
|
||||
assert!(inside_rows(staged_rows_back(&whole, 0, 0), 0, 0).is_empty());
|
||||
}
|
||||
@@ -387,17 +387,12 @@ fn two_dimensional_textures_and_texture_buffers_follow_metal() {
|
||||
// The length: the last row's packed bytes may end on the buffer's end.
|
||||
(texture(8, 4, 3872, 64, 4096), made(3872, 64, 4, 32)),
|
||||
// Plain Metal makes a texture whose rows end past the length of a buffer under 16 KiB,
|
||||
// whose `allocatedSize` is its length; the runtime has no bytes there (`past.m`).
|
||||
(
|
||||
texture(8, 4, 3888, 64, 4096),
|
||||
Err(BufferRefusal::TexelsPastLength),
|
||||
),
|
||||
// whose `allocatedSize` is its length (`past.m`); the runtime keeps the texels past it in
|
||||
// the texture's tail.
|
||||
(texture(8, 4, 3888, 64, 4096), made(3888, 64, 4, 32)),
|
||||
(texture(8, 4, 3856, 64, 4096), made(3856, 64, 4, 32)),
|
||||
(texture(8, 4, 3920, 48, 4096), made(3920, 48, 4, 32)),
|
||||
(
|
||||
texture(4, 1, 4096, 16, 4096),
|
||||
Err(BufferRefusal::TexelsPastLength),
|
||||
),
|
||||
(texture(4, 1, 4096, 16, 4096), made(4096, 16, 1, 16)),
|
||||
// Offsets and pitches are multiples of 16.
|
||||
(
|
||||
texture(4, 4, 8, 16, 4096),
|
||||
@@ -523,7 +518,7 @@ fn two_dimensional_textures_and_texture_buffers_follow_metal() {
|
||||
call: BufferTextureCall::Linear,
|
||||
..texture(4, 4, 0, 32, 111)
|
||||
},
|
||||
Err(BufferRefusal::TexelsPastLength),
|
||||
made(0, 32, 4, 16),
|
||||
),
|
||||
(
|
||||
Case {
|
||||
@@ -633,46 +628,47 @@ fn an_arrays_slices_start_at_metals_own_stride() {
|
||||
|
||||
/// Where an array may end (probes 9b, 9c, 9e and 9f): Metal answers nil where a buffer of at
|
||||
/// least 16 KiB has the rounded slices end past its `allocatedSize`; elsewhere it makes an array
|
||||
/// whose last slice runs past the length, which the runtime refuses as not implemented. Its
|
||||
/// validation's own count, the rows as if the slices were not rounded, is no refusal: every case
|
||||
/// marked so below is one the count stops and plain Metal makes.
|
||||
/// whose last slice runs past the length, which the runtime makes too, the texels past it in the
|
||||
/// texture's tail (`past`). Its validation's own count, the rows as if the slices were not
|
||||
/// rounded, is no refusal: every case marked so below is one the count stops and plain Metal
|
||||
/// makes.
|
||||
#[test]
|
||||
fn an_array_ends_where_metal_lets_it() {
|
||||
use BufferTextureProblem as Pr;
|
||||
let nil = |end, allocation| {
|
||||
Err::<(), _>(BufferRefusal::Metal(Pr::PastAllocation { end, allocation }))
|
||||
};
|
||||
let gap = Err::<(), _>(BufferRefusal::TexelsPastLength);
|
||||
let past = Ok::<(), BufferRefusal>(());
|
||||
let ok = |case: Case| plan(case).map(|_| ());
|
||||
let cases = [
|
||||
// Two 4x4 slices at bytesPerRow 16 from 16128 (a 64-byte image, a 128-byte stride).
|
||||
(array((4, 4, 2), 16128, 16, 16255), gap), // counted past
|
||||
(array((4, 4, 2), 16128, 16, 16256), gap),
|
||||
(array((4, 4, 2), 16128, 16, 16319), gap),
|
||||
(array((4, 4, 2), 16128, 16, 16255), past), // counted past
|
||||
(array((4, 4, 2), 16128, 16, 16256), past),
|
||||
(array((4, 4, 2), 16128, 16, 16319), past),
|
||||
(array((4, 4, 2), 16128, 16, 16320), Ok(())),
|
||||
(array((4, 4, 2), 16128, 16, 16384), Ok(())),
|
||||
// From 16256 the slices end at 16512: nil in 16384 bytes, made in 16385 or more.
|
||||
(array((4, 4, 2), 16256, 16, 16384), nil(16512, 16384)),
|
||||
(array((4, 4, 2), 16256, 16, 16385), gap),
|
||||
(array((4, 4, 2), 16256, 16, 16385), past),
|
||||
(array((4, 4, 2), 16256, 16, 16512), Ok(())),
|
||||
(array((4, 4, 2), 16384, 16, 16385), gap), // counted past
|
||||
(array((4, 4, 2), 16384, 16, 16385), past), // counted past
|
||||
(array((4, 4, 2), 32640, 16, 32768), nil(32896, 32768)),
|
||||
// Small buffers: made past the length whatever the rounded slices' end.
|
||||
(array((4, 4, 2), 0, 16, 64), gap), // counted past
|
||||
(array((4, 4, 2), 0, 16, 127), gap), // counted past
|
||||
(array((4, 4, 2), 0, 16, 128), gap),
|
||||
(array((4, 4, 2), 0, 16, 191), gap),
|
||||
(array((4, 4, 2), 0, 16, 64), past), // counted past
|
||||
(array((4, 4, 2), 0, 16, 127), past), // counted past
|
||||
(array((4, 4, 2), 0, 16, 128), past),
|
||||
(array((4, 4, 2), 0, 16, 191), past),
|
||||
(array((4, 4, 2), 0, 16, 192), Ok(())),
|
||||
(array((4, 4, 3), 0, 16, 300), gap),
|
||||
(array((4, 4, 64), 0, 16, 4096), gap),
|
||||
(array((4, 4, 128), 0, 16, 4096), gap), // counted past
|
||||
(array((4, 4, 129), 0, 16, 4096), gap), // counted past
|
||||
(array((4, 4, 3), 0, 16, 300), past),
|
||||
(array((4, 4, 64), 0, 16, 4096), past),
|
||||
(array((4, 4, 128), 0, 16, 4096), past), // counted past
|
||||
(array((4, 4, 129), 0, 16, 4096), past), // counted past
|
||||
// bytesPerRow above the packed row: validation counts the last row's packed bytes.
|
||||
(array((4, 4, 2), 0, 32, 239), gap), // counted past
|
||||
(array((4, 4, 2), 0, 32, 239), past), // counted past
|
||||
(array((4, 4, 2), 0, 32, 240), Ok(())),
|
||||
(array((4, 3, 3), 0, 48, 399), gap), // counted past
|
||||
(array((4, 3, 3), 0, 48, 400), gap),
|
||||
(array((4, 3, 3), 0, 48, 432), gap),
|
||||
(array((4, 3, 3), 0, 48, 399), past), // counted past
|
||||
(array((4, 3, 3), 0, 48, 400), past),
|
||||
(array((4, 3, 3), 0, 48, 432), past),
|
||||
];
|
||||
for (case, want) in cases {
|
||||
assert_eq!(ok(case), want, "{case:?}");
|
||||
@@ -684,11 +680,13 @@ fn an_array_ends_where_metal_lets_it() {
|
||||
/// texture whenever its rows end inside the buffer's `allocatedSize`, however far past the
|
||||
/// `length` they run, and answers nil only past the allocation. Metal's validation counts those
|
||||
/// rows against the `length` and stops every case here but the two made ones; that count is the
|
||||
/// layer's alone, so the runtime does not refuse by it.
|
||||
/// layer's alone, so the runtime does not refuse by it. A 2D texture past the length is made,
|
||||
/// its texels there in its tail (`past`); a texture buffer there is the runtime's gap.
|
||||
#[test]
|
||||
fn a_texture_over_a_buffer_ends_where_metals_allocation_does() {
|
||||
use BufferTextureProblem as Pr;
|
||||
let gap = Err::<(), _>(BufferRefusal::TexelsPastLength);
|
||||
let past = Ok::<(), BufferRefusal>(());
|
||||
let nil = |end, allocation| {
|
||||
Err::<(), _>(BufferRefusal::Metal(Pr::PastAllocation { end, allocation }))
|
||||
};
|
||||
@@ -698,10 +696,10 @@ fn a_texture_over_a_buffer_ends_where_metals_allocation_does() {
|
||||
let cases = [
|
||||
// A 4096-byte buffer, whose `allocatedSize` is its length: made 128 and 12288 bytes past.
|
||||
(texture_buffer(64, 3968, 256, 4096), gap),
|
||||
(texture(64, 1, 3968, 256, 4096), gap),
|
||||
(texture(64, 64, 0, 256, 4096), gap),
|
||||
(texture(64, 1, 3968, 256, 4096), past),
|
||||
(texture(64, 64, 0, 256, 4096), past),
|
||||
// A 20000-byte buffer, `allocatedSize` 32768: made inside the allocation, nil past it.
|
||||
(texture(64, 4, 19200, 256, 20000), gap),
|
||||
(texture(64, 4, 19200, 256, 20000), past),
|
||||
(texture_buffer(64, 20000, 256, 20000), gap),
|
||||
(texture(64, 4, 32000, 256, 20000), nil(33024, 32768)),
|
||||
(texture_buffer(64, 32700, 256, 20000), nil(32956, 32768)),
|
||||
|
||||
@@ -33,6 +33,8 @@ mod blit_holds;
|
||||
#[cfg(any(m2v_gpu, m2v_cpu_icd))]
|
||||
mod blit_order;
|
||||
mod blit_plan;
|
||||
#[cfg(any(m2v_gpu, m2v_cpu_icd))]
|
||||
mod buffer_tail_device;
|
||||
mod buffer_texture;
|
||||
mod capabilities;
|
||||
mod color_reformat;
|
||||
|
||||
@@ -2239,8 +2239,11 @@ impl Device {
|
||||
// only the rows the log reports changed (`dirty_pages.rs`), so the GPU reads the texels
|
||||
// from its own memory, where in place it reads the pages across the bus at every sample.
|
||||
// It binds no image to the pages, so the in-place check's verdict is not asked.
|
||||
// Texels past the buffer's length lie in no image over its memory: the shadow's copies go
|
||||
// through the texture's tail (`buffer_texture.rs`).
|
||||
let past = texels.past().is_some();
|
||||
let device_copy = match class {
|
||||
Some(class) if !in_place::checking() && !texels.buffer.detached() => {
|
||||
Some(class) if !past && !in_place::checking() && !texels.buffer.detached() => {
|
||||
let policy = self.compile_device().policy().host_page_textures;
|
||||
in_place::in_place(policy, usage, class, |_| Verdict::Passed).is_ok()
|
||||
&& texels.device_copy(self)
|
||||
@@ -2248,6 +2251,9 @@ impl Device {
|
||||
_ => false,
|
||||
};
|
||||
let why = match class {
|
||||
_ if past => "its texels run past the buffer's length, which no image over the \
|
||||
buffer's memory reaches: the texture's tail holds them"
|
||||
.to_owned(),
|
||||
Some(_) if device_copy => String::new(),
|
||||
Some(class) => {
|
||||
let checking = in_place::checking();
|
||||
|
||||
@@ -62,7 +62,8 @@ fn texture_buffer(pf: PixelFormat, width: u64) -> TextureDescriptor {
|
||||
|
||||
/// Texture buffers, 2D textures and arrays are made over a buffer with the buffer's options,
|
||||
/// whatever the descriptor names, and texture buffers by `new_texture` over a new buffer; what Metal stops is refused `Invalid`
|
||||
/// with its rule; an array whose texels run past its buffer's length is not implemented.
|
||||
/// with its rule; a texture buffer whose texels run past its buffer's length is not
|
||||
/// implemented, and an array there is made.
|
||||
#[test]
|
||||
fn textures_over_buffers_are_made_or_refused_as_metal_makes_them() {
|
||||
on_device(|device| {
|
||||
@@ -228,15 +229,17 @@ fn textures_over_buffers_are_made_or_refused_as_metal_makes_them() {
|
||||
(TextureType::Type2D, 1)
|
||||
);
|
||||
// An array whose second slice starts past the buffer's length, inside Metal's
|
||||
// allocation: Metal makes it over bytes the runtime's buffer does not have.
|
||||
// allocation: Metal makes it, and so does the runtime, that slice in the texture's tail
|
||||
// (`tests::buffer_tail_device`).
|
||||
let short = device.new_buffer(128, ResourceOptions::shared()).unwrap();
|
||||
let mut rows = TextureDescriptor::texture_2d(PixelFormat::R32Uint, 4, 3, false);
|
||||
rows.texture_type = TextureType::Type2DArray;
|
||||
rows.array_length = 2;
|
||||
rows.resource_options = ResourceOptions::shared();
|
||||
let past = short.new_linear_texture(&rows, 0, 16, 0).unwrap();
|
||||
assert_eq!(
|
||||
short.new_linear_texture(&rows, 0, 16, 0).unwrap_err(),
|
||||
Error::NotImplemented(RuntimeGap::TexelsPastBufferLength)
|
||||
(past.texture_type(), past.array_length()),
|
||||
(TextureType::Type2DArray, 2)
|
||||
);
|
||||
// `new_texture` of a texture buffer: over a new buffer of its options.
|
||||
let made = device.new_texture(&d).unwrap();
|
||||
|
||||
+12
@@ -4289,6 +4289,18 @@ each item named states the rule in full.
|
||||
does not reproduce the loss.
|
||||
- **A heap's buffer and texture over the same bytes alias them, in the device's layout**, not
|
||||
Apple's tiled or compressed one.
|
||||
- **A texture over a buffer keeps its texels past the buffer's length in a tail of its own.**
|
||||
Plain Metal makes a 2D texture or array over a buffer whose texels run past its length, up to
|
||||
the buffer's `allocatedSize` (nil past it), and its texels there are the memory after the
|
||||
buffer's: on an Apple M3 Max under macOS 27.0.1 (`probes/texels_past_buffer_length.m`) a
|
||||
kernel's `read()` and `sample()`, a blit and `getBytes` read the next allocation's bytes there,
|
||||
and a kernel's `write()`, a blit and `replaceRegion` write them, changing that allocation; past
|
||||
a 20000-byte buffer's length, inside its allocation, they read zero. On both, what one path
|
||||
writes there every path reads, and the texels inside the length are the buffer's bytes. The
|
||||
runtime's texels past the length lie in the texture's tail (`Buffer::new_texture`): zero when
|
||||
made, read and written alike by its functions, blits and CPU calls, and no other allocation's
|
||||
bytes; two textures over one buffer past its length keep a tail each. A texture buffer past the
|
||||
length stays `NotImplemented(TexelsPastBufferLength)`.
|
||||
|
||||
**Function constants**
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@ Its limits, measured rather than asserted:
|
||||
| share of the reachable exercised | 83% |
|
||||
| of those exercised, no case reaching it loosens anything | 573 |
|
||||
| of those exercised, a case reaching it loosens some site | 241 |
|
||||
| case modules | 159 |
|
||||
| committed recordings | 1230 |
|
||||
| case modules | 160 |
|
||||
| committed recordings | 1232 |
|
||||
| distinct SDK items the Metal leg reaches, of any status | 821 |
|
||||
| of those, reached only where this cannot name the family | 3 |
|
||||
| ledger rows (a case whose gap is recorded) | 3295 |
|
||||
@@ -421,7 +421,7 @@ Every container with an implemented item, by how much of it the suite reaches. *
|
||||
| `MTLFunctionDescriptor` | 5 | 0 | 5 | 0 | `library_facts` |
|
||||
| `MTLFunctionHandle` | 3 | 0 | 3 | 0 | `visible_tables` |
|
||||
| `MTLHeap` | 17 | 0 | 17 | 0 | `compressed_moves`, `compute_heap_residency`, `heap_facts`, `resource_facts`… |
|
||||
| `MTLHeapDescriptor` | 8 | 0 | 8 | 0 | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`… |
|
||||
| `MTLHeapDescriptor` | 8 | 0 | 8 | 0 | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`… |
|
||||
| `MTLIndirectCommandBufferDescriptor` | 19 | 0 | 19 | 0 | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` |
|
||||
| `MTLIndirectComputeCommand` | 12 | 0 | 12 | 0 | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` |
|
||||
| `MTLLinkedFunctions` | 6 | 0 | 6 | 0 | `mesh_pipeline_descriptors`, `pipeline_descriptors`, `tile_pipeline_descriptors`, `visible_tables` |
|
||||
@@ -526,18 +526,18 @@ An implemented container no case's Metal leg touches. These are the families of
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| case modules | 159 |
|
||||
| committed recordings | 1230 |
|
||||
| case modules | 160 |
|
||||
| committed recordings | 1232 |
|
||||
| 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 | 809 |
|
||||
| cases whose Metal answer is `metal_run` | 1146 |
|
||||
| cases running a committed shader fixture | 810 |
|
||||
| cases whose Metal answer is `metal_run` | 1148 |
|
||||
| cases whose Metal answer is `carried` | 80 |
|
||||
| cases whose Metal answer is `never_returned` | 4 |
|
||||
| modules that loosen a measured value | 11 |
|
||||
| tolerances in all | 11 |
|
||||
| modules declaring a notice (loosening no value) | 125 |
|
||||
| modules declaring a notice (loosening no value) | 126 |
|
||||
| loosenings used | `Unchecked`, `Absolute`, `AnyOf`, `Nonzero` |
|
||||
| justifications named | `Degradation`, `AcceptedDifference`, `WithoutCompression` |
|
||||
| modules forbidding a re-record | 8 |
|
||||
@@ -548,7 +548,7 @@ An implemented container no case's Metal leg touches. These are the families of
|
||||
| Metal call sites in the leg | 1722 |
|
||||
| distinct selectors the leg sends | 661 |
|
||||
| of those, resolved to an item of the coverage map | 654 |
|
||||
| oracles the recordings name | `apple-m3-max` ×1230 |
|
||||
| oracles the recordings name | `apple-m3-max` ×1232 |
|
||||
|
||||
## By family
|
||||
|
||||
@@ -570,6 +570,7 @@ Each case module: the cases it holds, the `Side` methods it calls, and how many
|
||||
| `border_swizzles` | 8 | 8 | every field | 60 |
|
||||
| `buffer_blits` | 4 | 4 | every field | 27 |
|
||||
| `buffer_depth_samples` | 5 | 5 | every field | 69 |
|
||||
| `buffer_tails` | 2 | 2 | every field | 59 |
|
||||
| `buffer_target_clears` | 6 | 6 | every field | 65 |
|
||||
| `buffer_texture_blits` | 2 | 2 | every field | 47 |
|
||||
| `buffer_textures` | 3 | 2 | every field | 56 |
|
||||
@@ -741,7 +742,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLAllocation` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_facts`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_facts`, `pipeline_handlers`, `pipeline_limits`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 1016 |
|
||||
| `MTLAllocation` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_facts`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_facts`, `pipeline_handlers`, `pipeline_limits`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 1018 |
|
||||
|
||||
### `MTLArgument`
|
||||
|
||||
@@ -885,14 +886,14 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLBlitCommandEncoder` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `command_buffer_facts`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 440 |
|
||||
| `MTLBlitCommandEncoder` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `command_buffer_facts`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 442 |
|
||||
| `synchronizeResource:` | yes | `blit_encoder_commands` | 9 |
|
||||
| `synchronizeTexture:slice:level:` | yes | `blit_encoder_commands` | 9 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | yes | `buffer_texture_blits`, `chroma_pairs`, `compressed_blits`, `format_copies`, `pvrtc_rows`, `two_plane_heap_blits` | 37 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | yes | `buffer_tails`, `buffer_texture_blits`, `chroma_pairs`, `compressed_blits`, `format_copies`, `pvrtc_rows`, `two_plane_heap_blits` | 39 |
|
||||
| `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | yes | `blit_encoder_commands`, `sparse_mappings` | 23 |
|
||||
| `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:` | yes | `blit_encoder_commands`, `buffer_depth_samples`, `chroma_pairs`, `compressed_blits`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies` | 158 |
|
||||
| `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:` | yes | `blit_encoder_commands`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_blits`, `compressed_views`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `texture_fills`, `two_plane_copies` | 160 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_targets`, `sample_positions`, `shader_stencil`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `wide_points` | 251 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:` | yes | `blit_encoder_commands`, `buffer_depth_samples`, `chroma_pairs`, `compressed_blits`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `stencil_resolved_sample`, `texture_fills`, `two_plane_copies` | 145 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:` | yes | `blit_encoder_commands`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_blits`, `format_copies`, `fresh_contents`, `pvrtc_cpu_order`, `pvrtc_rows`, `stencil_resolved_sample`, `texture_fills`, `two_plane_copies` | 147 |
|
||||
| `generateMipmapsForTexture:` | yes | `blit_encoder_commands` | 9 |
|
||||
| `fillBuffer:range:value:` | yes | `blit_encoder_commands`, `buffer_blits`, `command_buffer_facts`, `empty_command_buffers`, `event_orders`, `fresh_contents`, `host_detach`, `scheduled_handlers` | 109 |
|
||||
| `copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:` | yes | `blit_encoder_commands` | 9 |
|
||||
@@ -912,11 +913,11 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLBuffer` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 855 |
|
||||
| `length` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_texel_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 795 |
|
||||
| `contents` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 846 |
|
||||
| `MTLBuffer` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 857 |
|
||||
| `length` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_texel_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 797 |
|
||||
| `contents` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 848 |
|
||||
| `didModifyRange:` | no | — | — |
|
||||
| `newTextureWithDescriptor:offset:bytesPerRow:` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 631 |
|
||||
| `newTextureWithDescriptor:offset:bytesPerRow:` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 633 |
|
||||
| `gpuAddress` | no | — | — |
|
||||
|
||||
### `MTLBufferBinding`
|
||||
@@ -951,23 +952,23 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLCommandBuffer` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 837 |
|
||||
| `MTLCommandBuffer` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 839 |
|
||||
| `device` | yes | `command_buffer_facts` | 1 |
|
||||
| `commandQueue` | yes | `command_buffer_facts` | 1 |
|
||||
| `kernelStartTime` | yes | `command_buffer_facts`, `empty_command_buffers` | 2 |
|
||||
| `kernelEndTime` | yes | `command_buffer_facts`, `empty_command_buffers` | 2 |
|
||||
| `GPUStartTime` | yes | `command_buffer_facts`, `empty_command_buffers` | 2 |
|
||||
| `GPUEndTime` | yes | `command_buffer_facts`, `empty_command_buffers` | 2 |
|
||||
| `commit` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 837 |
|
||||
| `commit` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 839 |
|
||||
| `addScheduledHandler:` | yes | `empty_command_buffers`, `event_orders`, `scheduled_handlers` | 7 |
|
||||
| `waitUntilScheduled` | yes | `scheduled_handlers` | 1 |
|
||||
| `addCompletedHandler:` | yes | `empty_command_buffers`, `event_orders`, `host_detach`, `scheduled_handlers` | 8 |
|
||||
| `waitUntilCompleted` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 830 |
|
||||
| `status` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 835 |
|
||||
| `waitUntilCompleted` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 832 |
|
||||
| `status` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 837 |
|
||||
| `error` | yes | `alpha_coverage_pairs`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `buffer_target_clears`, `color_write_masks`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `tessellation_crossings`, `tessellation_sweeps`, `tile_threadgroups`, `topology_classes`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 357 |
|
||||
| `blitCommandEncoder` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `chroma_pairs`, `command_buffer_facts`, `compressed_blits`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 424 |
|
||||
| `blitCommandEncoder` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `chroma_pairs`, `command_buffer_facts`, `compressed_blits`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_targets`, `sample_positions`, `scheduled_handlers`, `shader_stencil`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 426 |
|
||||
| `renderCommandEncoderWithDescriptor:` | yes | `alpha_coverage_pairs`, `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `buffer_depth_samples`, `buffer_target_clears`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `tessellation_crossings`, `tessellation_sweeps`, `tile_threadgroups`, `topology_classes`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 357 |
|
||||
| `computeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 364 |
|
||||
| `computeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 366 |
|
||||
| `computeCommandEncoderWithDispatchType:` | yes | `compute_encoder_commands` | 8 |
|
||||
| `encodeWaitForEvent:value:` | yes | `event_orders` | 5 |
|
||||
| `encodeSignalEvent:value:` | yes | `event_orders`, `shared_events` | 7 |
|
||||
@@ -977,27 +978,27 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLCommandEncoder` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 835 |
|
||||
| `endEncoding` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 835 |
|
||||
| `MTLCommandEncoder` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 837 |
|
||||
| `endEncoding` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 837 |
|
||||
|
||||
### `MTLCommandQueue`
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLCommandQueue` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `command_queues`, `compressed_blits`, `compressed_decode`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 822 |
|
||||
| `MTLCommandQueue` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `command_queues`, `compressed_blits`, `compressed_decode`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 824 |
|
||||
| `label` | yes | `command_buffer_facts` | 1 |
|
||||
| `device` | yes | `command_buffer_facts` | 1 |
|
||||
| `commandBuffer` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `command_queues`, `compressed_blits`, `compressed_decode`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 822 |
|
||||
| `commandBuffer` | yes | `alpha_coverage_pairs`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `command_queues`, `compressed_blits`, `compressed_decode`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 824 |
|
||||
|
||||
### `MTLComputeCommandEncoder`
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLComputeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 364 |
|
||||
| `MTLComputeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 366 |
|
||||
| `dispatchType` | yes | `attribute_strides`, `compute_encoder_commands`, `compute_heap_residency` | 13 |
|
||||
| `setComputePipelineState:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 364 |
|
||||
| `setComputePipelineState:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 366 |
|
||||
| `setBytes:length:atIndex:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `setBuffer:offset:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 364 |
|
||||
| `setBuffer:offset:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `visible_tables`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 366 |
|
||||
| `setBufferOffset:atIndex:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `setBuffers:offsets:withRange:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `setBuffer:offset:attributeStride:atIndex:` | yes | `attribute_strides`, `compute_heap_residency` | 5 |
|
||||
@@ -1006,9 +1007,9 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `setBytes:length:attributeStride:atIndex:` | yes | `attribute_strides`, `compute_heap_residency` | 5 |
|
||||
| `setVisibleFunctionTable:atBufferIndex:` | yes | `visible_tables` | 18 |
|
||||
| `setVisibleFunctionTables:withBufferRange:` | no | — | — |
|
||||
| `setTexture:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 342 |
|
||||
| `setTexture:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 344 |
|
||||
| `setTextures:withRange:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `setSamplerState:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `border_swizzles`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `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`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 289 |
|
||||
| `setSamplerState:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `border_swizzles`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `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`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 291 |
|
||||
| `setSamplerStates:withRange:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `setSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `setSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
@@ -1018,10 +1019,10 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `setStageInRegionWithIndirectBuffer:indirectBufferOffset:` | yes | `stage_in_regions` | 1 |
|
||||
| `dispatchThreadgroups:threadsPerThreadgroup:` | yes | `argument_encoders`, `attribute_strides`, `buffer_depth_samples`, `compute_encoder_commands`, `compute_heap_residency`, `compute_threadgroups`, `extended_range_two_planes`, `pass_bytes`, `shared_exponent_storage`, `simdgroup_lockstep`, `visible_tables` | 55 |
|
||||
| `dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `dispatchThreads:threadsPerThreadgroup:` | yes | `astc_textures`, `attribute_formats`, `blit_indirect_commands`, `border_swizzles`, `chroma_pairs`, `compressed_decode`, `compute_render_chains`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 311 |
|
||||
| `dispatchThreads:threadsPerThreadgroup:` | yes | `astc_textures`, `attribute_formats`, `blit_indirect_commands`, `border_swizzles`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_render_chains`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `frame_chains`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 313 |
|
||||
| `updateFence:` | no | — | — |
|
||||
| `waitForFence:` | no | — | — |
|
||||
| `useResource:usage:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_indirect_commands`, `border_swizzles`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 307 |
|
||||
| `useResource:usage:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_indirect_commands`, `border_swizzles`, `buffer_tails`, `chroma_pairs`, `compressed_decode`, `compute_encoder_commands`, `compute_heap_residency`, `compute_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `stage_in_unread`, `swizzled_storage`, `texel_swizzles`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 309 |
|
||||
| `useResources:count:usage:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 |
|
||||
| `useHeap:` | yes | `compute_heap_residency` | 1 |
|
||||
| `useHeaps:count:` | yes | `compute_heap_residency` | 1 |
|
||||
@@ -1101,7 +1102,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLDevice` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `command_queues`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `device_queries`, `discard_hoist`, `draw_state_changes`, `dynamic_libraries`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_facts`, `heap_metal_sizes`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_creator_formats`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `sparse_tiles`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 1134 |
|
||||
| `MTLDevice` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `command_queues`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `device_queries`, `discard_hoist`, `draw_state_changes`, `dynamic_libraries`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_facts`, `heap_metal_sizes`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_creator_formats`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `sparse_tiles`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 1136 |
|
||||
| `name` | no | — | — |
|
||||
| `registryID` | yes | `argument_encoder_crossings`, `argument_encoders`, `binary_archives`, `command_buffer_facts`, `dynamic_libraries`, `function_facts`, `heap_facts`, `library_facts`, `pipeline_facts`, `pipeline_handlers`, `resource_facts`, `shared_creator_formats`, `shared_events`, `texture_descriptor_pairs`, `texture_views`, `visible_tables` | 113 |
|
||||
| `maxThreadsPerThreadgroup` | no | — | — |
|
||||
@@ -1117,12 +1118,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`, `format_footprints`, `heap_metal_sizes`, `texture_descriptor_pairs`, `two_plane_copies`, `ycbcr_textures` | 35 |
|
||||
| `heapBufferSizeAndAlignWithLength:options:` | yes | `device_queries` | 5 |
|
||||
| `newHeapWithDescriptor:` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 218 |
|
||||
| `newBufferWithLength:options:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 852 |
|
||||
| `newHeapWithDescriptor:` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 220 |
|
||||
| `newBufferWithLength:options:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `empty_command_buffers`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 854 |
|
||||
| `newBufferWithBytes:length:options:` | yes | `buffer_depth_samples` | 5 |
|
||||
| `newBufferWithBytesNoCopy:length:options:deallocator:` | yes | `host_detach`, `host_page_writes` | 5 |
|
||||
| `newDepthStencilStateWithDescriptor:` | yes | `depth_resolve_pairs`, `depth_stencil_space`, `layered_targets`, `pass_sequence_actions`, `render_depth_stencil_state`, `shader_stencil`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `visibility` | 41 |
|
||||
| `newTextureWithDescriptor:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_textures` | 847 |
|
||||
| `newTextureWithDescriptor:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_textures` | 849 |
|
||||
| `newSharedTextureWithDescriptor:` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
| `newSharedTextureWithHandle:` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
| `newSamplerStateWithDescriptor:` | yes | `argument_encoder_crossings`, `argument_encoders`, `border_swizzles`, `chroma_pairs`, `compute_encoder_commands`, `compute_render_chains`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `extended_swizzles`, `frame_chains`, `half_read_nans`, `nearest_positions`, `pixel_downscales`, `pixel_samplers`, `render_chains`, `render_state`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify` | 146 |
|
||||
@@ -1131,7 +1132,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `newRenderPipelineStateWithDescriptor:options:reflection:error:` | yes | `binary_archives`, `fragment_imageblock_reflection`, `pipeline_handlers`, `pipeline_options`, `texture_accesses` | 53 |
|
||||
| `newRenderPipelineStateWithDescriptor:completionHandler:` | yes | `pipeline_handlers` | 24 |
|
||||
| `newRenderPipelineStateWithDescriptor:options:completionHandler:` | yes | `pipeline_handlers` | 24 |
|
||||
| `newComputePipelineStateWithFunction:error:` | yes | `argument_encoders`, `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `fresh_contents`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_handlers`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 514 |
|
||||
| `newComputePipelineStateWithFunction:error:` | yes | `argument_encoders`, `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `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`, `frame_chains`, `fresh_contents`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_handlers`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 516 |
|
||||
| `newComputePipelineStateWithFunction:options:reflection:error:` | yes | `function_bindings`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options` | 63 |
|
||||
| `newComputePipelineStateWithFunction:completionHandler:` | yes | `pipeline_handlers` | 24 |
|
||||
| `newComputePipelineStateWithFunction:options:completionHandler:` | yes | `pipeline_handlers` | 24 |
|
||||
@@ -1283,14 +1284,14 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLHeapDescriptor` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 218 |
|
||||
| `size` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 218 |
|
||||
| `MTLHeapDescriptor` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 220 |
|
||||
| `size` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 220 |
|
||||
| `storageMode` | yes | `compute_heap_residency`, `heap_facts`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs` | 37 |
|
||||
| `cpuCacheMode` | yes | `compute_heap_residency`, `heap_facts`, `resource_facts`, `texture_descriptor_pairs` | 15 |
|
||||
| `sparsePageSize` | yes | `render_residency`, `sparse_heaps`, `sparse_mappings` | 22 |
|
||||
| `hazardTrackingMode` | yes | `compute_heap_residency`, `heap_facts`, `resource_facts`, `texture_descriptor_pairs` | 15 |
|
||||
| `resourceOptions` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_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` | 181 |
|
||||
| `type` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 218 |
|
||||
| `resourceOptions` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_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` | 183 |
|
||||
| `type` | yes | `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_heap_residency`, `format_copies`, `fresh_contents`, `heap_facts`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_residency`, `resource_facts`, `sparse_heaps`, `sparse_mappings`, `texture_descriptor_pairs`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits` | 220 |
|
||||
|
||||
### `MTLIndirectCommandBuffer`
|
||||
|
||||
@@ -1376,9 +1377,9 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLLibrary` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `dynamic_libraries`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 964 |
|
||||
| `MTLLibrary` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `dynamic_libraries`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 966 |
|
||||
| `device` | yes | `dynamic_libraries`, `library_facts` | 12 |
|
||||
| `newFunctionWithName:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 952 |
|
||||
| `newFunctionWithName:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 954 |
|
||||
| `newFunctionWithName:constantValues:error:` | yes | `function_facts` | 15 |
|
||||
| `newFunctionWithName:constantValues:completionHandler:` | no | — | — |
|
||||
| `reflectionForFunctionWithName:` | no | — | — |
|
||||
@@ -1840,7 +1841,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLResource` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_facts`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 959 |
|
||||
| `MTLResource` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `command_buffer_facts`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `event_orders`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_facts`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_degenerate_forms`, `rate_map_sweeps`, `rate_maps`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 961 |
|
||||
| `label` | yes | `heap_facts`, `resource_facts`, `shared_creator_formats`, `texture_descriptor_pairs` | 16 |
|
||||
| `device` | yes | `heap_facts`, `resource_facts`, `shared_creator_formats`, `texture_descriptor_pairs`, `visible_tables` | 34 |
|
||||
| `cpuCacheMode` | yes | `buffer_textures`, `heap_facts`, `resource_facts`, `shared_creator_formats`, `texture_descriptor_pairs` | 18 |
|
||||
@@ -1975,7 +1976,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLTexture` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 881 |
|
||||
| `MTLTexture` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 883 |
|
||||
| `parentTexture` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
| `parentRelativeLevel` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
| `parentRelativeSlice` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
@@ -1994,16 +1995,16 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
| `isSparse` | yes | `sparse_heaps`, `sparse_mappings` | 20 |
|
||||
| `allowGPUOptimizedContents` | yes | `buffer_textures`, `texture_descriptor_pairs` | 7 |
|
||||
| `gpuResourceID` | yes | `half_storage_writes`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `read_write_tiers` | 49 |
|
||||
| `getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:` | yes | `blit_encoder_commands`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `pvrtc_cpu_order`, `two_plane_copies` | 30 |
|
||||
| `replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `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`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 312 |
|
||||
| `getBytes:bytesPerRow:fromRegion:mipmapLevel:` | yes | `alpha_coverage_pairs`, `color_write_masks`, `extended_range_planes`, `format_footprints`, `half_storage_writes`, `half_write_nans`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `norm_storage_writes`, `read_write_tiers`, `rgb10a2_srgb`, `shared_exponent_storage`, `snorm_tile_store`, `swizzled_storage`, `textures`, `tile_threadgroups`, `topology_classes` | 183 |
|
||||
| `replaceRegion:mipmapLevel:withBytes:bytesPerRow:` | yes | `argument_encoder_crossings`, `argument_encoders`, `blend_interactions`, `blend_sweeps`, `chroma_pairs`, `color_write_masks`, `compute_encoder_commands`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `fetch_ordered`, `format_footprints`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `nearest_positions`, `pass_sequence_actions`, `pixel_downscales`, `pixel_samplers`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sampler_crossings`, `sampler_filtering`, `snorm_tile_store`, `srgb_fetch`, `swizzled_storage`, `textures`, `tile_threadgroups`, `two_plane_samples` | 332 |
|
||||
| `getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:` | yes | `blit_encoder_commands`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `pvrtc_cpu_order`, `two_plane_copies` | 32 |
|
||||
| `replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `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`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 314 |
|
||||
| `getBytes:bytesPerRow:fromRegion:mipmapLevel:` | yes | `alpha_coverage_pairs`, `buffer_tails`, `color_write_masks`, `extended_range_planes`, `format_footprints`, `half_storage_writes`, `half_write_nans`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `norm_storage_writes`, `read_write_tiers`, `rgb10a2_srgb`, `shared_exponent_storage`, `snorm_tile_store`, `swizzled_storage`, `textures`, `tile_threadgroups`, `topology_classes` | 185 |
|
||||
| `replaceRegion:mipmapLevel:withBytes:bytesPerRow:` | yes | `argument_encoder_crossings`, `argument_encoders`, `blend_interactions`, `blend_sweeps`, `buffer_tails`, `chroma_pairs`, `color_write_masks`, `compute_encoder_commands`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `fetch_ordered`, `format_footprints`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `nearest_positions`, `pass_sequence_actions`, `pixel_downscales`, `pixel_samplers`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sampler_crossings`, `sampler_filtering`, `snorm_tile_store`, `srgb_fetch`, `swizzled_storage`, `textures`, `tile_threadgroups`, `two_plane_samples` | 334 |
|
||||
| `newTextureViewWithPixelFormat:` | yes | `texture_views` | 4 |
|
||||
| `newTextureViewWithPixelFormat:textureType:levels:slices:` | yes | `compressed_moves`, `compressed_views`, `texture_views` | 32 |
|
||||
| `newSharedTextureHandle` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
| `newTextureViewWithDescriptor:` | yes | `texture_views` | 4 |
|
||||
| `swizzle` | yes | `shared_creator_formats`, `texture_views` | 6 |
|
||||
| `newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `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`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 312 |
|
||||
| `newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `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`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 314 |
|
||||
|
||||
### `MTLTextureBinding`
|
||||
|
||||
@@ -2019,25 +2020,25 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised
|
||||
|
||||
| item | exercised | families | cases Metal ran |
|
||||
|---|---|---|---|
|
||||
| `MTLTextureDescriptor` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 875 |
|
||||
| `texture2DDescriptorWithPixelFormat:width:height:mipmapped:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_fills`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points` | 707 |
|
||||
| `MTLTextureDescriptor` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 877 |
|
||||
| `texture2DDescriptorWithPixelFormat:width:height:mipmapped:` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_fills`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points` | 709 |
|
||||
| `textureCubeDescriptorWithPixelFormat:size:mipmapped:` | no | — | — |
|
||||
| `textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:` | yes | `blit_encoder_commands`, `buffer_depth_samples`, `buffer_texture_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` | 177 |
|
||||
| `textureType` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 671 |
|
||||
| `pixelFormat` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pass_start_reads`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 374 |
|
||||
| `width` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pass_start_reads`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 374 |
|
||||
| `height` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pass_start_reads`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 374 |
|
||||
| `depth` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 665 |
|
||||
| `mipmapLevelCount` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 665 |
|
||||
| `sampleCount` | yes | `alpha_coverage_pairs`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_creator_formats`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 526 |
|
||||
| `arrayLength` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 665 |
|
||||
| `textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:` | yes | `blit_encoder_commands`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_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` | 179 |
|
||||
| `textureType` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 673 |
|
||||
| `pixelFormat` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pass_start_reads`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 376 |
|
||||
| `width` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pass_start_reads`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 376 |
|
||||
| `height` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pass_start_reads`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 376 |
|
||||
| `depth` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 667 |
|
||||
| `mipmapLevelCount` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 667 |
|
||||
| `sampleCount` | yes | `alpha_coverage_pairs`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `shared_creator_formats`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 528 |
|
||||
| `arrayLength` | yes | `alpha_coverage_pairs`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 667 |
|
||||
| `resourceOptions` | no | — | — |
|
||||
| `cpuCacheMode` | no | — | — |
|
||||
| `storageMode` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 875 |
|
||||
| `storageMode` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 877 |
|
||||
| `hazardTrackingMode` | no | — | — |
|
||||
| `usage` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 875 |
|
||||
| `allowGPUOptimizedContents` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 368 |
|
||||
| `swizzle` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_texture_blits`, `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`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 312 |
|
||||
| `usage` | yes | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_target_clears`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_render_chains`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `heap_metal_sizes`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `pixel_downscales`, `pixel_samplers`, `primitive_type_crossings`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `resource_facts`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_creator_formats`, `shared_exponent_storage`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` | 877 |
|
||||
| `allowGPUOptimizedContents` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `denormal_word_fetches`, `etc_textures`, `extended_swizzles`, `format_copies`, `format_footprints`, `fresh_contents`, `heap_metal_sizes`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_creator_formats`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_descriptor_pairs`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 370 |
|
||||
| `swizzle` | yes | `astc_textures`, `blit_encoder_commands`, `border_swizzles`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `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`, `read_write_tiers`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 314 |
|
||||
|
||||
### `MTLTextureReferenceType`
|
||||
|
||||
@@ -2190,9 +2191,9 @@ An item the suite's Metal leg calls whose coverage-map status is not implemented
|
||||
| item | status | note | families |
|
||||
|---|---|---|---|
|
||||
| `MTL4ComputeCommandEncoder` `stages` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `visible_tables` |
|
||||
| `MTL4LibraryDescriptor` `source` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `binary_archives`, `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `dynamic_libraries`, `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 | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `dynamic_libraries`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` |
|
||||
| `MTLDevice` `newTextureWithDescriptor:iosurface:plane:` | out of scope | IOSurface is the consumer's; the runtime offers the plane over a no-copy buffer | `alpha_coverage_pairs`, `blend_interactions`, `blend_sweeps`, `buffer_target_clears`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `topology_classes`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` |
|
||||
| `MTL4LibraryDescriptor` `source` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `binary_archives`, `blit_encoder_commands`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `compressed_blits`, `compressed_moves`, `compressed_views`, `dynamic_libraries`, `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 | `alpha_coverage_pairs`, `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `binary_archives`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `border_swizzles`, `buffer_blits`, `buffer_depth_samples`, `buffer_tails`, `buffer_texture_blits`, `buffer_textures`, `chroma_pairs`, `color_write_masks`, `compressed_blits`, `compressed_decode`, `compressed_moves`, `compressed_views`, `compute_encoder_commands`, `compute_heap_residency`, `compute_pipeline_descriptors`, `compute_render_chains`, `compute_threadgroups`, `denormal_word_fetches`, `depth_resolve_pairs`, `depth_stencil_space`, `depth_texel_reads`, `discard_hoist`, `draw_state_changes`, `dynamic_libraries`, `etc_textures`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_planes`, `extended_range_targets`, `extended_range_two_planes`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `fragment_imageblock_reflection`, `frame_chains`, `fresh_contents`, `function_bindings`, `function_facts`, `half_output_blends`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `layered_targets`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_partial_barriers`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_bytes`, `pass_sequence_actions`, `pass_start_reads`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_limits`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `read_write_tiers`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `sampler_crossings`, `sampler_filtering`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `stage_in_unread`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `swizzled_storage`, `tessellation_crossings`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `topology_classes`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_attribute_strides`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` |
|
||||
| `MTLDevice` `newTextureWithDescriptor:iosurface:plane:` | out of scope | IOSurface is the consumer's; the runtime offers the plane over a no-copy buffer | `alpha_coverage_pairs`, `blend_interactions`, `blend_sweeps`, `buffer_tails`, `buffer_target_clears`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_gamut`, `extended_range_gradients`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `layered_targets`, `pass_attachment_pairs`, `pass_bound_pairs`, `pass_sequence_actions`, `pass_start_reads`, `primitive_type_crossings`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `stencil_resolve_pairs`, `stencil_resolved_sample`, `topology_classes`, `visibility`, `wide_points`, `ycbcr_gathers`, `ycbcr_minify`, `ycbcr_textures` |
|
||||
|
||||
## Called, attributed to no family
|
||||
|
||||
|
||||
+5
-5
@@ -205,7 +205,7 @@ Columns:
|
||||
| `FeatureEnable` | A feature a created device would enable that the runtime's feature chain has no member for, or whose structure no enabled extension exposes | devices without the feature or extension it names | `ours` | 1: `crates/metal2vulkan-runtime/src/enables.rs (of)` | `none`: device creation with a feature the runtime's chain lacks |
|
||||
| `ExtensionEnable` | An extension a created device would enable that the device lists under none of the names the runtime knows for it | devices without the feature or extension it names | `ours` | 1: `crates/metal2vulkan-runtime/src/enables.rs (of)` | `none`: device creation with an extension under an unknown name |
|
||||
| `Render` | Render pipelines, passes and draws | every device (runtime piece not built) | `ours` | 27: `crates/metal2vulkan-runtime/src/attachment_stand_in.rs (check_copies)`, `crates/metal2vulkan-runtime/src/attachment_stand_in.rs (stand_in_as, 2 sites)` (+19) | `system`: render pass, resolve and attachment forms not built (20 sites: see the appendix) |
|
||||
| `TexelsPastBufferLength` | A texture over a buffer whose texels run past the buffer's length, which Metal makes over bytes its buffer's allocation has past the length (a 2D... | every device (runtime piece not built) | `ours` | 2: `crates/metal2vulkan-runtime/src/buffer_texture.rs (refusal_error)`, `crates/metal2vulkan-runtime/src/texture/surface_depth.rs (surface_depth_twin)` | `rare`: a texture over a buffer past its length |
|
||||
| `TexelsPastBufferLength` | A texture buffer over a buffer whose texels run past the buffer's length, which Metal makes over bytes its buffer's allocation has past the length... | every device (runtime piece not built) | `ours` | 2: `crates/metal2vulkan-runtime/src/buffer_texture.rs (refusal_error)`, `crates/metal2vulkan-runtime/src/texture/surface_depth.rs (surface_depth_twin)` | `rare`: a texture over a buffer past its length |
|
||||
| `OverlappingSurfaceRows` | A texture of an IOSurface plane (`Buffer::new_texture_with_iosurface_plane`, the stand-in for `newTextureWithDescriptor:iosurface:plane:`) whose... | every device (runtime piece not built) | `ours` | 4: `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_texels_rows_copy)`, `crates/metal2vulkan-runtime/src/blit_texture.rs (buffer_into_texture)` (+2) | `rare`: an IOSurface plane whose rows overlap |
|
||||
| `MemorylessSurfacePlane` | A texture of an IOSurface plane (`Buffer::new_texture_with_iosurface_plane`, the stand-in for `newTextureWithDescriptor:iosurface:plane:`) whose... | every device (runtime piece not built) | `ours` | 1: `crates/metal2vulkan-runtime/src/buffer_texture.rs (refusal_error)` | `rare`: a memoryless texture over an IOSurface plane |
|
||||
| `SurfacePlaneShape` | A texture over a plane of an IOSurface with planes (`Buffer::new_texture_with_iosurface_plane`, the stand-in for... | every device (runtime piece not built) | `ours` | 1: `crates/metal2vulkan-runtime/src/buffer_texture.rs (refusal_error)` | `rare`: a texture over an IOSurface plane past one 2D image of its rows |
|
||||
@@ -353,7 +353,7 @@ Columns:
|
||||
| `MaxCommandBufferCount` | A command queue's `maxCommandBufferCount` of zero | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max: Metal's command queue creation asserts "invalid descriptor.maxCommandBufferCount value 0", with and without API validation | 2: `crates/metal2vulkan-runtime/src/queue.rs (new_command_queue_unshared)`, `crates/metal2vulkan-runtime/src/queue.rs (new_command_queue_with_max_command_buffer_count)` | `-` |
|
||||
| `Texture` | A texture descriptor Metal stops (`Invalid`), or plain Metal answers nil for (`Nil`) | every device (a public call's own check of its arguments) | `delegated`: TextureProblem, section 9 | 7: `crates/metal2vulkan-runtime/src/buffer_texture.rs (make_texture_over)`, `crates/metal2vulkan-runtime/src/texture.rs (image_error)` (+3) | `-` |
|
||||
| `TextureView` | A texture view Metal stops, or a use of a texture its usage does not allow | every device (a public call's own check of its arguments) | `delegated`: ViewProblem, section 9 | 6: `crates/metal2vulkan-runtime/src/texture.rs (subview, 2 sites)`, `crates/metal2vulkan-runtime/src/texture.rs (view, 2 sites)` (+1) | `-` |
|
||||
| `Copy` | A texture copy Metal stops | every device (a public call's own check of its arguments) | `delegated`: CopyProblem, section 9 | 23: `crates/metal2vulkan-runtime/src/blit_texture.rs (buffer_into_texture)`, `crates/metal2vulkan-runtime/src/blit_texture.rs (check_slice_level)` (+15) | `-` |
|
||||
| `Copy` | A texture copy Metal stops | every device (a public call's own check of its arguments) | `delegated`: CopyProblem, section 9 | 25: `crates/metal2vulkan-runtime/src/blit_texture.rs (buffer_into_texture)`, `crates/metal2vulkan-runtime/src/blit_texture.rs (check_slice_level)` (+17) | `-` |
|
||||
| `Mipmap` | A `generate_mipmaps` Metal stops | every device (a public call's own check of its arguments) | `delegated`: MipmapProblem, section 9 | 1: `crates/metal2vulkan-runtime/src/blit_texture.rs (mipmaps)` | `-` |
|
||||
| `BufferTexture` | A texture over a buffer plain Metal itself refuses | every device (a public call's own check of its arguments) | `delegated`: BufferTextureProblem, section 9 | 3: `crates/metal2vulkan-runtime/src/buffer_texture.rs (refusal_error, 2 sites)`, `crates/metal2vulkan-runtime/src/capabilities.rs (minimum_linear_texture_alignment_for_pixel_format)` | `-` |
|
||||
| `RenderPass` | A render pass descriptor, or a render encoder's late store action, Metal stops | every device (a public call's own check of its arguments) | `delegated`: RenderPassProblem, section 9 | 15: `crates/metal2vulkan-runtime/src/rate_mapped_pass.rs (check_descriptor)`, `crates/metal2vulkan-runtime/src/rate_mapped_pass.rs (of)` (+8) | `-` |
|
||||
@@ -439,7 +439,7 @@ Columns:
|
||||
| `ViewProblem::SliceCount` | A slice count the view's type does not take | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1: plain Metal asserts "newSliceRange.length(2) must equal (1) for textureType (MTLTextureType2D)" | 1: `crates/metal2vulkan-runtime/src/view_plan.rs (check_view)` | `-` |
|
||||
| `ViewProblem::BufferSlices` | More than one slice of a 2D array over a buffer | every device (a public call's own check of its arguments) | `metal-measured`: an M3 Max and an M4: Metal asserts `sliceRange.length == 1` on such a view, plain and validated | 1: `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
|
||||
| `ViewProblem::SwizzledViewOfNoUsage` | A view with a swizzle of a texture whose usage is none (a texture made with Apple's private usage 0x8 alone) | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M4: Metal asserts `_usage != MTLTextureUsageUnknown` on such a view, plain and validated | 1: `crates/metal2vulkan-runtime/src/view_plan.rs (check_view)` | `-` |
|
||||
| `CopyProblem::CpuAccessPrivate` | `replaceRegion` or `getBytes` of a private texture | every device (a public call's own check of its arguments) | `metal-takes`: an M4, macOS 27.0.1: plain Metal copies a private texture of up to 8 KiB as a shared one, so the refusal reaches past it; most of 16 KiB and more end the process | 4: `crates/metal2vulkan-runtime/src/buffer_texture.rs (bytes)`, `crates/metal2vulkan-runtime/src/copy_plan.rs (plan_host_copy)` (+2) | `-` |
|
||||
| `CopyProblem::CpuAccessPrivate` | `replaceRegion` or `getBytes` of a private texture | every device (a public call's own check of its arguments) | `metal-takes`: an M4, macOS 27.0.1: plain Metal copies a private texture of up to 8 KiB as a shared one, so the refusal reaches past it; most of 16 KiB and more end the process | 6: `crates/metal2vulkan-runtime/src/buffer_texture.rs (bytes)`, `crates/metal2vulkan-runtime/src/buffer_texture.rs (past_runs)` (+4) | `-` |
|
||||
| `CopyProblem::Region` | A level or slice past the texture, or a region past its level (a compressed region past the level's last block) | every device (a public call's own check of its arguments) | `unknown`: plain Metal's answer for a blit level, slice or region past the texture is unmeasured | 10: `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_levels_copy)`, `crates/metal2vulkan-runtime/src/blit_plan.rs (source_region, 2 sites)` (+6) | `-` |
|
||||
| `CopyProblem::Offset` | A buffer offset that is not a multiple of the copy unit, of a blit whose plain Metal answer is not measured | every device (a public call's own check of its arguments) | `unknown`: plain Metal's answer for a buffer offset off the copy unit of these blits is not measured | 2: `crates/metal2vulkan-runtime/src/blit_plan.rs (check_layout)`, `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_block_order_copy)` | `-` |
|
||||
| `CopyProblem::BytesPerRow` | A `bytesPerRow` that is not a multiple of the copy unit, or that does not cover a row, where plain Metal's answer is undefined or not measured | every device (a public call's own check of its arguments) | `unknown`: undefined or unmeasured by the shapes listed above — Metal's writes race where the rows overlap — and no run on record names a device or release | 5: `crates/metal2vulkan-runtime/src/blit_plan.rs (check_layout)`, `crates/metal2vulkan-runtime/src/blit_plan.rs (placed_rows, 2 sites)` (+2) | `-` |
|
||||
@@ -829,7 +829,7 @@ Each refusal's sites, with the function that builds it.
|
||||
- `invalid::MaxCommandBufferCount`: `crates/metal2vulkan-runtime/src/queue.rs (new_command_queue_unshared)`; `crates/metal2vulkan-runtime/src/queue.rs (new_command_queue_with_max_command_buffer_count)`
|
||||
- `invalid::Texture`: `crates/metal2vulkan-runtime/src/buffer_texture.rs (make_texture_over)`; `crates/metal2vulkan-runtime/src/texture.rs (image_error)`; `crates/metal2vulkan-runtime/src/texture.rs (texture_as)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (planned_heap_texture, 2 sites)`; `crates/metal2vulkan-runtime/src/texture_descriptor.rs (error, 2 sites)`
|
||||
- `invalid::TextureView`: `crates/metal2vulkan-runtime/src/texture.rs (subview, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (view, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (view_error, 2 sites)`
|
||||
- `invalid::Copy`: `crates/metal2vulkan-runtime/src/blit_texture.rs (buffer_into_texture)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (check_slice_level)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_error)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_from_texture_to_buffer)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_texture_slices)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (multisampled_region)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (plan_copy, 2 sites)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (plane_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (region)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (texel_copies)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (bytes)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs (plan, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (copy_error)`; `crates/metal2vulkan-runtime/src/texture.rs (get_bytes)`; `crates/metal2vulkan-runtime/src/texture.rs (host_copy, 5 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (replace)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (contents)`
|
||||
- `invalid::Copy`: `crates/metal2vulkan-runtime/src/blit_texture.rs (buffer_into_texture)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (check_slice_level)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_error)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_from_texture_to_buffer)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_texture_slices)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (multisampled_region)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (plan_copy, 2 sites)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (plane_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (region)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (texel_copies)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (bytes)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (past_runs)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (write_past)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs (plan, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (copy_error)`; `crates/metal2vulkan-runtime/src/texture.rs (get_bytes)`; `crates/metal2vulkan-runtime/src/texture.rs (host_copy, 5 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (replace)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (contents)`
|
||||
- `invalid::Mipmap`: `crates/metal2vulkan-runtime/src/blit_texture.rs (mipmaps)`
|
||||
- `invalid::BufferTexture`: `crates/metal2vulkan-runtime/src/buffer_texture.rs (refusal_error, 2 sites)`; `crates/metal2vulkan-runtime/src/capabilities.rs (minimum_linear_texture_alignment_for_pixel_format)`
|
||||
- `invalid::RenderPass`: `crates/metal2vulkan-runtime/src/rate_mapped_pass.rs (check_descriptor)`; `crates/metal2vulkan-runtime/src/rate_mapped_pass.rs (of)`; `crates/metal2vulkan-runtime/src/render.rs (store_problem)`; `crates/metal2vulkan-runtime/src/render/late_resolve.rs (problem)`; `crates/metal2vulkan-runtime/src/render_pass.rs (2 sites)`; `crates/metal2vulkan-runtime/src/render_pass.rs (check_target)`; `crates/metal2vulkan-runtime/src/render_pass.rs (depth_stencil, 2 sites)`; `crates/metal2vulkan-runtime/src/render_pass.rs (layout, 4 sites)`; `crates/metal2vulkan-runtime/src/resolve.rs (problem)`; `crates/metal2vulkan-runtime/src/sample_positions.rs (problem)`
|
||||
@@ -898,7 +898,7 @@ Each refusal's sites, with the function that builds it.
|
||||
- `subproblem::ViewProblem::SliceCount`: `crates/metal2vulkan-runtime/src/view_plan.rs (check_view)`
|
||||
- `subproblem::ViewProblem::BufferSlices`: `crates/metal2vulkan-runtime/src/texture.rs (view)`
|
||||
- `subproblem::ViewProblem::SwizzledViewOfNoUsage`: `crates/metal2vulkan-runtime/src/view_plan.rs (check_view)`
|
||||
- `subproblem::CopyProblem::CpuAccessPrivate`: `crates/metal2vulkan-runtime/src/buffer_texture.rs (bytes)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (plan_host_copy)`; `crates/metal2vulkan-runtime/src/texture.rs (host_copy)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (contents)`
|
||||
- `subproblem::CopyProblem::CpuAccessPrivate`: `crates/metal2vulkan-runtime/src/buffer_texture.rs (bytes)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (past_runs)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (write_past)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (plan_host_copy)`; `crates/metal2vulkan-runtime/src/texture.rs (host_copy)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (contents)`
|
||||
- `subproblem::CopyProblem::Region`: `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (source_region, 2 sites)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (check_slice_level)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (copy_texture_slices)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (multisampled_region)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (region)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (check_region, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (host_copy)`
|
||||
- `subproblem::CopyProblem::Offset`: `crates/metal2vulkan-runtime/src/blit_plan.rs (check_layout)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_block_order_copy)`
|
||||
- `subproblem::CopyProblem::BytesPerRow`: `crates/metal2vulkan-runtime/src/blit_plan.rs (check_layout)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (placed_rows, 2 sites)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (plan_host_copy)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs (plan)`
|
||||
|
||||
Reference in new issue
Block a user