diff --git a/crates/metal2vulkan-conformance/known-gaps.tsv b/crates/metal2vulkan-conformance/known-gaps.tsv index ec78e2c82..0d4835b4d 100644 --- a/crates/metal2vulkan-conformance/known-gaps.tsv +++ b/crates/metal2vulkan-conformance/known-gaps.tsv @@ -131,3 +131,5 @@ format-footprints-one-plane-ycbcr * refused case/MTLPixelFormatYCBCR8_422_1P/Typ format-footprints-padded-wide-channels * refused case/MTLPixelFormatRGB10A2Unorm_PQ/Type2D/64x64x1/levels-1/samples-1/slices-1/usage-0x1/shared/size-and-align Err(Error::Unsupported("unsupported: Unsupported { feature: Format, needs: NotImplemented, location: None, symbol: Some(\"MTLPixelFormatRGB10A2Unorm_PQ\") }")) The runtime holds no image of the ten padded 10- and 12-bit display formats, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, which Metal answers for every one of them -- is refused `Unsupported(Format, NotImplemented)` out of the translator's format table (crates/metal2vulkan/src/metal/format/mod.rs, the `formats_named_not_held!` and `astc_without_a_vulkan_block!` patterns, whose `repr` is `NotImplemented`). Measured on an Apple M3 Max under macOS 27.0.1, plain Metal, in a throwaway process forked per (format, texture type): Metal answers a size and an alignment for every descriptor of this case, makes a texture of every format in every texture type bar the ones the case's own module records, and takes a host round trip through each. The whole of Metal's answer is in this case's recording, which is what an implementation will be held to. The case STOPS at this first refusal by design: the runtime refuses all 33 formats of the family, so recording a refusal per site and going on would print some 2900 `Refused` rows and need a ledger row for each. So this one row stands for the family, and the open work -- which formats, and what Metal answers for each -- is on the orchestrator's todo list with the measurements. Scoped `*` and not to a venue: the refusal is decided by the format table before any device is consulted, so no device can change it; verified on MoltenVK over this M3 Max (2026-10-24), unverified elsewhere by execution. format-footprints-two-plane-ten-bit * refused case/MTLPixelFormatRGB10A8_2P/Type2D/64x64x1/levels-1/samples-1/slices-1/usage-0x1/shared/size-and-align Err(Error::Unsupported("unsupported: Unsupported { feature: Format, needs: NotImplemented, location: None, symbol: Some(\"MTLPixelFormatRGB10A8_2P\") }")) The runtime holds no image of the four two-plane RGB10A8_2P formats, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, which Metal answers for every one of them -- is refused `Unsupported(Format, NotImplemented)` out of the translator's format table (crates/metal2vulkan/src/metal/format/mod.rs, the `formats_named_not_held!` and `astc_without_a_vulkan_block!` patterns, whose `repr` is `NotImplemented`). Measured on an Apple M3 Max under macOS 27.0.1, plain Metal, in a throwaway process forked per (format, texture type): Metal answers a size and an alignment for every descriptor of this case, makes a texture of every format in every texture type bar the ones the case's own module records, and takes a host round trip through each. The whole of Metal's answer is in this case's recording, which is what an implementation will be held to. The case STOPS at this first refusal by design: the runtime refuses all 33 formats of the family, so recording a refusal per site and going on would print some 2900 `Refused` rows and need a ledger row for each. So this one row stands for the family, and the open work -- which formats, and what Metal answers for each -- is on the orchestrator's todo list with the measurements. Scoped `*` and not to a venue: the refusal is decided by the format table before any device is consulted, so no device can change it; verified on MoltenVK over this M3 Max (2026-10-24), unverified elsewhere by execution. format-footprints-packed-without-textures * refused case/MTLPixelFormatR10Unorm_PACKED/Type2D/64x64x1/levels-1/samples-1/slices-1/usage-0x1/shared/size-and-align Err(Error::Unsupported("unsupported: Unsupported { feature: Format, needs: NotImplemented, location: None, symbol: Some(\"MTLPixelFormatR10Unorm_PACKED\") }")) The runtime holds no image of R10Unorm_PACKED and RG10Unorm_PACKED, whose texture Metal itself refuses, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, which Metal answers for every one of them -- is refused `Unsupported(Format, NotImplemented)` out of the translator's format table (crates/metal2vulkan/src/metal/format/mod.rs, the `formats_named_not_held!` and `astc_without_a_vulkan_block!` patterns, whose `repr` is `NotImplemented`). Measured on an Apple M3 Max under macOS 27.0.1, plain Metal, in a throwaway process forked per (format, texture type): Metal answers a size and an alignment for every descriptor of this case, makes a texture of every format in every texture type bar the ones the case's own module records, and takes a host round trip through each. The whole of Metal's answer is in this case's recording, which is what an implementation will be held to. The case STOPS at this first refusal by design: the runtime refuses all 33 formats of the family, so recording a refusal per site and going on would print some 2900 `Refused` rows and need a ledger row for each. So this one row stands for the family, and the open work -- which formats, and what Metal answers for each -- is on the orchestrator's todo list with the measurements. Scoped `*` and not to a venue: the refusal is decided by the format table before any device is consulted, so no device can change it; verified on MoltenVK over this M3 Max (2026-10-24), unverified elsewhere by execution. +indirect-commands-bind-count-limit Apple M3 Max refused case/encoded/command/1/1-setKernelBuffer Err(Error::Invalid("invalid use of set_kernel_buffer: IndexOutOfRange { index: 2, limit: 2 }")) The runtime refuses setKernelBuffer:offset:atIndex: at an index at or past the buffer's maxKernelBufferBindCount, Error::Invalid(IndexOutOfRange) out of IndirectCommandBuffer::set_buffer (crates/metal2vulkan-runtime/src/indirect_command_buffer.rs, the `slot >= limit` test), while plain Metal takes the call and keeps the binding. Measured on this M3 Max (macOS 27.0.1) by this row's own recording: a buffer of maxKernelBufferBindCount 2 took a binding at index 2 and at index 4 with no error, and its size still read 3 commands. Metal's own API validation does stop both ("index(2) must be < 2.\nindex(4) must be < 2."), which is why the refusal looked right, but plain Metal is the oracle and by the owner's standing rule what Metal allows we must allow. The structural fix is the one the runtime already has for a slot past the 31 the record holds: route `slot >= limit` into write_overflow, which keeps the binding for the getters and binds nothing for a function, instead of returning Err. Closing it regenerates docs/REFUSALS.md and the api_surface table, so it is not this row's to make. The row executes nothing, so no over-long binding reaches a GPU. +indirect-commands-bind-count-limit Apple M3 Max refused case/encoded/command/2/1-setKernelBuffer Err(Error::Invalid("invalid use of set_kernel_buffer: IndexOutOfRange { index: 4, limit: 2 }")) The runtime refuses setKernelBuffer:offset:atIndex: at an index at or past the buffer's maxKernelBufferBindCount, Error::Invalid(IndexOutOfRange) out of IndirectCommandBuffer::set_buffer (crates/metal2vulkan-runtime/src/indirect_command_buffer.rs, the `slot >= limit` test), while plain Metal takes the call and keeps the binding. Measured on this M3 Max (macOS 27.0.1) by this row's own recording: a buffer of maxKernelBufferBindCount 2 took a binding at index 2 and at index 4 with no error, and its size still read 3 commands. Metal's own API validation does stop both ("index(2) must be < 2.\nindex(4) must be < 2."), which is why the refusal looked right, but plain Metal is the oracle and by the owner's standing rule what Metal allows we must allow. The structural fix is the one the runtime already has for a slot past the 31 the record holds: route `slot >= limit` into write_overflow, which keeps the binding for the getters and binds nothing for a function, instead of returning Err. Closing it regenerates docs/REFUSALS.md and the api_surface table, so it is not this row's to make. The row executes nothing, so no over-long binding reaches a GPU. diff --git a/crates/metal2vulkan-conformance/recordings/indirect-commands-bind-count-limit.json b/crates/metal2vulkan-conformance/recordings/indirect-commands-bind-count-limit.json new file mode 100644 index 000000000..b92079676 --- /dev/null +++ b/crates/metal2vulkan-conformance/recordings/indirect-commands-bind-count-limit.json @@ -0,0 +1,309 @@ +{ + "format": 1, + "case": "indirect-commands-bind-count-limit", + "suite_version": 1, + "shaders": [ + { + "fixture": "icb_replay_template.ll", + "entry": "icb_replay_template", + "source_sha256": "fee2985635a8e466a450ee0fe473abdc5faa0694ddcc5b5bdc15d67c10842479" + }, + { + "fixture": "icb_replay_template.air.ll", + "entry": "icb_replay_template", + "source_sha256": "dcfcf642972c3bc8d9d7a93a304adf8aecf78a19cd03e9468a8b3f90dee453c9" + } + ], + "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": "fee2985635a8e466a450ee0fe473abdc5faa0694ddcc5b5bdc15d67c10842479" + } + } + }, + { + "name": "air-typed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "dcfcf642972c3bc8d9d7a93a304adf8aecf78a19cd03e9468a8b3f90dee453c9" + } + } + }, + { + "name": "icb:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "icb:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "3f2dbc9d610f2ceb0f525d47ef4806eca9819c17967eed853abb02725db76491" + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "d17bf5ff99e97d2cb89a433f2ee99c72ebad330516b19fa9c281c43dd0378c03" + } + } + }, + { + "name": "executed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "1785cfc3bc6ac7738e8b38cdccd1af12563c2b9070e07af336a1bf8c0f772b6a" + } + } + } + ] + }, + { + "name": "library", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "size", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "uint": 3 + } + } + } + } + }, + { + "name": "notices", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "set", + "observed": { + "value": { + "nothing": "announced_nothing" + } + } + }, + { + "name": "counts", + "observed": { + "value": { + "fields": {} + } + } + } + ] + } + ] + } + } + } + ], + "validated": { + "stopped": { + "call": "indirect_command_buffer", + "message": "index(2) must be < 2.\nindex(4) must be < 2." + } + } + } + ] +} diff --git a/crates/metal2vulkan-conformance/recordings/indirect-compute-commands-reset-and-ranges.json b/crates/metal2vulkan-conformance/recordings/indirect-compute-commands-reset-and-ranges.json new file mode 100644 index 000000000..41f50de85 --- /dev/null +++ b/crates/metal2vulkan-conformance/recordings/indirect-compute-commands-reset-and-ranges.json @@ -0,0 +1,1661 @@ +{ + "format": 1, + "case": "indirect-compute-commands-reset-and-ranges", + "suite_version": 1, + "shaders": [ + { + "fixture": "icb_replay_template.ll", + "entry": "icb_replay_template", + "source_sha256": "fee2985635a8e466a450ee0fe473abdc5faa0694ddcc5b5bdc15d67c10842479" + }, + { + "fixture": "icb_replay_template.air.ll", + "entry": "icb_replay_template", + "source_sha256": "dcfcf642972c3bc8d9d7a93a304adf8aecf78a19cd03e9468a8b3f90dee453c9" + } + ], + "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": "fee2985635a8e466a450ee0fe473abdc5faa0694ddcc5b5bdc15d67c10842479" + } + } + }, + { + "name": "air-typed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "dcfcf642972c3bc8d9d7a93a304adf8aecf78a19cd03e9468a8b3f90dee453c9" + } + } + }, + { + "name": "reset-sub-range-whole-execution:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "reset-sub-range-whole-execution:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "97b237f1b3650afeecf54ce918f48a29d0260c71de4139858ba6d062b0032906" + } + } + }, + { + "name": "reset-sub-range-whole-execution:ranges", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "de92a5aea9e6905a74386c1b154ebfa5dbb704ac4af1663c0c2bd466c27760c9" + } + } + }, + { + "name": "reset-re-encoded-sub-range:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "reset-re-encoded-sub-range:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "6be735dfc1a0bd54a3d9a3c33bd111949f3686adc48255a8b036b6c36fafad78" + } + } + }, + { + "name": "reset-re-encoded-sub-range:ranges", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "03502d03cf4e674ca6246f0a15bf412e11b3b91203728906e3ac0a78446ab27d" + } + } + }, + { + "name": "empty-range:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "empty-range:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "ad7fc88b4da457e1cdf1d537ed65d49c0ca45b9a392890dad94d3bb954e9a049" + } + } + }, + { + "name": "empty-range:ranges", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "27b16d6aa54df78346a5a3970875799cea357cbd9c825d5a7e0c1273671d4cf3" + } + } + }, + { + "name": "range-ending-at-the-command-count:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "range-ending-at-the-command-count:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "b35d513c6c433388d91b59884fbf48ac536e6de6b68ff404e7d4383266b797b0" + } + } + }, + { + "name": "range-ending-at-the-command-count:ranges", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "9188e46a71551cf9b64ec366e9e44fd72989dcd458f93670901cf0a6b1b74591" + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "d17bf5ff99e97d2cb89a433f2ee99c72ebad330516b19fa9c281c43dd0378c03" + } + } + }, + { + "name": "buffer:out", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "ac4c71356fea45ea2692ac5681f23ebf835f0ea3dea3e67fd58c2d3f8c7bbd8d" + } + } + } + ] + }, + { + "name": "library", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:out", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "reset-sub-range-whole-execution/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "reset-sub-range-whole-execution/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/3", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "reset-sub-range-whole-execution/reset-with-range", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "reset-re-encoded-sub-range/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "reset-re-encoded-sub-range/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "5-reset", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "6-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "7-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "8-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "9-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "10-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/3", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "reset-re-encoded-sub-range/reset-with-range", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "empty-range/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "empty-range/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/3", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "range-ending-at-the-command-count/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "range-ending-at-the-command-count/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/3", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "render", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "program", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "calls", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-executeCommandsInBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-executeCommandsInBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-executeCommandsInBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-executeCommandsInBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "status", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "command-buffer-error", + "observed": { + "value": { + "variant": { + "name": "None", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "reset-sub-range-whole-execution/out", + "observed": { + "value": { + "bytes": "ZwAAAGoAAABtAAAAcAAAAO7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7umwEAAO7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 192 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 48, + "row_pitch": 192, + "rows": 1, + "image_pitch": 192, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "reset-re-encoded-sub-range/out", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u4BAgAADgIAAO7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 192 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 48, + "row_pitch": 192, + "rows": 1, + "image_pitch": 192, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "empty-range/out", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 192 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 48, + "row_pitch": 192, + "rows": 1, + "image_pitch": 192, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "range-ending-at-the-command-count/out", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7umwEAAO7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 192 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 48, + "row_pitch": 192, + "rows": 1, + "image_pitch": 192, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "notices", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "set", + "observed": { + "value": { + "nothing": "announced_nothing" + } + } + }, + { + "name": "counts", + "observed": { + "value": { + "fields": {} + } + } + } + ] + } + ] + } + } + } + ], + "validated": "ran" + } + ] +} diff --git a/crates/metal2vulkan-conformance/recordings/indirect-compute-commands-residency-usage.json b/crates/metal2vulkan-conformance/recordings/indirect-compute-commands-residency-usage.json new file mode 100644 index 000000000..2d133fdc7 --- /dev/null +++ b/crates/metal2vulkan-conformance/recordings/indirect-compute-commands-residency-usage.json @@ -0,0 +1,771 @@ +{ + "format": 1, + "case": "indirect-compute-commands-residency-usage", + "suite_version": 1, + "shaders": [ + { + "fixture": "icb_replay_template.ll", + "entry": "icb_replay_template", + "source_sha256": "fee2985635a8e466a450ee0fe473abdc5faa0694ddcc5b5bdc15d67c10842479" + }, + { + "fixture": "icb_replay_template.air.ll", + "entry": "icb_replay_template", + "source_sha256": "dcfcf642972c3bc8d9d7a93a304adf8aecf78a19cd03e9468a8b3f90dee453c9" + } + ], + "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": "fee2985635a8e466a450ee0fe473abdc5faa0694ddcc5b5bdc15d67c10842479" + } + } + }, + { + "name": "air-typed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "dcfcf642972c3bc8d9d7a93a304adf8aecf78a19cd03e9468a8b3f90dee453c9" + } + } + }, + { + "name": "usage-as-used:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "usage-as-used:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "e0d347f454692546e55c672e32c23c8e7a8d3da13d78142341f7df73623a591c" + } + } + }, + { + "name": "usage-as-used:declared", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "4d945fc00ce436344da6bbbe0924672c7a9059ac1a31ecb61b701be74eca8928" + } + } + }, + { + "name": "usage-crossed:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2eabc39eb6a932ff8294ff3e76704207a90169b9cf3d9962ea772370d5dc64f1" + } + } + }, + { + "name": "usage-crossed:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "38a1c3c513088ae2964283b7a07e2fe14067283e55919cdb382beec65408e609" + } + } + }, + { + "name": "usage-crossed:declared", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "0aeab3c81c9827f1c5fc4ca51d37b5849a4075c91f6b9637b4266e84df408839" + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "d17bf5ff99e97d2cb89a433f2ee99c72ebad330516b19fa9c281c43dd0378c03" + } + } + }, + { + "name": "buffer:out", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2ea3be301e2b2cbc3a911984b5ec65bd381107a87b67dfb2095c26b45dae71ec" + } + } + } + ] + }, + { + "name": "library", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:out", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "usage-as-used/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "usage-as-used/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "usage-crossed/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "usage-crossed/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/2", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setComputePipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setKernelBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-setThreadgroupMemoryLength", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "4-concurrentDispatchThreadgroups", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "render", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "program", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "calls", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-executeCommandsInBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-executeCommandsInBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "status", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "command-buffer-error", + "observed": { + "value": { + "variant": { + "name": "None", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "usage-as-used/out", + "observed": { + "value": { + "bytes": "ZwAAAGoAAABtAAAAcAAAAO7u7u7u7u7u7u7u7u7u7u7NAAAA0gAAANcAAADu7u7u7u7u7u7u7u7u7u7u7u7u7jMBAAA6AQAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u4=" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 128 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 32, + "row_pitch": 128, + "rows": 1, + "image_pitch": 128, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "usage-crossed/out", + "observed": { + "value": { + "bytes": "ZwAAAGoAAABtAAAAcAAAAO7u7u7u7u7u7u7u7u7u7u7NAAAA0gAAANcAAADu7u7u7u7u7u7u7u7u7u7u7u7u7jMBAAA6AQAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u4=" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 128 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 32, + "row_pitch": 128, + "rows": 1, + "image_pitch": 128, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "notices", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "set", + "observed": { + "value": { + "nothing": "announced_nothing" + } + } + }, + { + "name": "counts", + "observed": { + "value": { + "fields": {} + } + } + } + ] + } + ] + } + } + } + ], + "validated": "ran" + } + ] +} diff --git a/crates/metal2vulkan-conformance/recordings/indirect-render-commands-inherited-state.json b/crates/metal2vulkan-conformance/recordings/indirect-render-commands-inherited-state.json new file mode 100644 index 000000000..2be4ace07 --- /dev/null +++ b/crates/metal2vulkan-conformance/recordings/indirect-render-commands-inherited-state.json @@ -0,0 +1,911 @@ +{ + "format": 1, + "case": "indirect-render-commands-inherited-state", + "suite_version": 1, + "shaders": [ + { + "fixture": "icb_render_replay_template.ll", + "entry": "icb_render_replay_template", + "source_sha256": "ca8990a1c89d4a626e001a1f39aa72430a6ff74fde6eb9c7d2eb6d4f35a4e308" + }, + { + "fixture": "icb_render_replay_template.air.ll", + "entry": "icb_render_replay_template", + "source_sha256": "29317c185ddd928f2ccf7ad7d201f8561781a1d30c4489c9279ba9686cbaab21" + } + ], + "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": "ca8990a1c89d4a626e001a1f39aa72430a6ff74fde6eb9c7d2eb6d4f35a4e308" + } + } + }, + { + "name": "air-typed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "29317c185ddd928f2ccf7ad7d201f8561781a1d30c4489c9279ba9686cbaab21" + } + } + }, + { + "name": "own-state:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "710562bd25b7b5ac582878d12cb4d27024615d23d3f5eddc91fffc8ca2030405" + } + } + }, + { + "name": "own-state:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "bba0e88366223454ff02292efb075e6ce0a3a5fa4025c02ffd8a921fe8525eb8" + } + } + }, + { + "name": "inherit-buffers:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "a89b77d10b201fbdeaf4048960c9f1d2666b7678b7afed2c77a982261795930c" + } + } + }, + { + "name": "inherit-buffers:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "52957de75a2a80e3e4a7eaa2363a2c0a45d84abfba1cc63741ad0ad2f45e023a" + } + } + }, + { + "name": "inherit-pipeline-state:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "9522e1af8bfff315ce71e502574ed1b8453219e12af1c0416289e0ea223b4681" + } + } + }, + { + "name": "inherit-pipeline-state:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "9d5db2f15542365d08d04dae41eb3a3f172968133f8e8e6bb6d16da693be3d1f" + } + } + }, + { + "name": "render-pipeline", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "f5c07714205f71d533c6056b6bdfbec92bda9113db897c00b09a53e6fbd4eb8e" + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "d17bf5ff99e97d2cb89a433f2ee99c72ebad330516b19fa9c281c43dd0378c03" + } + } + }, + { + "name": "buffer:out", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "3774f282071bee8df2737a293d403c60c918ab4ba14158394af0a7bef85e199c" + } + } + }, + { + "name": "parent", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "12b0221fced2b16c122dab91332a4408543dcbe1faf09d431160eb3b512b26e0" + } + } + } + ] + }, + { + "name": "library", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:params", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:out", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "own-state/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "own-state/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "own-state/size", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "uint": 2 + } + } + } + } + }, + { + "name": "inherit-buffers/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "inherit-buffers/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "inherit-buffers/size", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "uint": 2 + } + } + } + } + }, + { + "name": "inherit-pipeline-state/command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "inherit-pipeline-state/encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "inherit-pipeline-state/size", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "uint": 2 + } + } + } + } + }, + { + "name": "render", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "program", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "calls", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-renderCommandEncoder", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "status", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "command-buffer-error", + "observed": { + "value": { + "variant": { + "name": "None", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "own-state/segment-0", + "observed": { + "value": { + "bytes": "ZwAAAGoAAABtAAAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "own-state/segment-1", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7uEAAADmAAAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "inherit-buffers/segment-2", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "inherit-buffers/segment-3", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "inherit-pipeline-state/segment-4", + "observed": { + "value": { + "bytes": "ZwAAAGoAAABtAAAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "inherit-pipeline-state/segment-5", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7uEAAADmAAAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "parent-segment", + "observed": { + "value": { + "bytes": "mwEAAKYBAACxAQAA7u7u7scBAADSAQAA7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "tail", + "observed": { + "value": { + "bytes": "7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7g==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 64 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 16, + "row_pitch": 64, + "rows": 1, + "image_pitch": 64, + "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": "indirect_command_buffer", + "message": "Vertex Buffer Validation\nSetting buffers on a indirect command buffer created with inheritBuffers = YES is invalid\nVertex Buffer Validation\nSetting buffers on a indirect command buffer created with inheritBuffers = YES is invalid\nVertex Buffer Validation\nSetting buffers on a indirect command buffer created with inheritBuffers = YES is invalid\nVertex Buffer Validation\nSetting buffers on a indirect command buffer created with inheritBuffers = YES is invalid" + } + } + } + ] +} diff --git a/crates/metal2vulkan-conformance/recordings/indirect-render-commands-patch-draws.json b/crates/metal2vulkan-conformance/recordings/indirect-render-commands-patch-draws.json new file mode 100644 index 000000000..22e5eb344 --- /dev/null +++ b/crates/metal2vulkan-conformance/recordings/indirect-render-commands-patch-draws.json @@ -0,0 +1,454 @@ +{ + "format": 1, + "case": "indirect-render-commands-patch-draws", + "suite_version": 1, + "shaders": [ + { + "fixture": "icb_render_patch_template.ll", + "entry": "icb_render_patch_template", + "source_sha256": "c44e970090b25f5b873cba8c6425b26ae135d6ba0dba314af9ec0e12887ef85d" + }, + { + "fixture": "icb_render_patch_template.air.ll", + "entry": "icb_render_patch_template", + "source_sha256": "a7e3f78449ae36a11f8ac265908dea28063a11216930799a8cdc214845b32abb" + } + ], + "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": "c44e970090b25f5b873cba8c6425b26ae135d6ba0dba314af9ec0e12887ef85d" + } + } + }, + { + "name": "air-typed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "a7e3f78449ae36a11f8ac265908dea28063a11216930799a8cdc214845b32abb" + } + } + }, + { + "name": "icb:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "72feedacb98b0cf6e4ae3468b083382beeb7cace54e64bb7ae214117233f15c1" + } + } + }, + { + "name": "icb:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "a1a38f0ad987178a85870a32caaa7aa135c8820e99a0ffa42c1c97fd3b04da54" + } + } + }, + { + "name": "pipeline:plain", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "290c95e74215e5a306f42eb82320cf0a8704c61812b61bd57227cc0c11d5495e" + } + } + }, + { + "name": "pipeline:indexed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "b856ce311b5a185d62c209f1d7253d0e4551d04916616c951cad75c9df97298a" + } + } + }, + { + "name": "buffer:factors", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "37abee1037e30d5a696df0d229dd50cf3a784a92688ec5e4c2d572dea6649643" + } + } + }, + { + "name": "buffer:control-point-indices", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "245bbd9d484dcf27c714e2690cd6544973de5d54aa9cd82eab23d6046a65faa8" + } + } + }, + { + "name": "buffer:marks", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "56a43ef88ddfcd0f56f7dd973312c0e73d62f59655c01d7b4e59aaa3be8b3fb6" + } + } + }, + { + "name": "pass", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "01f8c989b5717a9b4b08d0fdf5564c54846a15de510a37fd9d46663159b0b41a" + } + } + } + ] + }, + { + "name": "library", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline:plain", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline:indexed", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:factors", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:control-point-indices", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:marks", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-drawPatches", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-drawIndexedPatches", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "size", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "uint": 2 + } + } + } + } + }, + { + "name": "render", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "program", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "calls", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-renderCommandEncoder", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "status", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "command-buffer-error", + "observed": { + "value": { + "variant": { + "name": "None", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "marks", + "observed": { + "value": { + "bytes": "AAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAEAAQAAAAAAAQABAAAAAAABAAEAAAAAAAEAAQAAAAAAAAAAAAAAAAABAAEAAAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAAAAAAABAQEAAAAAAAEBAQAAAAAAAQEBAAAAAAAAAAAAAAAAAAEBAQAAAAAAAQEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEAAAAAAAAAAAAAAAAAAAAAAA==" + }, + "shape": { + "bytes": { + "region": { + "buffer": { + "offset": 0, + "length": 1000 + } + }, + "element": "u32", + "row_offset": 0, + "row_elements": 250, + "row_pitch": 1000, + "rows": 1, + "image_pitch": 1000, + "images": 1, + "gaps": "ignored" + } + } + } + }, + { + "name": "notices", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "set", + "observed": { + "value": { + "nothing": "announced_nothing" + } + } + }, + { + "name": "counts", + "observed": { + "value": { + "fields": {} + } + } + } + ] + } + ] + } + } + } + ], + "validated": "ran" + } + ] +} diff --git a/crates/metal2vulkan-conformance/recordings/indirect-render-commands-under-the-pass-state.json b/crates/metal2vulkan-conformance/recordings/indirect-render-commands-under-the-pass-state.json new file mode 100644 index 000000000..47d7cedc4 --- /dev/null +++ b/crates/metal2vulkan-conformance/recordings/indirect-render-commands-under-the-pass-state.json @@ -0,0 +1,578 @@ +{ + "format": 1, + "case": "indirect-render-commands-under-the-pass-state", + "suite_version": 1, + "shaders": [ + { + "fixture": "tob_renders.ll", + "entry": "tob_solid", + "source_sha256": "41c076b9a59d34aa65706f301ddba9ed60c4ad8f0beae55f2679df50495f8b48" + }, + { + "fixture": "tob_renders.air.ll", + "entry": "tob_solid", + "source_sha256": "62c34fb6d65ce1e8a577788317d44e0dee58bf8b45d4c5bb5e4c2ef1ca9e40bc" + } + ], + "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": "41c076b9a59d34aa65706f301ddba9ed60c4ad8f0beae55f2679df50495f8b48" + } + } + }, + { + "name": "air-typed", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "62c34fb6d65ce1e8a577788317d44e0dee58bf8b45d4c5bb5e4c2ef1ca9e40bc" + } + } + }, + { + "name": "icb:descriptor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "a6747e9756af54e2843d173c9c130d5efef754504a8f205205d26d2c447e7b6e" + } + } + }, + { + "name": "icb:commands", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "9e972fdeb539cca94c4c0cb50d08caae99cb13cd976a8475f1c1e9cd3363fb32" + } + } + }, + { + "name": "render-pipeline", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "7b8950cd34923f6cf148a39b4054d2ed897bf592b025d2b3d31fad9fe18ca3e5" + } + } + }, + { + "name": "target", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "b37fe79ef0c6e58f8ccac69ac526fcb8adaafe38dad7077b0abe11ae78044344" + } + } + }, + { + "name": "buffer:rects", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "e47f32dae59d1dbfd03dde04cf065091d06d2397f0e4421ee197f47b1ef47c25" + } + } + }, + { + "name": "buffer:colors", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "192f48501fb5e0980a009286868af1678c57761d4e0f629735eb79de12d2396c" + } + } + }, + { + "name": "clear", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "feb6dd22be32f58c8d7a160643b56395479641e4a521a4b70e466689f80d7584" + } + } + }, + { + "name": "pass-scissor", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "9731da0ded7ff6ab39f36a5c8a3bd63fe53dcbf7dff0e31390eccd86e9d48288" + } + } + }, + { + "name": "pass-viewport", + "observed": { + "value": "absent", + "digest": { + "kind": "sha256", + "hex": "2a411f7e2b8089883bd05c36a62f50cc3cfc0eb13376da535fe310a3c85fa4ca" + } + } + } + ] + }, + { + "name": "library", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pipeline", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:rects", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "buffer:colors", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "command-buffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "encoded", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "command/0", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setFragmentBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "command/1", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-setRenderPipelineState", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-setVertexBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-setFragmentBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-drawPrimitives", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + } + ] + }, + { + "name": "pass-scissor/target", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pass-scissor/buffer:read-back", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pass-viewport/target", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "pass-viewport/buffer:read-back", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "render", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "program", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "calls", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "0-renderCommandEncoder", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "1-copyFromTextureToBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "2-renderCommandEncoder", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + }, + { + "name": "3-copyFromTextureToBuffer", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "status", + "observed": { + "value": { + "variant": { + "name": "Ok", + "payload": { + "variant": { + "name": "Completed", + "payload": "absent" + } + } + } + } + } + }, + { + "name": "command-buffer-error", + "observed": { + "value": { + "variant": { + "name": "None", + "payload": "absent" + } + } + } + } + ] + }, + { + "name": "pass-scissor/target-texels", + "observed": { + "value": { + "bytes": "BwcHBwcHBwcQQHDIEEBwyKDQ4PCg0ODwBwcHBwcHBwcHBwcHBwcHBxBAcMgQQHDIoNDg8KDQ4PAHBwcHBwcHBwcHBwcHBwcHEEBwyBBAcMig0ODwoNDg8AcHBwcHBwcHBwcHBwcHBwcQQHDIEEBwyKDQ4PCg0ODwBwcHBwcHBwcHBwcHBwcHBxBAcMgQQHDIoNDg8KDQ4PAHBwcHBwcHBwcHBwcHBwcHEEBwyBBAcMig0ODwoNDg8AcHBwcHBwcHBwcHBwcHBwcQQHDIEEBwyKDQ4PCg0ODwBwcHBwcHBwcHBwcHBwcHBxBAcMgQQHDIoNDg8KDQ4PAHBwcHBwcHBw==" + }, + "shape": { + "bytes": { + "region": { + "texture": { + "level": 0, + "slice": 0, + "aspect": "color", + "sample": 0, + "origin": [ + 0, + 0, + 0 + ], + "size": [ + 8, + 8, + 1 + ] + } + }, + "element": "u8", + "row_offset": 0, + "row_elements": 32, + "row_pitch": 32, + "rows": 8, + "image_pitch": 256, + "images": 1, + "gaps": "compared" + } + } + } + }, + { + "name": "pass-viewport/target-texels", + "observed": { + "value": { + "bytes": "BwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBxBAcMgQQHDIEEBwyBBAcMig0ODwoNDg8KDQ4PCg0ODwEEBwyBBAcMgQQHDIEEBwyKDQ4PCg0ODwoNDg8KDQ4PAQQHDIEEBwyBBAcMgQQHDIoNDg8KDQ4PCg0ODwoNDg8BBAcMgQQHDIEEBwyBBAcMig0ODwoNDg8KDQ4PCg0ODwBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBw==" + }, + "shape": { + "bytes": { + "region": { + "texture": { + "level": 0, + "slice": 0, + "aspect": "color", + "sample": 0, + "origin": [ + 0, + 0, + 0 + ], + "size": [ + 8, + 8, + 1 + ] + } + }, + "element": "u8", + "row_offset": 0, + "row_elements": 32, + "row_pitch": 32, + "rows": 8, + "image_pitch": 256, + "images": 1, + "gaps": "compared" + } + } + } + }, + { + "name": "notices", + "observed": { + "value": "absent" + }, + "children": [ + { + "name": "set", + "observed": { + "value": { + "nothing": "announced_nothing" + } + } + }, + { + "name": "counts", + "observed": { + "value": { + "fields": {} + } + } + } + ] + } + ] + } + } + } + ], + "validated": "ran" + } + ] +} diff --git a/crates/metal2vulkan-conformance/src/cases.rs b/crates/metal2vulkan-conformance/src/cases.rs index c0a3e3055..cabd7d185 100644 --- a/crates/metal2vulkan-conformance/src/cases.rs +++ b/crates/metal2vulkan-conformance/src/cases.rs @@ -104,6 +104,7 @@ pub mod heap_facts; pub mod heap_metal_sizes; pub mod host_detach; pub mod host_page_writes; +pub mod indirect_command_depth; pub mod indirect_commands; pub mod indirect_private_types; pub mod int_attributes; @@ -187,6 +188,7 @@ pub fn all() -> Vec> { cases.push(Box::new(case)); } cases.push(Box::new(indirect_private_types::private_type_getters())); + cases.extend(indirect_command_depth::boxed()); cases.extend(indirect_commands::boxed()); for case in math_routines::all() { cases.push(Box::new(case)); diff --git a/crates/metal2vulkan-conformance/src/cases/indirect_command_depth.rs b/crates/metal2vulkan-conformance/src/cases/indirect_command_depth.rs new file mode 100644 index 000000000..893c14a09 --- /dev/null +++ b/crates/metal2vulkan-conformance/src/cases/indirect_command_depth.rs @@ -0,0 +1,2199 @@ +//! What an indirect command buffer's **crossings** answer: the descriptor's inheritance crossed +//! with the state a command sets for itself, a reset range crossed with the range an execution +//! runs, a pass's own scissor crossed with the draws a command makes, a resident set's declared +//! usage crossed with what the commands actually do to the resource, and the two patch draws no +//! case had reached. +//! +//! [`super::indirect_commands`] sweeps the calls one at a time: each of its rows encodes a buffer +//! whose descriptor leaves nothing to the parent encoder, executes every command it holds, and +//! reads the words back. That is the per-value axis, and it is blind by construction to every +//! question of the form *which of two states wins*. Three of those questions decide whether an +//! indirect command buffer works at all: +//! +//! - a buffer that **inherits** a pipeline state or its buffers still lets a command set them, and +//! the execution has to bind the right one; +//! - `resetWithRange:` names a range and `executeCommandsInBuffer:withRange:` names another, and a +//! command is blank only where the first covers it and run only where the second does; +//! - the parent encoder's own render state — a scissor, a viewport — is what an indirect draw +//! rasterizes under, because a render command may not set one +//! ([`crate::indirect_commands`]: the setters end Metal's process on this oracle). +//! +//! Each row below is a crossing rather than a value, so each states **two** settings and reads an +//! answer that only their pair can produce. A row whose cells all answer the same words would be +//! reporting that the two settings are independent, and this module says where that happened +//! rather than leaving the row in: the one crossing measured independent is named in +//! [`RESIDENCY_USAGE`]'s own documentation. +//! +//! | Row | The pair it crosses | +//! |---|---| +//! | [`PATCH_DRAWS`] | the two patch-draw command types, each with its own factors, patch start and instance count | +//! | [`INHERITED_STATE`] | `inheritBuffers` and `inheritPipelineState` against the bindings and the pipeline a command sets for itself | +//! | [`RESET_RANGES`] | `resetWithRange:` against the range an execution runs, and against a command re-encoded after the reset | +//! | [`PASS_SCISSOR`] | the pass's own `setScissorRect:` against the two halves an indirect draw rasterizes | +//! | [`RESIDENCY_USAGE`] | `MTLResourceUsage` as declared against what the commands read and write | +//! +//! # Why none of this can hang or fault +//! +//! Every row is bounded and small: at most six commands a buffer, the largest grid four threads, +//! the largest draw six vertices of two instances, the largest patch draw two patches of one +//! control point at a factor of two, and the one rasterized target 8 by 8. No fixture holds a +//! loop. The three shapes [`super::indirect_commands`] names as dangerous are avoided the same way +//! here, and this module adds two of its own, both on a measurement rather than on caution: +//! +//! - **A command that sets a pipeline on a buffer that inherits one** raises `Invalid` in the +//! runtime and **ends plain Metal's process** (`metal2vulkan_runtime`'s +//! `IndirectComputeCommand::set_compute_pipeline_state`, measured). So no row crosses +//! `inheritPipelineState` with a command's own `setRenderPipelineState:`: the cell cannot be +//! recorded at all, and [`INHERITED_STATE`] names it in its own documentation instead. +//! - **An inherited pipeline state made without `supportIndirectCommandBuffers`** faults the GPU +//! at the executing encoder, so the parent pipeline [`INHERITED_STATE`] binds is made with the +//! flag exactly as the commands' own are. +//! +//! [`BIND_LIMITS`] sets a buffer at an index at and past its descriptor's maximum, which is the +//! one row here whose answer is a **refusal of ours**: plain Metal keeps such a binding for its +//! own getters (`metal2vulkan_runtime`'s `IndirectCommandBuffer::set_buffer`, measured on an +//! M3 Max) where we raise `Invalid`. That row **executes nothing**, so no over-long binding ever +//! reaches a GPU, and the gap it holds visible is listed in `known-gaps.tsv`. + +use crate::allowance::Allowance; +use crate::case::STAGE_VERTEX; +use crate::case::{call, made, Abort, Case, Failure, Handle, Input, MetalSource, Side}; +use crate::fixture::{Fixture, METAL_TEXT, RUNTIME_TEXT}; +use crate::indirect_commands::{ + ComputeCommandStep, EncodedCommand, IcbDescriptor, RenderCommandStep, +}; +use crate::recording::ShaderRef; +use crate::render::{ + ColorState, PassColor, RenderPass, RenderPipelineSpec, RenderStep, RenderWork, ScissorBox, + StageFunction, TargetSpec, TessellationState, VertexLayout, +}; +use crate::transcript::{ + Aspect, ByteLayout, Digest, Element, Gaps, Node, Observed, Region, Sites, Value, +}; +use metal2vulkan::metal::{ + IndirectCommandType, PixelFormat, PrimitiveType, TessellationControlPointIndexType, + TessellationPartitionMode, +}; + +/// The byte every output buffer is filled with before a row runs, so a word no command wrote reads +/// as this rather than as zero: which is what lets a row say that a reset command, a command +/// outside the executed range, or a command whose bindings the execution replaced wrote nothing. +const UNWRITTEN: u8 = 0xee; + +/// The parameter pairs a command binds, one pair a command, each at its own 16-byte offset so a +/// command that bound the wrong offset writes another command's words. +const PARAMS: [[u32; 2]; 6] = [ + [3, 100], + [5, 200], + [7, 300], + [11, 400], + [13, 500], + [17, 600], +]; + +/// Bytes between one command's parameter pair and the next. +const PARAM_STRIDE: u64 = 16; + +/// The parameter buffer's bytes: [`PARAMS`] at [`PARAM_STRIDE`]. +fn params_bytes() -> Vec { + let mut out = vec![0u8; PARAMS.len() * PARAM_STRIDE as usize]; + for (at, pair) in PARAMS.iter().enumerate() { + let start = at * PARAM_STRIDE as usize; + for (word, value) in pair.iter().enumerate() { + out[start + word * 4..start + word * 4 + 4].copy_from_slice(&value.to_le_bytes()); + } + } + out +} + +/// The layout a row's output buffer is read under: the whole buffer as 32-bit words, so a diff +/// names the word that moved. +fn buffer_layout(length: u64) -> ByteLayout { + ByteLayout::buffer(0, length, Element::U32) +} + +/// The sites one buffer's encoding emits: a branch a command, holding what each of its steps +/// answered, named by the step's own Metal selector so a refusal reads as the call we refused. +fn encoding_node( + name: &str, + commands: &[EncodedCommand], + refused: &[Vec>], +) -> Node { + let mut node = Node::branch(name, Vec::new()); + for (at, command) in commands.iter().enumerate() { + let mut steps = Node::branch(format!("command/{at}"), Vec::new()); + let answers = refused.get(at).map(Vec::as_slice).unwrap_or_default(); + for (step, answer) in answers.iter().enumerate() { + steps = steps.with(Node::leaf( + format!("{step}-{}", command.step_call(step)), + Observed::value(match answer { + Some(failure) => failure.recorded(), + None => Value::ok(Value::Absent), + }), + )); + } + node = node.with(steps); + } + node +} + +/// The first refusal `refused` holds, as the site it happened at and the failure. +fn first_refusal( + at_name: &str, + commands: &[EncodedCommand], + refused: &[Vec>], +) -> Option<(String, Failure)> { + for (at, answers) in refused.iter().enumerate() { + for (step, answer) in answers.iter().enumerate() { + if let Some(failure) = answer { + let name = commands.get(at).map_or("call", |c| c.step_call(step)); + return Some(( + format!("{at_name}/command/{at}/{step}-{name}"), + failure.clone(), + )); + } + } + } + None +} + +/// The sites one `Side::render` program's answer emits. +fn program_node(work: &[RenderWork], outcome: &crate::case::PassOutcome) -> Node { + let mut calls = Node::branch("calls", Vec::new()); + for (at, refused) in outcome.refused.iter().enumerate() { + let name = work.get(at).map_or("call", RenderWork::call); + calls = calls.with(Node::leaf( + format!("{at}-{name}"), + Observed::value(match refused { + Some(failure) => failure.recorded(), + None => Value::ok(Value::Absent), + }), + )); + } + Node::branch("program", Vec::new()) + .with(calls) + .with(Node::leaf( + "status", + Observed::value(Value::ok(outcome.status.clone())), + )) + .with(Node::leaf( + "command-buffer-error", + Observed::value(match &outcome.error { + Some(error) => Value::Variant { + name: "Some".to_owned(), + payload: Box::new(error.clone()), + }, + None => Value::unit_variant("None"), + }), + )) +} + +/// The first piece of a program that refused, as the site and the failure. +fn first_refused_piece( + work: &[RenderWork], + outcome: &crate::case::PassOutcome, +) -> Option<(String, Failure)> { + outcome + .refused + .iter() + .enumerate() + .find_map(|(at, refused)| refused.as_ref().map(|failure| (at, failure.clone()))) + .map(|(at, failure)| { + let name = work.get(at).map_or("call", RenderWork::call); + (format!("program/calls/{at}-{name}"), failure) + }) +} + +/// Both committed texts of `fixture`, as a case's shader references. +fn shaders_of(fixture: &'static str, entry: &str) -> Result, String> { + let held = Fixture::new(fixture); + [RUNTIME_TEXT, METAL_TEXT] + .into_iter() + .map(|extension| { + Ok(ShaderRef { + fixture: format!("{fixture}{extension}"), + entry: entry.to_owned(), + source_sha256: crate::sha256_hex(held.text(extension)?.as_bytes()), + }) + }) + .collect() +} + +/// Both committed texts of `fixture`, as a case's inputs. +fn fixture_inputs(fixture: &'static str) -> Result, String> { + let held = Fixture::new(fixture); + Ok(vec![ + Input { + name: "air".to_owned(), + digest: Digest::sha256(held.text(RUNTIME_TEXT)?.as_bytes()), + }, + Input { + name: "air-typed".to_owned(), + digest: Digest::sha256(held.text(METAL_TEXT)?.as_bytes()), + }, + ]) +} + +/// A descriptor's and its commands' own words, as a case's inputs, under `name` so a row that +/// states several buffers feeds each of them to its fingerprint. +fn commands_inputs( + name: &str, + descriptor: &IcbDescriptor, + commands: &[EncodedCommand], +) -> Vec { + let mut words = Vec::new(); + for command in commands { + words.extend(command.words()); + words.push(b'\n'); + } + vec![ + Input::bytes(format!("{name}:descriptor"), &descriptor.words()), + Input::bytes(format!("{name}:commands"), &words), + ] +} + +/// Read `length` bytes of `buffer` from `offset` and emit them at `at` as 32-bit words. +fn read_words( + side: &mut dyn Side, + sites: &mut Sites, + at: &str, + buffer: Handle, + offset: u64, + length: u64, +) -> Result<(), Abort> { + let read = side + .read_buffer(buffer, offset, length as usize) + .map_err(|failure| Abort { + at: at.to_owned(), + failure, + })?; + sites.push(Node::leaf(at, Observed::bytes(read, buffer_layout(length)))); + Ok(()) +} + +// -------------------------------------------------------------------------------------------- +// The patch draws + +/// The name of the row whose commands draw patches, the two `MTLIndirectCommandType` values no +/// case had put to Metal. +pub const PATCH_DRAWS: &str = "indirect-render-commands-patch-draws"; + +/// The owned fixture the patch commands draw: a post-tessellation vertex function of triangle +/// patches of **one** control point and no stage input, which marks every domain point it is +/// called with at that point's cell of its own patch's and instance's 5-by-5 grid. +/// +/// One control point and no stage input is what makes the row cheap and exact: the pipeline needs +/// no vertex attribute, so nothing but the patch draw itself decides what the marks hold, and a +/// mark is idempotent so the answer is the tessellator's point set whatever the invocation count +/// and order. +const PATCH_FIXTURE: &str = "icb_render_patch_template"; + +/// Cells one grid of the fixture's marks holds: a 5-by-5 grid. +const GRID_CELLS: u64 = 25; + +/// Grids the fixture's marks hold: `min(instance, 7) * 8 + min(patch, 7)`, so 64. +const GRIDS: u64 = 64; + +/// Bytes the whole marks buffer takes. +const MARKS_BYTES: u64 = GRIDS * GRID_CELLS * 4; + +/// Words of the marks buffer a row reads back: the first two instances' first two patches, which +/// is every grid either command reaches. Grid `i * 8 + p` lies at word `(i * 8 + p) * 25`, so +/// reading the first 10 grids covers instances 0 and 1 of patches 0 and 1 and nothing a command +/// could reach is left out. +const MARKS_READ_GRIDS: u64 = 10; + +/// The patch count the plain patch draw states, and the one the indexed draw states. +const PLAIN_PATCHES: u32 = 2; + +/// The maximum tessellation factor the row's pipelines clamp to. 4 is above every factor the row +/// states, so no factor of the row is clamped and each one's level is its own number. +const PATCH_MAX_FACTOR: u32 = 4; + +/// The two factor records the row's commands read, as `half` edge and inside factors: a record of +/// all-ones, whose level is 1 and marks a triangle patch's three corners (cells 0, 4 and 20), and +/// a record of all-twos, whose level is 2 and marks those three, the three edge midpoints (cells +/// 2, 10 and 12) and the centre (cell 6). +/// +/// Two levels rather than one is what makes the two commands' answers differ in **shape** and not +/// only in place: a command that read the other's factor record marks three cells where seven +/// belong, or seven where three do. +const PATCH_FACTORS: [[f32; 4]; 2] = [[1.0, 1.0, 1.0, 1.0], [2.0, 2.0, 2.0, 2.0]]; + +/// Bytes one `half` factor record of a triangle patch takes: three edges and one inside factor. +const FACTOR_BYTES: u64 = 8; + +/// The factor buffer's bytes: [`PATCH_FACTORS`] as `half` records, one after the other. +fn patch_factor_bytes() -> Vec { + let mut bytes = Vec::new(); + for record in PATCH_FACTORS { + for factor in record { + bytes.extend(half_bits(factor).to_le_bytes()); + } + } + bytes +} + +/// `value` as the bits of an IEEE `half`, which is the one factor format Metal has +/// (`MTLTessellationFactorFormatHalf`). Only the row's own small whole numbers reach it. +fn half_bits(value: f32) -> u16 { + assert!( + value.is_finite() && value > 0.0, + "a factor of this row is finite and positive: {value}" + ); + let bits = value.to_bits(); + let exponent = ((bits >> 23) & 0xff) as i32 - 127; + let mantissa = bits & 0x007f_ffff; + assert!( + (-14..=15).contains(&exponent), + "a factor of this row is a normal half: {value}" + ); + assert_eq!( + mantissa & 0x0000_1fff, + 0, + "a factor of this row is exact as a half: {value}" + ); + (((exponent + 15) as u16) << 10) | ((mantissa >> 13) as u16) +} + +/// The control-point indices the indexed patch draw reads: one `uint16` a control point, the +/// identity, which is what the fixture's one control point per patch leaves it. +/// +/// The fixture declares no `patch_control_point`, so **no index of this buffer reaches the +/// function**, and the row says so rather than pretending the permutation matters: what it asks of +/// `MTLIndirectCommandTypeDrawIndexedPatches` is that the command encodes, that Metal records it as +/// an indexed patch draw, and that the execution draws its patches and instances. Which control +/// point an index names is [`super::tessellation_sweeps`]'s question, and that family answers it +/// over a fixture with a stage input. +fn control_point_index_bytes() -> Vec { + let mut bytes = Vec::new(); + for index in 0u16..PLAIN_PATCHES as u16 + 2 { + bytes.extend(index.to_le_bytes()); + } + bytes +} + +/// The row's descriptor: both patch-draw types, one vertex buffer (the fixture's `marks`), and +/// nothing inherited, so each command carries its own pipeline, its own binding, its own factors +/// and its own patch range. +fn patch_descriptor() -> IcbDescriptor { + IcbDescriptor { + command_types: IndirectCommandType::DRAW_PATCHES + .union(IndirectCommandType::DRAW_INDEXED_PATCHES), + max_vertex_buffer_bind_count: 1, + ..IcbDescriptor::new() + } +} + +/// The pipeline a patch command holds, under `index_type`: the fixture's post-tessellation vertex +/// function, integer partitioning, rasterization disabled, and `supportIndirectCommandBuffers`. +fn patch_pipeline(index_type: TessellationControlPointIndexType) -> RenderPipelineSpec<'static> { + RenderPipelineSpec::tessellating( + StageFunction::named(PATCH_FIXTURE), + VertexLayout::new(&[], &[]), + TessellationState::new() + .partitioned(TessellationPartitionMode::Integer) + .clamped_to(PATCH_MAX_FACTOR) + .indexed_by(index_type), + ) + .for_indirect_commands() +} + +/// The row that draws patches from an indirect command buffer. +/// +/// # What the two command types answer +/// +/// Command 0 is `MTLIndirectCommandTypeDrawPatches`: two patches from patch 0, one instance, the +/// level-1 factor record. Command 1 is `MTLIndirectCommandTypeDrawIndexedPatches`: one patch from +/// patch **1**, **two** instances, the level-2 record and a control-point index buffer. So the two +/// differ in the command type, the patch start, the patch count, the instance count and the +/// factors at once, and their marks lie in grids no other command of the row reaches: command 0 +/// marks grids 0 and 1 (instance 0, patches 0 and 1) and command 1 marks grids 1 and 9 (instance +/// 0 and 1, patch 1). +/// +/// Grid 1 is reached by **both**, on purpose and without ambiguity: a mark is idempotent and +/// command 0's level-1 cells are a subset of command 1's level-2 cells there, so grid 1 holds the +/// union either way the GPU orders the two. Grid 0 is command 0's alone and grid 9 is command 1's +/// alone, which is what separates them: a command that drew the other's patch range marks a grid +/// the other owns, and a command that read the other's factors marks the wrong count of cells in +/// its own. +pub struct PatchDraws; + +impl PatchDraws { + /// The commands the row encodes. + fn commands( + &self, + plain_pipeline: Handle, + indexed_pipeline: Handle, + marks: Handle, + factors: Handle, + control_points: Handle, + ) -> Vec { + vec![ + EncodedCommand::Render(vec![ + RenderCommandStep::Pipeline(plain_pipeline), + RenderCommandStep::VertexBuffer { + buffer: marks, + offset: 0, + index: 0, + }, + RenderCommandStep::DrawPatches { + control_points: 1, + first: 0, + count: PLAIN_PATCHES, + patch_indices: None, + patch_index_offset: 0, + instances: 1, + base_instance: 0, + factors, + factor_offset: 0, + factor_instance_stride: 0, + }, + ]), + EncodedCommand::Render(vec![ + RenderCommandStep::Pipeline(indexed_pipeline), + RenderCommandStep::VertexBuffer { + buffer: marks, + offset: 0, + index: 0, + }, + RenderCommandStep::DrawIndexedPatches { + control_points: 1, + first: 1, + count: 1, + patch_indices: None, + patch_index_offset: 0, + control_point_indices: control_points, + control_point_index_offset: 0, + instances: 2, + base_instance: 0, + factors, + factor_offset: FACTOR_BYTES, + factor_instance_stride: 0, + }, + ]), + ] + } +} + +impl Case for PatchDraws { + fn name(&self) -> &'static str { + PATCH_DRAWS + } + + fn metal_source(&self) -> MetalSource { + MetalSource::Run + } + + fn allowances(&self) -> Vec { + tessellation_notices() + } + + fn shaders(&self) -> Result, String> { + shaders_of(PATCH_FIXTURE, PATCH_FIXTURE) + } + + fn inputs(&self) -> Result, String> { + let mut inputs = fixture_inputs(PATCH_FIXTURE)?; + let commands = self.commands(Handle(0), Handle(1), Handle(2), Handle(3), Handle(4)); + inputs.extend(commands_inputs("icb", &patch_descriptor(), &commands)); + inputs.push(Input::bytes( + "pipeline:plain", + &patch_pipeline(TessellationControlPointIndexType::None).words(), + )); + inputs.push(Input::bytes( + "pipeline:indexed", + &patch_pipeline(TessellationControlPointIndexType::UInt16).words(), + )); + inputs.push(Input::bytes("buffer:factors", &patch_factor_bytes())); + inputs.push(Input::bytes( + "buffer:control-point-indices", + &control_point_index_bytes(), + )); + inputs.push(Input::bytes( + "buffer:marks", + &vec![0u8; MARKS_BYTES as usize], + )); + inputs.push(Input::bytes("pass", b"no attachment, 1x1 extent")); + Ok(inputs) + } + + fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { + let fixture = Fixture::new(PATCH_FIXTURE); + let loaded = fixture.loaded().map_err(|why| Abort { + at: "library".to_owned(), + failure: Failure::named("FixtureNotRead", why), + })?; + let library = made(sites, "library", side.library(&loaded.source()))?; + let plain = made( + sites, + "pipeline:plain", + side.render_pipeline( + library, + &patch_pipeline(TessellationControlPointIndexType::None), + ), + )?; + let indexed = made( + sites, + "pipeline:indexed", + side.render_pipeline( + library, + &patch_pipeline(TessellationControlPointIndexType::UInt16), + ), + )?; + let factors = made(sites, "buffer:factors", side.buffer(&patch_factor_bytes()))?; + let control_points = made( + sites, + "buffer:control-point-indices", + side.buffer(&control_point_index_bytes()), + )?; + let marks = made( + sites, + "buffer:marks", + side.buffer(&vec![0u8; MARKS_BYTES as usize]), + )?; + + let commands = self.commands(plain, indexed, marks, factors, control_points); + let descriptor = patch_descriptor(); + let encoded = made( + sites, + "command-buffer", + side.indirect_command_buffer(&descriptor, &commands), + )?; + sites.push(encoding_node("encoded", &commands, &encoded.refused)); + if let Some((at, failure)) = first_refusal("encoded", &commands, &encoded.refused) { + return Err(Abort { at, failure }); + } + call( + sites, + "size", + side.indirect_commands_size(encoded.commands), + |size| Value::Uint(*size), + )?; + + let steps = vec![ + RenderStep::UseBuffer { + buffer: factors, + write: false, + stages: STAGE_VERTEX, + }, + RenderStep::UseBuffer { + buffer: control_points, + write: false, + stages: STAGE_VERTEX, + }, + RenderStep::UseBuffer { + buffer: marks, + write: true, + stages: STAGE_VERTEX, + }, + RenderStep::ExecuteCommands { + commands: encoded.commands, + first: 0, + count: commands.len() as u64, + }, + ]; + let work = vec![RenderWork::Pass(RenderPass::sized([1, 1]).drawing(steps))]; + let outcome = call(sites, "render", side.render(&work), |outcome| { + outcome.status.clone() + })?; + sites.push(program_node(&work, &outcome)); + if let Some((at, failure)) = first_refused_piece(&work, &outcome) { + return Err(Abort { at, failure }); + } + read_words( + side, + sites, + "marks", + marks, + 0, + MARKS_READ_GRIDS * GRID_CELLS * 4, + ) + } +} + +/// The notices a tessellating pipeline of ours announces, which every row that draws a patch +/// names. +/// +/// Taken from [`super::tessellation_sweeps`], whose own documentation says why each is named: +/// `tessellation-winding` and `tessellation-factor-edge-cases` are announced unconditionally by +/// the control stage, and `tessellation-triangle-order` and `emulated-tessellation-draws` by the +/// venues whose tessellator is not Apple's or which have no `tessellationShader` at all. None can +/// move a mark, because a mark is a set member and not a position in a triangle stream; they are +/// named because a notice our run announces that no case names is a divergence. +fn tessellation_notices() -> Vec { + [ + metal2vulkan_runtime::Degradation::TessellationWinding, + metal2vulkan_runtime::Degradation::TessellationFactorEdgeCases, + metal2vulkan_runtime::Degradation::TessellationTriangleOrder, + metal2vulkan_runtime::Degradation::EmulatedTessellationDraws, + ] + .into_iter() + .map(|notice| crate::replay::notice_allowance(notice.code())) + .collect() +} + +// -------------------------------------------------------------------------------------------- +// Inheritance crossed with the state a command sets for itself + +/// The name of the row that crosses `inheritBuffers` and `inheritPipelineState` with the bindings +/// and the pipeline a command sets for itself. +pub const INHERITED_STATE: &str = "indirect-render-commands-inherited-state"; + +/// The owned fixture whose rasterization-disabled vertex function writes +/// `params[0] * (vid + 1) + params[1] + 1000 * iid` to `out[16 * iid + vid]`, with `params` at +/// vertex buffer 0 and `out` at vertex buffer 1. A binding that came from the wrong side reads as +/// another segment's words, or as none at all. +const RENDER_FIXTURE: &str = "icb_render_replay_template"; + +/// Words one segment of the inheritance row's output buffer holds: 16, because the fixture indexes +/// `out[16 * iid + vid]`, so one instance's whole row of slots lies inside one segment and a draw +/// of the instance after it cannot leave the segment it was bound at. +const SEGMENT_WORDS: u64 = 16; + +/// Bytes one segment takes. +const SEGMENT_BYTES: u64 = SEGMENT_WORDS * 4; + +/// Segments the inheritance row's output buffer holds: six the commands bind for themselves, one +/// the parent encoder binds, and a tail no draw of the row can reach. +const INHERIT_SEGMENTS: u64 = 8; + +/// Bytes the inheritance row's output buffer takes. +const INHERIT_BYTES: u64 = INHERIT_SEGMENTS * SEGMENT_BYTES; + +/// The segment the parent encoder binds, which every command of an inheriting buffer writes. +const PARENT_SEGMENT: u64 = 6; + +/// The parameter pair the parent encoder binds, whose words no command binds for itself, so a word +/// written from the parent's `params` cannot be mistaken for one written from a command's. +const PARENT_PARAMS: u64 = 3; + +/// Which of the three buffers the row states a leg is. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum Inheritance { + /// `inheritPipelineState` and `inheritBuffers` both off: every command's own pipeline and own + /// bindings, which is the control the other two are read against. + Own, + /// `inheritBuffers` on, with each command still setting the bindings it would have used. + Buffers, + /// `inheritPipelineState` on, so no command sets a pipeline and each still binds its own + /// buffers. + Pipeline, +} + +impl Inheritance { + /// The leg's own site name. + fn site(self) -> &'static str { + match self { + Inheritance::Own => "own-state", + Inheritance::Buffers => "inherit-buffers", + Inheritance::Pipeline => "inherit-pipeline-state", + } + } + + /// The leg's descriptor: draws of primitives, two vertex buffers, and the one field the leg is + /// about. + fn descriptor(self) -> IcbDescriptor { + IcbDescriptor { + command_types: IndirectCommandType::DRAW, + max_vertex_buffer_bind_count: 2, + inherit_buffers: self == Inheritance::Buffers, + inherit_pipeline_state: self == Inheritance::Pipeline, + ..IcbDescriptor::new() + } + } + + /// The two segments the leg's commands bind for themselves. + fn segments(self) -> [u64; 2] { + match self { + Inheritance::Own => [0, 1], + Inheritance::Buffers => [2, 3], + Inheritance::Pipeline => [4, 5], + } + } +} + +/// The two draws every leg's commands make, in order, each writing a different range of slots of +/// whichever segment the execution bound. +/// +/// Three points from vertex 0 and two from vertex **4**: so one command writes slots 0 to 2 and the +/// other slots 4 and 5, and the two are still told apart where they write the **same** segment, +/// which is what an inheriting buffer's execution makes them do. Without that the inheriting leg's +/// two commands would be one answer written twice. +const INHERIT_DRAWS: [RenderCommandStep; 2] = [ + RenderCommandStep::Draw { + primitive: PrimitiveType::Point, + first: 0, + count: 3, + instances: 1, + base_instance: 0, + }, + RenderCommandStep::Draw { + primitive: PrimitiveType::Point, + first: 4, + count: 2, + instances: 1, + base_instance: 0, + }, +]; + +/// The pipeline every command of the row holds and the parent encoder binds: the +/// rasterization-disabled vertex function alone, with `supportIndirectCommandBuffers` — which the +/// **parent's** must carry too, because an inherited state made without it faults Metal's GPU at +/// the executing encoder. +fn inherit_pipeline_spec() -> RenderPipelineSpec<'static> { + let mut spec = RenderPipelineSpec::of(StageFunction::named(RENDER_FIXTURE), None, &[]); + spec.rasterization = false; + spec.support_indirect_command_buffers = true; + spec +} + +/// The commands one leg encodes. +fn inherit_commands( + leg: Inheritance, + pipeline: Handle, + params: Handle, + out: Handle, +) -> Vec { + let segments = leg.segments(); + INHERIT_DRAWS + .iter() + .enumerate() + .map(|(at, draw)| { + let mut steps = Vec::new(); + // A command of a buffer that inherits its pipeline state must set none: the setter + // raises `Invalid` in the runtime and ends plain Metal's process, so the cell that + // crossed the two cannot be recorded and is named in the row's documentation. + if leg != Inheritance::Pipeline { + steps.push(RenderCommandStep::Pipeline(pipeline)); + } + steps.push(RenderCommandStep::VertexBuffer { + buffer: params, + offset: at as u64 * PARAM_STRIDE, + index: 0, + }); + steps.push(RenderCommandStep::VertexBuffer { + buffer: out, + offset: segments[at] * SEGMENT_BYTES, + index: 1, + }); + steps.push(draw.clone()); + EncodedCommand::Render(steps) + }) + .collect() +} + +/// The row that crosses the descriptor's inheritance with the state a command sets for itself. +/// +/// # The three cells, and the one that cannot be recorded +/// +/// Three buffers hold the **same two commands** — same pipeline, same parameter offsets, same +/// draws — and differ only in one field of their descriptors. The parent encoder binds a pipeline, +/// a `params` window no command binds and the segment no command binds, and re-binds all three before each execution, because Metal leaves a +/// render encoder's state undefined after an indirect execution. +/// +/// - **`own-state`** is the control: nothing inherited. Each command's own segment holds its own +/// draw's words, from its own `params`. +/// - **`inherit-buffers`** keeps the same two `setVertexBuffer:` calls. Metal **records** them — +/// its getters answer them — and the execution binds the *encoder's* buffers instead, so the two +/// commands write the parent's segment and their own two segments stay untouched. That is the +/// whole crossing: the per-value axis sets `inheritBuffers` on a buffer it never executes +/// ([`super::indirect_commands::LEFT_RENDER_STATES`]) and reads nothing downstream of it, and a +/// side that let a command's own binding win would pass every row of that axis. +/// - **`inherit-pipeline-state`** sets no pipeline on either command and binds its own buffers, so +/// its answer is `own-state`'s words in its own two segments — produced by a pipeline that was +/// never written into the buffer. A side that did not take the parent's pipeline at execution +/// would write nothing there. +/// +/// The fourth cell of the pair — **a command that sets a pipeline on a buffer that inherits one** — +/// is not here and must not be. The runtime raises `Invalid` +/// (`IndirectCommandBufferProblem::InheritedPipelineState`) and plain Metal **ends its process**, +/// which would end the recorder; the measurement is the runtime's own +/// (`IndirectComputeCommand::set_compute_pipeline_state`'s doc comment, "both end Metal's +/// process"). +pub struct InheritedState; + +/// Every leg of [`InheritedState`], in the order the row executes them. +const INHERIT_LEGS: [Inheritance; 3] = [ + Inheritance::Own, + Inheritance::Buffers, + Inheritance::Pipeline, +]; + +impl Case for InheritedState { + fn name(&self) -> &'static str { + INHERITED_STATE + } + + fn metal_source(&self) -> MetalSource { + MetalSource::Run + } + + fn allowances(&self) -> Vec { + Vec::new() + } + + fn shaders(&self) -> Result, String> { + shaders_of(RENDER_FIXTURE, RENDER_FIXTURE) + } + + fn inputs(&self) -> Result, String> { + let mut inputs = fixture_inputs(RENDER_FIXTURE)?; + for leg in INHERIT_LEGS { + let commands = inherit_commands(leg, Handle(0), Handle(1), Handle(2)); + inputs.extend(commands_inputs(leg.site(), &leg.descriptor(), &commands)); + } + inputs.push(Input::bytes( + "render-pipeline", + &inherit_pipeline_spec().words(), + )); + inputs.push(Input::bytes("buffer:params", ¶ms_bytes())); + inputs.push(Input::bytes( + "buffer:out", + &vec![UNWRITTEN; INHERIT_BYTES as usize], + )); + inputs.push(Input::bytes( + "parent", + format!( + "pipeline, params {PARENT_PARAMS}, out segment {PARENT_SEGMENT}, re-bound before \ + each execution" + ) + .as_bytes(), + )); + Ok(inputs) + } + + fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { + let fixture = Fixture::new(RENDER_FIXTURE); + let loaded = fixture.loaded().map_err(|why| Abort { + at: "library".to_owned(), + failure: Failure::named("FixtureNotRead", why), + })?; + let library = made(sites, "library", side.library(&loaded.source()))?; + let pipeline = made( + sites, + "pipeline", + side.render_pipeline(library, &inherit_pipeline_spec()), + )?; + let params = made(sites, "buffer:params", side.buffer(¶ms_bytes()))?; + let out = made( + sites, + "buffer:out", + side.buffer(&vec![UNWRITTEN; INHERIT_BYTES as usize]), + )?; + + let mut buffers = Vec::new(); + for leg in INHERIT_LEGS { + let commands = inherit_commands(leg, pipeline, params, out); + let descriptor = leg.descriptor(); + let encoded = made( + sites, + &format!("{}/command-buffer", leg.site()), + side.indirect_command_buffer(&descriptor, &commands), + )?; + sites.push(encoding_node( + &format!("{}/encoded", leg.site()), + &commands, + &encoded.refused, + )); + if let Some((at, failure)) = first_refusal( + &format!("{}/encoded", leg.site()), + &commands, + &encoded.refused, + ) { + return Err(Abort { at, failure }); + } + call( + sites, + &format!("{}/size", leg.site()), + side.indirect_commands_size(encoded.commands), + |size| Value::Uint(*size), + )?; + buffers.push((leg, encoded.commands, commands.len() as u64)); + } + + let mut steps = vec![ + RenderStep::UseBuffer { + buffer: params, + write: false, + stages: STAGE_VERTEX, + }, + RenderStep::UseBuffer { + buffer: out, + write: true, + stages: STAGE_VERTEX, + }, + ]; + for (_, commands, count) in &buffers { + // Metal leaves a render encoder's state undefined after an indirect execution, so the + // parent's three bindings are stated again before each one rather than once. + steps.push(RenderStep::Pipeline(pipeline)); + steps.push(RenderStep::VertexBuffer { + buffer: params, + offset: PARENT_PARAMS * PARAM_STRIDE, + index: 0, + }); + steps.push(RenderStep::VertexBuffer { + buffer: out, + offset: PARENT_SEGMENT * SEGMENT_BYTES, + index: 1, + }); + steps.push(RenderStep::ExecuteCommands { + commands: *commands, + first: 0, + count: *count, + }); + } + let work = vec![RenderWork::Pass(RenderPass::sized([1, 1]).drawing(steps))]; + let outcome = call(sites, "render", side.render(&work), |outcome| { + outcome.status.clone() + })?; + sites.push(program_node(&work, &outcome)); + if let Some((at, failure)) = first_refused_piece(&work, &outcome) { + return Err(Abort { at, failure }); + } + for leg in INHERIT_LEGS { + for segment in leg.segments() { + read_words( + side, + sites, + &format!("{}/segment-{segment}", leg.site()), + out, + segment * SEGMENT_BYTES, + SEGMENT_BYTES, + )?; + } + } + read_words( + side, + sites, + "parent-segment", + out, + PARENT_SEGMENT * SEGMENT_BYTES, + SEGMENT_BYTES, + )?; + read_words( + side, + sites, + "tail", + out, + (INHERIT_SEGMENTS - 1) * SEGMENT_BYTES, + SEGMENT_BYTES, + ) + } +} + +// -------------------------------------------------------------------------------------------- +// A reset range crossed with an execution range + +/// The name of the row that crosses `resetWithRange:`, a command's own `reset`, and the range an +/// execution runs. +pub const RESET_RANGES: &str = "indirect-compute-commands-reset-and-ranges"; + +/// The owned fixture an executed compute command dispatches: each thread writes +/// `params[0] * (tid + 1) + params[1]` to `out[tid]` through threadgroup memory, so a command's +/// grid and both its bindings are readable off one word. +const COMPUTE_FIXTURE: &str = "icb_replay_template"; + +/// Words one compute command's output segment holds: eight, which is above the largest grid any +/// command of the row dispatches, so a command that wrote past its own grid reads inside its own +/// segment rather than in the next command's. +const RESET_SEGMENT_WORDS: u64 = 8; + +/// Bytes one compute command's output segment takes. +const RESET_SEGMENT_BYTES: u64 = RESET_SEGMENT_WORDS * 4; + +/// Segments one leg of the row owns: four the four commands bind, one the re-encoded command 1 +/// binds, and a tail no dispatch reaches. +const RESET_SEGMENTS: u64 = 6; + +/// Bytes one leg's output region takes. +const RESET_LEG_BYTES: u64 = RESET_SEGMENTS * RESET_SEGMENT_BYTES; + +/// Commands each leg of the row encodes. +const RESET_COMMANDS: u64 = 4; + +/// The threadgroup length every compute command sets at index 0, in bytes: four words, at or above +/// the largest threadgroup any command dispatches and a multiple of 16, as Metal's encoder +/// requires of a threadgroup length. +const THREADGROUP_BYTES: u32 = 16; + +/// The segment the re-encoded command 1 binds, which no other command of a leg reaches, so its +/// words say the re-encode landed and the original command's segment says the `reset` took. +const REENCODED_SEGMENT: u64 = 4; + +/// The parameter pair the re-encoded command 1 binds, whose words no other command binds. +const REENCODED_PARAMS: u64 = 4; + +/// Which leg of [`ResetRanges`] a buffer is: what it resets, and what range it executes. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum ResetLeg { + /// `resetWithRange:(1, 2)`, then the **whole** buffer executed. The reset's two commands are + /// blank and the two outside it run. + SubRangeWholeExecution, + /// `resetWithRange:(2, 1)`, command 1 reset by its own `reset` and re-encoded differently in + /// the same list, then the range `1..3` executed: the one leg where all three of the reset + /// calls, the re-encode and the execution range meet. + ReEncodedSubRange, + /// No reset, and a range of **no** commands executed from the middle of the buffer. + EmptyRange, + /// No reset, and the range whose end is the buffer's own command count. + TailRange, +} + +impl ResetLeg { + /// The leg's own site name. + fn site(self) -> &'static str { + match self { + ResetLeg::SubRangeWholeExecution => "reset-sub-range-whole-execution", + ResetLeg::ReEncodedSubRange => "reset-re-encoded-sub-range", + ResetLeg::EmptyRange => "empty-range", + ResetLeg::TailRange => "range-ending-at-the-command-count", + } + } + + /// The leg's index, which is the output region it owns. + fn at(self) -> u64 { + match self { + ResetLeg::SubRangeWholeExecution => 0, + ResetLeg::ReEncodedSubRange => 1, + ResetLeg::EmptyRange => 2, + ResetLeg::TailRange => 3, + } + } + + /// The `resetWithRange:` the leg makes on the host, as `(first, count)`, or `None`. + fn reset(self) -> Option<(u64, u64)> { + match self { + ResetLeg::SubRangeWholeExecution => Some((1, 2)), + ResetLeg::ReEncodedSubRange => Some((2, 1)), + ResetLeg::EmptyRange | ResetLeg::TailRange => None, + } + } + + /// The range the leg executes, as `(first, count)`. + fn executed(self) -> (u64, u64) { + match self { + ResetLeg::SubRangeWholeExecution => (0, RESET_COMMANDS), + ResetLeg::ReEncodedSubRange => (1, 2), + ResetLeg::EmptyRange => (2, 0), + ResetLeg::TailRange => (RESET_COMMANDS - 1, 1), + } + } + + /// Whether the leg re-encodes command 1 after its own `reset`. + fn re_encodes(self) -> bool { + self == ResetLeg::ReEncodedSubRange + } +} + +/// Every leg of [`ResetRanges`]. +const RESET_LEGS: [ResetLeg; 4] = [ + ResetLeg::SubRangeWholeExecution, + ResetLeg::ReEncodedSubRange, + ResetLeg::EmptyRange, + ResetLeg::TailRange, +]; + +/// The grids the four commands of a leg dispatch, in order: four different counts of words, so a +/// command that ran another's grid writes a different count of words at a different place. +const RESET_GRIDS: [[u32; 3]; RESET_COMMANDS as usize] = + [[4, 1, 1], [3, 1, 1], [2, 1, 1], [1, 1, 1]]; + +/// The row's descriptor: dispatches of threadgroups, two kernel buffers, one threadgroup length, +/// nothing inherited. +fn reset_descriptor() -> IcbDescriptor { + IcbDescriptor { + command_types: IndirectCommandType::CONCURRENT_DISPATCH, + max_kernel_buffer_bind_count: 2, + max_kernel_threadgroup_memory_bind_count: 1, + ..IcbDescriptor::new() + } +} + +/// The commands one leg encodes, over the parameter buffer and the output buffer. +fn reset_commands( + leg: ResetLeg, + pipeline: Handle, + params: Handle, + out: Handle, +) -> Vec { + let base = leg.at() * RESET_LEG_BYTES; + let bind = |at: u64, segment: u64, grid: [u32; 3]| { + vec![ + ComputeCommandStep::Pipeline(pipeline), + ComputeCommandStep::KernelBuffer { + buffer: params, + offset: at * PARAM_STRIDE, + index: 0, + }, + ComputeCommandStep::KernelBuffer { + buffer: out, + offset: base + segment * RESET_SEGMENT_BYTES, + index: 1, + }, + ComputeCommandStep::ThreadgroupMemoryLength { + length: THREADGROUP_BYTES, + index: 0, + }, + ComputeCommandStep::DispatchThreadgroups { + groups: [1, 1, 1], + threads: grid, + }, + ] + }; + (0..RESET_COMMANDS) + .map(|at| { + let mut steps = bind(at, at, RESET_GRIDS[at as usize]); + if leg.re_encodes() && at == 1 { + // The command is taken back after it was encoded and then encoded again, at + // another parameter window, another segment and another grid: so its answer says + // which of the two encodings the execution ran, and a side that kept the first + // writes the segment the `reset` was supposed to blank. + steps.push(ComputeCommandStep::Reset); + steps.extend(bind(REENCODED_PARAMS, REENCODED_SEGMENT, [2, 1, 1])); + } + EncodedCommand::Compute(steps) + }) + .collect() +} + +/// The row that crosses the two calls that blank a command with the range an execution runs. +/// +/// # The four legs, and what only their pairs can see +/// +/// Four buffers hold the **same four commands**, each dispatching its own grid into its own +/// segment of its own leg's region, and differ only in what they reset and what range they run: +/// +/// - **`reset-sub-range-whole-execution`**: `resetWithRange:(1, 2)` and then every command run. +/// Segments 0 and 3 hold their commands' words and segments 1 and 2 are untouched. This is the +/// cell the per-value axis cannot reach: [`super::indirect_commands::COMPUTE_RESET`] resets a +/// range too, and executes the whole buffer as well, so a side that widened a reset range to the +/// whole buffer would blank everything there and still be reporting "reset works". +/// - **`reset-re-encoded-sub-range`**: `resetWithRange:(2, 1)`, command 1 taken back by its own +/// `reset` and encoded again at another window, another segment and another grid, and the range +/// `1..3` run. Only the re-encoded segment holds words: command 0 and command 3 are outside the +/// range, command 2 is blank, and command 1's first encoding was taken back. +/// - **`empty-range`**: a range of **no** commands from the middle of the buffer. Nothing is +/// written anywhere, which is the one answer a side that treated a zero length as "all of them" +/// cannot give. +/// - **`range-ending-at-the-command-count`**: the last command alone, the range whose end is the +/// buffer's own size. +/// +/// The falsification these four were written for is one **only a pair** can see: widen +/// `resetWithRange:` to start at command 0. `reset-sub-range-whole-execution` loses segment 0 and +/// `reset-re-encoded-sub-range` does **not move at all** — its execution range never reaches +/// command 0 — so which leg sees the bug is decided by the execution range and by nothing else. +pub struct ResetRanges; + +impl Case for ResetRanges { + fn name(&self) -> &'static str { + RESET_RANGES + } + + fn metal_source(&self) -> MetalSource { + MetalSource::Run + } + + fn allowances(&self) -> Vec { + Vec::new() + } + + fn shaders(&self) -> Result, String> { + shaders_of(COMPUTE_FIXTURE, COMPUTE_FIXTURE) + } + + fn inputs(&self) -> Result, String> { + let mut inputs = fixture_inputs(COMPUTE_FIXTURE)?; + for leg in RESET_LEGS { + let commands = reset_commands(leg, Handle(0), Handle(1), Handle(2)); + inputs.extend(commands_inputs(leg.site(), &reset_descriptor(), &commands)); + let (first, count) = leg.executed(); + inputs.push(Input::bytes( + format!("{}:ranges", leg.site()), + format!( + "reset {:?}, executed {first}..{}", + leg.reset(), + first + count + ) + .as_bytes(), + )); + } + inputs.push(Input::bytes("buffer:params", ¶ms_bytes())); + inputs.push(Input::bytes( + "buffer:out", + &vec![UNWRITTEN; (RESET_LEGS.len() as u64 * RESET_LEG_BYTES) as usize], + )); + Ok(inputs) + } + + fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { + let fixture = Fixture::new(COMPUTE_FIXTURE); + let loaded = fixture.loaded().map_err(|why| Abort { + at: "library".to_owned(), + failure: Failure::named("FixtureNotRead", why), + })?; + let library = made(sites, "library", side.library(&loaded.source()))?; + let pipeline = made( + sites, + "pipeline", + side.compute_pipeline_for_commands(library, COMPUTE_FIXTURE, None), + )?; + let params = made(sites, "buffer:params", side.buffer(¶ms_bytes()))?; + let bytes = (RESET_LEGS.len() as u64 * RESET_LEG_BYTES) as usize; + let out = made(sites, "buffer:out", side.buffer(&vec![UNWRITTEN; bytes]))?; + + let mut work = Vec::new(); + for leg in RESET_LEGS { + let commands = reset_commands(leg, pipeline, params, out); + let encoded = made( + sites, + &format!("{}/command-buffer", leg.site()), + side.indirect_command_buffer(&reset_descriptor(), &commands), + )?; + sites.push(encoding_node( + &format!("{}/encoded", leg.site()), + &commands, + &encoded.refused, + )); + if let Some((at, failure)) = first_refusal( + &format!("{}/encoded", leg.site()), + &commands, + &encoded.refused, + ) { + return Err(Abort { at, failure }); + } + if let Some((first, count)) = leg.reset() { + call( + sites, + &format!("{}/reset-with-range", leg.site()), + side.reset_indirect_commands(encoded.commands, first, count), + |_| Value::Absent, + )?; + } + let (first, count) = leg.executed(); + work.push(RenderWork::ComputeCommands { + commands: encoded.commands, + first, + count, + used: vec![(params, false), (out, true)], + }); + } + let outcome = call(sites, "render", side.render(&work), |outcome| { + outcome.status.clone() + })?; + sites.push(program_node(&work, &outcome)); + if let Some((at, failure)) = first_refused_piece(&work, &outcome) { + return Err(Abort { at, failure }); + } + for leg in RESET_LEGS { + read_words( + side, + sites, + &format!("{}/out", leg.site()), + out, + leg.at() * RESET_LEG_BYTES, + RESET_LEG_BYTES, + )?; + } + Ok(()) + } +} + +// -------------------------------------------------------------------------------------------- +// The pass's own render state crossed with the draws a command makes + +/// The name of the row that crosses the pass's own scissor and viewport with the two halves an +/// indirect render command rasterizes. +pub const PASS_SCISSOR: &str = "indirect-render-commands-under-the-pass-state"; + +/// The owned fixture whose `tob_rect` draws a rectangle from a buffer's two corners and whose +/// `tob_solid` returns a colour from a buffer. +const DRAW_FIXTURE: &str = "tob_renders"; + +/// The target's side in texels, and its format: a format whose codes survive a store unchanged, so +/// every texel the row compares is exact. +const DRAWN_SIDE: u32 = 8; +const DRAWN_FORMAT: PixelFormat = PixelFormat::RGBA8Unorm; + +/// Bytes one texel of [`DRAWN_FORMAT`] takes. +const DRAWN_TEXEL: u32 = 4; + +/// The clear the pass loads its target with: a code neither command's colour holds, so a texel no +/// command reached reads as this. +const DRAWN_CLEAR: u8 = 7; + +/// The two rectangles the commands draw, as `tob_rect` takes them: the two clip-space corners +/// `(x, y)` and `(z, w)`. The left half and the right half, so which command drew which column is +/// unambiguous. +const RECTS: [[f32; 4]; 2] = [[-1.0, -1.0, 0.0, 1.0], [0.0, -1.0, 1.0, 1.0]]; + +/// The two colours the commands' fragment buffers hold, each channel a whole code over 255 so the +/// store is exact, and every channel of each different from the other's and from the clear. +const COLORS: [[u8; 4]; 2] = [[16, 64, 112, 200], [160, 208, 224, 240]]; + +/// Bytes between one command's `float4` and the next, in both the rectangle and the colour buffer. +const FLOAT4_STRIDE: u64 = 16; + +/// The rectangle buffer's bytes: [`RECTS`], one `float4` each. +fn rect_bytes() -> Vec { + RECTS + .iter() + .flat_map(|rect| { + rect.iter() + .flat_map(|edge| edge.to_le_bytes()) + .collect::>() + }) + .collect() +} + +/// The colour buffer's bytes: [`COLORS`], one `float4` each, each channel its code over 255. +fn color_bytes() -> Vec { + COLORS + .iter() + .flat_map(|color| { + color + .iter() + .flat_map(|code| (f32::from(*code) / 255.0).to_le_bytes()) + .collect::>() + }) + .collect() +} + +/// The clear colour, as the pass takes it. +fn drawn_clear() -> [f64; 4] { + [f64::from(DRAWN_CLEAR) / 255.0; 4] +} + +/// The scissor the first leg's pass sets: four columns from column 2, the full height. It crosses +/// **both** commands — the left half is columns 0 to 3 and the right half columns 4 to 7 — so one +/// rectangle is enough to say that each command was clipped and that neither was dropped. +const PASS_SCISSOR_BOX: ScissorBox = ScissorBox::new(2, 0, 4, DRAWN_SIDE as u64); + +/// The viewport the second leg's pass sets: the full width, four rows from row 2. The two +/// rectangles span the whole of clip space, so the viewport is what decides which rows they cover +/// and the answer names the rows rather than the columns the scissor names. +fn pass_viewport() -> crate::render::ViewportRect { + crate::render::ViewportRect::new([0.0, 2.0], [f64::from(DRAWN_SIDE), 4.0]) +} + +/// The row's descriptor: draws of primitives, one vertex buffer and one fragment buffer, nothing +/// inherited. +fn drawn_descriptor() -> IcbDescriptor { + IcbDescriptor { + command_types: IndirectCommandType::DRAW, + max_vertex_buffer_bind_count: 1, + max_fragment_buffer_bind_count: 1, + ..IcbDescriptor::new() + } +} + +/// The one colour attachment the row's pipeline carries. +const DRAWN_COLOR: [Option; 1] = [Some(ColorState::new(DRAWN_FORMAT))]; + +/// The pipeline the row's commands hold: `tob_rect` and `tob_solid` over one attachment, with +/// `supportIndirectCommandBuffers`. +fn drawn_pipeline_spec() -> RenderPipelineSpec<'static> { + RenderPipelineSpec::new("tob_rect", "tob_solid", &DRAWN_COLOR).for_indirect_commands() +} + +/// The two commands the row encodes: one a rectangle, each binding its own `float4` of the two +/// buffers, so a command that bound the wrong offset draws the other's rectangle or colour. +/// +/// Neither holds a barrier, unlike [`super::indirect_commands::RENDER_DRAWN`]'s: the two +/// rectangles cover disjoint columns, so the order is immaterial, and leaving the barrier out keeps +/// this row's answer free of the `render-pass-split` notice that row announces — which is what lets +/// the pass state here be compared with nothing loosened. +fn drawn_commands(pipeline: Handle, rects: Handle, colors: Handle) -> Vec { + (0..RECTS.len() as u64) + .map(|at| { + EncodedCommand::Render(vec![ + RenderCommandStep::Pipeline(pipeline), + RenderCommandStep::VertexBuffer { + buffer: rects, + offset: at * FLOAT4_STRIDE, + index: 0, + }, + RenderCommandStep::FragmentBuffer { + buffer: colors, + offset: at * FLOAT4_STRIDE, + index: 0, + }, + RenderCommandStep::Draw { + primitive: PrimitiveType::Triangle, + first: 0, + count: 6, + instances: 1, + base_instance: 0, + }, + ]) + }) + .collect() +} + +/// The layout a target is read under: one row of the layout a row of texels, one element a +/// channel, so a diff names the pixel and the channel. +fn drawn_layout() -> ByteLayout { + let row_pitch = DRAWN_TEXEL * DRAWN_SIDE; + ByteLayout { + region: Region::Texture { + level: 0, + slice: 0, + aspect: Aspect::Color, + sample: 0, + origin: [0, 0, 0], + size: [DRAWN_SIDE, DRAWN_SIDE, 1], + }, + element: Element::U8, + row_offset: 0, + row_elements: row_pitch, + row_pitch, + rows: DRAWN_SIDE, + image_pitch: row_pitch * DRAWN_SIDE, + images: 1, + gaps: Gaps::Compared, + } +} + +/// Which of the two pass states a leg sets. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum PassState { + /// `setScissorRect:` of [`PASS_SCISSOR_BOX`], which clips the columns. + Scissor, + /// `setViewports:count:` of one [`pass_viewport`], which moves the rows. + Viewport, +} + +impl PassState { + fn site(self) -> &'static str { + match self { + PassState::Scissor => "pass-scissor", + PassState::Viewport => "pass-viewport", + } + } + + /// The step the pass states before it executes the commands. + fn step(self) -> RenderStep { + match self { + PassState::Scissor => RenderStep::Scissor(PASS_SCISSOR_BOX), + PassState::Viewport => RenderStep::Viewport(pass_viewport()), + } + } +} + +/// Both legs of [`PassStateCommands`]. +const PASS_STATES: [PassState; 2] = [PassState::Scissor, PassState::Viewport]; + +/// The row that crosses the pass's own render state with the draws an indirect command makes. +/// +/// # Why it is a crossing and not a value +/// +/// A render command **may not set a scissor, a viewport or any other render state**: every one of +/// those setters raises `APINotSupported` and ends Metal's process on this oracle +/// ([`crate::indirect_commands`]), so the vocabulary has no step for them. The consequence is +/// exactly the question this row asks: an indirect draw's scissor and viewport can only be the +/// **parent encoder's**, and an implementation that reset them when it took the commands' own +/// state, or that ran the draws outside its own pass instance, would answer a whole target where +/// a clipped one belongs. +/// +/// Nothing on the per-value axis reaches it. `setScissorRect:` and `setViewport:` are compared by +/// [`super::render_state`] over the encoder's own draws, and an indirect draw is compared by +/// [`super::indirect_commands::RENDER_DRAWN`] under a pass that sets neither. This row is their +/// product: the same two commands as that row's, under a pass that sets one. +/// +/// Both legs read every texel of their own 8-by-8 target: +/// +/// - **`pass-scissor`** sets four columns from column 2. Columns 2 and 3 take command 0's colour, +/// columns 4 and 5 command 1's, and columns 0, 1, 6 and 7 stay at the clear. One rectangle +/// clipping both commands is what says neither was dropped and neither escaped. +/// - **`pass-viewport`** sets the full width and four rows from row 2. The rectangles span the +/// whole of clip space, so rows 2 to 5 hold the two colours in their own halves and rows 0, 1, 6 +/// and 7 stay at the clear — a different axis of the same question, and one a scissor cannot +/// answer, since a viewport *maps* the draw where a scissor *discards* it. +pub struct PassStateCommands; + +impl Case for PassStateCommands { + fn name(&self) -> &'static str { + PASS_SCISSOR + } + + fn metal_source(&self) -> MetalSource { + MetalSource::Run + } + + fn allowances(&self) -> Vec { + // A normalized store our side may round in the shader where the device's own conversion is + // not Metal's, which is what `RENDER_DRAWN` measured on lavapipe and not on the M3 Max. + // Named because a notice our run announces that no case names is a divergence; it loosens + // no texel, and every texel of this row is still compared exactly. + vec![crate::replay::notice_allowance( + metal2vulkan_runtime::Degradation::ShaderColorConversion.code(), + )] + } + + fn shaders(&self) -> Result, String> { + shaders_of(DRAW_FIXTURE, "tob_solid") + } + + fn inputs(&self) -> Result, String> { + let mut inputs = fixture_inputs(DRAW_FIXTURE)?; + let commands = drawn_commands(Handle(0), Handle(1), Handle(2)); + inputs.extend(commands_inputs("icb", &drawn_descriptor(), &commands)); + inputs.push(Input::bytes( + "render-pipeline", + &drawn_pipeline_spec().words(), + )); + inputs.push(Input::bytes( + "target", + &TargetSpec::plain(DRAWN_FORMAT, [DRAWN_SIDE, DRAWN_SIDE]).words(), + )); + inputs.push(Input::bytes("buffer:rects", &rect_bytes())); + inputs.push(Input::bytes("buffer:colors", &color_bytes())); + inputs.push(Input::bytes( + "clear", + format!("{DRAWN_CLEAR} in every channel").as_bytes(), + )); + inputs.push(Input::bytes("pass-scissor", &PASS_SCISSOR_BOX.words())); + inputs.push(Input::bytes("pass-viewport", &pass_viewport().words())); + Ok(inputs) + } + + fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { + let fixture = Fixture::new(DRAW_FIXTURE); + let loaded = fixture.loaded().map_err(|why| Abort { + at: "library".to_owned(), + failure: Failure::named("FixtureNotRead", why), + })?; + let library = made(sites, "library", side.library(&loaded.source()))?; + let pipeline = made( + sites, + "pipeline", + side.render_pipeline(library, &drawn_pipeline_spec()), + )?; + let rects = made(sites, "buffer:rects", side.buffer(&rect_bytes()))?; + let colors = made(sites, "buffer:colors", side.buffer(&color_bytes()))?; + let texels = (DRAWN_SIDE * DRAWN_SIDE * DRAWN_TEXEL) as usize; + + let commands = drawn_commands(pipeline, rects, colors); + let encoded = made( + sites, + "command-buffer", + side.indirect_command_buffer(&drawn_descriptor(), &commands), + )?; + sites.push(encoding_node("encoded", &commands, &encoded.refused)); + if let Some((at, failure)) = first_refusal("encoded", &commands, &encoded.refused) { + return Err(Abort { at, failure }); + } + + let mut targets = Vec::new(); + let mut reads = Vec::new(); + let mut work = Vec::new(); + for state in PASS_STATES { + let target = made( + sites, + &format!("{}/target", state.site()), + side.target(&TargetSpec::plain(DRAWN_FORMAT, [DRAWN_SIDE, DRAWN_SIDE])), + )?; + let read_back = made( + sites, + &format!("{}/buffer:read-back", state.site()), + side.buffer(&vec![0; texels]), + )?; + targets.push(target); + reads.push(read_back); + let steps = vec![ + RenderStep::UseBuffer { + buffer: rects, + write: false, + stages: STAGE_VERTEX, + }, + RenderStep::UseBuffer { + buffer: colors, + write: false, + stages: crate::case::STAGE_FRAGMENT, + }, + state.step(), + RenderStep::ExecuteCommands { + commands: encoded.commands, + first: 0, + count: commands.len() as u64, + }, + ]; + work.push(RenderWork::Pass( + RenderPass::clearing(vec![PassColor::cleared(target, drawn_clear())]) + .drawing(steps), + )); + work.push(RenderWork::ReadTexture { + texture: target, + into: read_back, + offset: 0, + row_pitch: DRAWN_TEXEL * DRAWN_SIDE, + size: [DRAWN_SIDE, DRAWN_SIDE], + }); + } + let outcome = call(sites, "render", side.render(&work), |outcome| { + outcome.status.clone() + })?; + sites.push(program_node(&work, &outcome)); + if let Some((at, failure)) = first_refused_piece(&work, &outcome) { + return Err(Abort { at, failure }); + } + for (state, read_back) in PASS_STATES.into_iter().zip(reads) { + let read = side + .read_buffer(read_back, 0, texels) + .map_err(|failure| Abort { + at: format!("{}/target", state.site()), + failure, + })?; + sites.push(Node::leaf( + format!("{}/target-texels", state.site()), + Observed::bytes(read, drawn_layout()), + )); + } + Ok(()) + } +} + +// -------------------------------------------------------------------------------------------- +// The resident set's declared usage crossed with what the commands do + +/// The name of the row that crosses `MTLResourceUsage` as declared with what an indirect command's +/// kernel reads and writes. +pub const RESIDENCY_USAGE: &str = "indirect-compute-commands-residency-usage"; + +/// Commands the residency row encodes. +const USAGE_COMMANDS: u64 = 3; + +/// Which way round a leg declares the two buffers. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum Declared { + /// `MTLResourceUsageRead` for the buffer the kernels read and + /// `MTLResourceUsageRead | MTLResourceUsageWrite` for the one they write: the declaration a + /// program would make, and the control the other leg is read against. + Matching, + /// The two the other way round: the written buffer declared **read-only**, and the read buffer + /// declared writable. + Crossed, +} + +impl Declared { + fn site(self) -> &'static str { + match self { + Declared::Matching => "usage-as-used", + Declared::Crossed => "usage-crossed", + } + } + + /// The leg's index, which is the output region it owns. + fn at(self) -> u64 { + match self { + Declared::Matching => 0, + Declared::Crossed => 1, + } + } + + /// `(params, out)` as the leg declares them, each `true` for + /// `MTLResourceUsageRead | MTLResourceUsageWrite`. + fn usage(self) -> (bool, bool) { + match self { + Declared::Matching => (false, true), + Declared::Crossed => (true, false), + } + } +} + +/// Both legs of [`ResidencyUsage`]. +const DECLARATIONS: [Declared; 2] = [Declared::Matching, Declared::Crossed]; + +/// Bytes one leg's output region takes: one segment a command and a tail no dispatch reaches. +const USAGE_LEG_BYTES: u64 = (USAGE_COMMANDS + 1) * RESET_SEGMENT_BYTES; + +/// The commands one leg encodes: three dispatches, each over its own parameter window and its own +/// segment of its own leg's region. +fn usage_commands( + leg: Declared, + pipeline: Handle, + params: Handle, + out: Handle, +) -> Vec { + let base = leg.at() * USAGE_LEG_BYTES; + (0..USAGE_COMMANDS) + .map(|at| { + EncodedCommand::Compute(vec![ + ComputeCommandStep::Pipeline(pipeline), + ComputeCommandStep::KernelBuffer { + buffer: params, + offset: at * PARAM_STRIDE, + index: 0, + }, + ComputeCommandStep::KernelBuffer { + buffer: out, + offset: base + at * RESET_SEGMENT_BYTES, + index: 1, + }, + ComputeCommandStep::ThreadgroupMemoryLength { + length: THREADGROUP_BYTES, + index: 0, + }, + ComputeCommandStep::DispatchThreadgroups { + groups: [1, 1, 1], + threads: RESET_GRIDS[at as usize], + }, + ]) + }) + .collect() +} + +/// The row that crosses the usage a resident resource is declared under with what the commands +/// actually do to it. +/// +/// # Why both ways round +/// +/// A command's buffer bindings are addresses, so Metal tracks nothing for them and the executing +/// encoder has to say which resources the commands' functions reach (`useResource:usage:`). What +/// it *also* says is a usage, and the question no per-value row asks is whether that usage is a +/// **promise Metal keeps us to** or a hint: an `MTLResourceUsageRead` declaration over a buffer the +/// commands write is the shape a program gets wrong, and the owner's standing ruling is that a +/// read-only GPU write is **dropped, never refused**, on every driver. +/// +/// Two legs hold the same three dispatches over their own regions, and differ only in the +/// declaration: +/// +/// - **`usage-as-used`** declares `Read` for the parameter buffer and `Read | Write` for the output +/// buffer: the matching declaration, and the control. +/// - **`usage-crossed`** declares them the other way round — the written buffer **read-only** and +/// the read buffer writable — and its commands write it anyway. +/// +/// The two legs' words being equal is the **result** this row reports, not a vacuity: it says the +/// declared usage and the access performed are independent on this oracle, and that our side +/// neither drops the write nor refuses the declaration. It is held by execution rather than by +/// discipline: patching our leg to drop a write whose resource was declared read-only parts +/// `usage-crossed` from `usage-as-used` and moves nothing else in the suite. +pub struct ResidencyUsage; + +impl Case for ResidencyUsage { + fn name(&self) -> &'static str { + RESIDENCY_USAGE + } + + fn metal_source(&self) -> MetalSource { + MetalSource::Run + } + + fn allowances(&self) -> Vec { + Vec::new() + } + + fn shaders(&self) -> Result, String> { + shaders_of(COMPUTE_FIXTURE, COMPUTE_FIXTURE) + } + + fn inputs(&self) -> Result, String> { + let mut inputs = fixture_inputs(COMPUTE_FIXTURE)?; + for leg in DECLARATIONS { + let commands = usage_commands(leg, Handle(0), Handle(1), Handle(2)); + inputs.extend(commands_inputs(leg.site(), &reset_descriptor(), &commands)); + let (params, out) = leg.usage(); + inputs.push(Input::bytes( + format!("{}:declared", leg.site()), + format!("params write {params}, out write {out}").as_bytes(), + )); + } + inputs.push(Input::bytes("buffer:params", ¶ms_bytes())); + inputs.push(Input::bytes( + "buffer:out", + &vec![UNWRITTEN; (DECLARATIONS.len() as u64 * USAGE_LEG_BYTES) as usize], + )); + Ok(inputs) + } + + fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { + let fixture = Fixture::new(COMPUTE_FIXTURE); + let loaded = fixture.loaded().map_err(|why| Abort { + at: "library".to_owned(), + failure: Failure::named("FixtureNotRead", why), + })?; + let library = made(sites, "library", side.library(&loaded.source()))?; + let pipeline = made( + sites, + "pipeline", + side.compute_pipeline_for_commands(library, COMPUTE_FIXTURE, None), + )?; + let params = made(sites, "buffer:params", side.buffer(¶ms_bytes()))?; + let bytes = (DECLARATIONS.len() as u64 * USAGE_LEG_BYTES) as usize; + let out = made(sites, "buffer:out", side.buffer(&vec![UNWRITTEN; bytes]))?; + + let mut work = Vec::new(); + for leg in DECLARATIONS { + let commands = usage_commands(leg, pipeline, params, out); + let encoded = made( + sites, + &format!("{}/command-buffer", leg.site()), + side.indirect_command_buffer(&reset_descriptor(), &commands), + )?; + sites.push(encoding_node( + &format!("{}/encoded", leg.site()), + &commands, + &encoded.refused, + )); + if let Some((at, failure)) = first_refusal( + &format!("{}/encoded", leg.site()), + &commands, + &encoded.refused, + ) { + return Err(Abort { at, failure }); + } + let (params_write, out_write) = leg.usage(); + work.push(RenderWork::ComputeCommands { + commands: encoded.commands, + first: 0, + count: commands.len() as u64, + used: vec![(params, params_write), (out, out_write)], + }); + } + let outcome = call(sites, "render", side.render(&work), |outcome| { + outcome.status.clone() + })?; + sites.push(program_node(&work, &outcome)); + if let Some((at, failure)) = first_refused_piece(&work, &outcome) { + return Err(Abort { at, failure }); + } + for leg in DECLARATIONS { + read_words( + side, + sites, + &format!("{}/out", leg.site()), + out, + leg.at() * USAGE_LEG_BYTES, + USAGE_LEG_BYTES, + )?; + } + Ok(()) + } +} + +// -------------------------------------------------------------------------------------------- +// The declared bind-count maximum crossed with the index a command binds + +/// The name of the row that binds a kernel buffer at an index at and past the descriptor's +/// declared maximum. +pub const BIND_LIMITS: &str = "indirect-commands-bind-count-limit"; + +/// The maximum the row's descriptor declares, and so the first index that is not below it. +const DECLARED_BINDS: u32 = 2; + +/// The indices past the declared maximum the row binds, each on a command of its own: the first +/// index at the maximum, and one two past it. +/// +/// Both are small on purpose. A binding past the slot array lands in the **same command's** record +/// on plain Metal ("plain Metal keeps it for its private getters", `metal2vulkan_runtime`'s +/// `IndirectCommandBuffer::set_buffer`), and the row **executes nothing**, so no over-long binding +/// ever reaches a GPU — which is why the indices are 2 and 4 and not something that would reach +/// another command's record or another page. +const OVER_INDICES: [u32; 2] = [DECLARED_BINDS, DECLARED_BINDS + 2]; + +/// The row's descriptor: dispatches of threadgroups and [`DECLARED_BINDS`] kernel buffers. +fn bind_limit_descriptor() -> IcbDescriptor { + IcbDescriptor { + command_types: IndirectCommandType::CONCURRENT_DISPATCH, + max_kernel_buffer_bind_count: DECLARED_BINDS, + max_kernel_threadgroup_memory_bind_count: 1, + ..IcbDescriptor::new() + } +} + +/// The commands the row encodes: one that binds every index below the maximum, and one for each +/// index at or past it. +fn bind_limit_commands(pipeline: Handle, params: Handle) -> Vec { + let mut commands = vec![EncodedCommand::Compute( + (0..DECLARED_BINDS) + .map(|index| ComputeCommandStep::KernelBuffer { + buffer: params, + offset: 0, + index, + }) + .chain([ComputeCommandStep::Pipeline(pipeline)]) + .collect(), + )]; + for index in OVER_INDICES { + commands.push(EncodedCommand::Compute(vec![ + ComputeCommandStep::Pipeline(pipeline), + ComputeCommandStep::KernelBuffer { + buffer: params, + offset: 0, + index, + }, + ])); + } + commands +} + +/// The row that crosses the descriptor's declared bind-count maximum with the index a command +/// binds at. +/// +/// # What it measures, and why it executes nothing +/// +/// `maxKernelBufferBindCount` is the one descriptor field this suite sets everywhere and asks +/// nothing of: every row of [`super::indirect_commands`] declares exactly the count its commands +/// bind, so no recording says what happens at the boundary. Three commands here do: +/// +/// - command 0 binds every index **below** the maximum, which must be taken; +/// - command 1 binds the index **at** it; +/// - command 2 binds one two **past** it. +/// +/// Our side raises `Invalid` (`Problem::IndexOutOfRange`) for both of the last two. Plain Metal +/// takes them and keeps the binding for its own getters, which is the runtime's own measurement on +/// an M3 Max, so the row's verdict is a **refusal of ours** and `known-gaps.tsv` holds it with that +/// measurement beside it. It is listed there rather than written around because, by the owner's +/// standing rule, what Metal allows we must allow; whether the right fix is to keep the binding in +/// an overflow the way the runtime already does past slot 31 is the todo behind the row. +/// +/// The row **makes the buffer and never executes it**. There is no pass, no dispatch and no +/// read-back: what it compares is the encoding's own answers and the buffer's `size`, so a binding +/// that landed somewhere plain Metal does not define is never handed to a GPU. It is also why the +/// two indices are small: the index at the maximum, and one two past it. +pub struct BindLimits; + +impl Case for BindLimits { + fn name(&self) -> &'static str { + BIND_LIMITS + } + + fn metal_source(&self) -> MetalSource { + MetalSource::Run + } + + fn allowances(&self) -> Vec { + Vec::new() + } + + fn shaders(&self) -> Result, String> { + shaders_of(COMPUTE_FIXTURE, COMPUTE_FIXTURE) + } + + fn inputs(&self) -> Result, String> { + let mut inputs = fixture_inputs(COMPUTE_FIXTURE)?; + let commands = bind_limit_commands(Handle(0), Handle(1)); + inputs.extend(commands_inputs("icb", &bind_limit_descriptor(), &commands)); + inputs.push(Input::bytes("buffer:params", ¶ms_bytes())); + inputs.push(Input::bytes("executed", b"nothing")); + Ok(inputs) + } + + fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { + let fixture = Fixture::new(COMPUTE_FIXTURE); + let loaded = fixture.loaded().map_err(|why| Abort { + at: "library".to_owned(), + failure: Failure::named("FixtureNotRead", why), + })?; + let library = made(sites, "library", side.library(&loaded.source()))?; + let pipeline = made( + sites, + "pipeline", + side.compute_pipeline_for_commands(library, COMPUTE_FIXTURE, None), + )?; + let params = made(sites, "buffer:params", side.buffer(¶ms_bytes()))?; + + let commands = bind_limit_commands(pipeline, params); + let encoded = made( + sites, + "command-buffer", + side.indirect_command_buffer(&bind_limit_descriptor(), &commands), + )?; + // Every step's own answer is kept rather than aborted on: the whole point of the row is + // which of the three commands each side took, so a refusal at command 1 must not hide what + // command 2 answered. + sites.push(encoding_node("encoded", &commands, &encoded.refused)); + call( + sites, + "size", + side.indirect_commands_size(encoded.commands), + |size| Value::Uint(*size), + )?; + Ok(()) + } +} + +/// Every row of this module. +pub fn boxed() -> Vec> { + vec![ + Box::new(PatchDraws), + Box::new(InheritedState), + Box::new(ResetRanges), + Box::new(PassStateCommands), + Box::new(ResidencyUsage), + Box::new(BindLimits), + ] +} + +#[cfg(test)] +mod tests { + use super::*; + use std::collections::BTreeSet; + + /// Every row's name is distinct, since a name is what a recording is keyed by. + #[test] + fn every_row_has_its_own_name() { + let names: Vec<&str> = boxed().iter().map(|case| case.name()).collect(); + let unique: BTreeSet<&str> = names.iter().copied().collect(); + assert_eq!( + unique.len(), + names.len(), + "a row's name is repeated: {names:?}" + ); + } + + /// No two legs of the inheritance row bind the same output segment, and none of them binds the + /// parent's: the row's whole answer rests on each cell owning its own words, and a segment + /// shared between two legs would compare one leg's answer twice. + #[test] + fn the_inheritance_legs_own_disjoint_segments() { + let mut seen: BTreeSet = BTreeSet::new(); + for leg in INHERIT_LEGS { + for segment in leg.segments() { + assert!( + seen.insert(segment), + "segment {segment} is bound by two legs" + ); + assert_ne!( + segment, PARENT_SEGMENT, + "a leg binds the segment the parent encoder binds" + ); + assert!( + segment < INHERIT_SEGMENTS - 1, + "a leg binds the tail segment no draw may reach" + ); + } + } + } + + /// No two legs of the reset row and no two of the residency row write into one region, and the + /// re-encoded command's segment is one no original command binds. + #[test] + fn the_reset_and_usage_legs_own_disjoint_regions() { + let legs: BTreeSet = RESET_LEGS.into_iter().map(ResetLeg::at).collect(); + assert_eq!( + legs.len(), + RESET_LEGS.len(), + "two reset legs share a region" + ); + let usage: BTreeSet = DECLARATIONS.into_iter().map(Declared::at).collect(); + assert_eq!( + usage.len(), + DECLARATIONS.len(), + "two residency legs share a region" + ); + const { + assert!( + REENCODED_SEGMENT >= RESET_COMMANDS, + "the re-encoded command binds a segment an original command binds" + ); + assert!( + REENCODED_SEGMENT < RESET_SEGMENTS, + "the re-encoded command binds past its leg's region" + ); + } + } + + /// Every parameter window a command of this module binds is inside the parameter buffer, and + /// the parent's window and the re-encoded command's are windows no other command binds. + #[test] + fn every_parameter_window_is_its_own_and_inside_the_buffer() { + for window in [PARENT_PARAMS, REENCODED_PARAMS] { + assert!( + (window as usize) < PARAMS.len(), + "window {window} is past the parameter buffer" + ); + } + // The commands bind windows 0..RESET_COMMANDS; the parent's and the re-encode's lie above. + const { + assert!(PARENT_PARAMS >= RESET_COMMANDS - 1); + assert!(REENCODED_PARAMS >= RESET_COMMANDS); + assert!(PARENT_PARAMS != REENCODED_PARAMS); + } + } + + /// Each reset leg's executed range lies inside the commands it encodes, and the four legs state + /// four different `(reset, executed)` pairs — which is what makes each one a cell rather than a + /// repeat. + #[test] + fn the_four_reset_legs_are_four_different_pairs() { + let mut pairs = BTreeSet::new(); + for leg in RESET_LEGS { + let (first, count) = leg.executed(); + assert!( + first + count <= RESET_COMMANDS, + "{} runs past its own commands", + leg.site() + ); + if let Some((at, held)) = leg.reset() { + assert!( + at + held <= RESET_COMMANDS, + "{} resets past its own commands", + leg.site() + ); + } + assert!( + pairs.insert((leg.reset(), leg.executed())), + "{} states a pair another leg already states", + leg.site() + ); + } + } + + /// The scissor and the viewport the pass row sets each lie inside its target and each leave + /// texels on **both** sides of themselves, so a leg whose state was dropped reads as a whole + /// target rather than as the same one. + #[test] + fn the_pass_state_clips_strictly_inside_the_target() { + let side = u64::from(DRAWN_SIDE); + const { + assert!(PASS_SCISSOR_BOX.x > 0, "the scissor touches the left edge"); + assert!( + PASS_SCISSOR_BOX.x + PASS_SCISSOR_BOX.width < DRAWN_SIDE as u64, + "the scissor touches the right edge" + ); + } + let viewport = pass_viewport(); + assert!( + viewport.origin[1] > 0.0, + "the viewport touches the top edge" + ); + assert!( + viewport.origin[1] + viewport.size[1] < side as f64, + "the viewport touches the bottom edge" + ); + // The scissor crosses both commands' halves, so one rectangle clips both draws. + let half = side / 2; + assert!( + PASS_SCISSOR_BOX.x < half, + "the scissor misses the left half" + ); + assert!( + PASS_SCISSOR_BOX.x + PASS_SCISSOR_BOX.width > half, + "the scissor misses the right half" + ); + } + + /// The bind-limit row binds at **and** past its declared maximum, and every index it states is + /// small enough to stay inside its own command's record. + #[test] + fn the_bind_limit_row_states_the_boundary_and_one_past_it() { + const { + assert!( + OVER_INDICES[0] == DECLARED_BINDS, + "the row does not state the index at the maximum" + ); + assert!( + OVER_INDICES[1] > DECLARED_BINDS, + "the row does not state an index past the maximum" + ); + } + for index in OVER_INDICES { + assert!( + index < 8, + "index {index} is far enough past the slots to reach another record" + ); + } + } +} diff --git a/crates/metal2vulkan-conformance/src/indirect_commands.rs b/crates/metal2vulkan-conformance/src/indirect_commands.rs index 609398a1d..cf9b3db76 100644 --- a/crates/metal2vulkan-conformance/src/indirect_commands.rs +++ b/crates/metal2vulkan-conformance/src/indirect_commands.rs @@ -30,8 +30,10 @@ //! ([`IcbDescriptor::inherit_depth_stencil_state`] and the five beside it). Metal's own API //! validation stops that creation, which is a fact the recording's second oracle keeps. //! -//! **A patch draw.** `drawPatches:…` and `drawIndexedPatches:…` need a tessellation pipeline, -//! which no side of this suite builds. +//! Nothing else is left out on purpose. A patch draw is **here** +//! ([`RenderCommandStep::DrawPatches`], [`RenderCommandStep::DrawIndexedPatches`]): it needs a +//! tessellation pipeline, which [`crate::render::RenderPipelineSpec::tessellating`] builds, and +//! `supportIndirectCommandBuffers` beside it. use crate::case::{Failure, Handle}; use metal2vulkan::metal::{IndexType, IndirectCommandType, PrimitiveType}; @@ -321,6 +323,53 @@ pub enum RenderCommandStep { base_vertex: i32, base_instance: u32, }, + /// `drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount: + /// baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset: + /// tessellationFactorBufferInstanceStride:`. + /// + /// A command's patch draw carries its **own** factor buffer, where a render encoder's draw + /// reads the one `setTessellationFactorBuffer:offset:instanceStride:` bound before it. So two + /// commands of one buffer can draw the same patches at different factors with no state + /// between them, which is the shape a case over a buffer of patch draws states. + DrawPatches { + control_points: u32, + /// `patchStart`. + first: u32, + /// `patchCount`. + count: u32, + /// `patchIndexBuffer`; `None` is Metal's nil, each patch drawn at its own index. + patch_indices: Option, + patch_index_offset: u64, + instances: u32, + base_instance: u32, + /// `tessellationFactorBuffer`, which the call takes and never nil. + factors: Handle, + factor_offset: u64, + factor_instance_stride: u64, + }, + /// `drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset: + /// controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance: + /// tessellationFactorBuffer:tessellationFactorBufferOffset: + /// tessellationFactorBufferInstanceStride:`: [`RenderCommandStep::DrawPatches`] whose control + /// point `k` of patch `p` is the index at position `p · N + k` of the control-point index + /// buffer, `N` the pipeline's control points. + DrawIndexedPatches { + control_points: u32, + first: u32, + count: u32, + patch_indices: Option, + patch_index_offset: u64, + /// `controlPointIndexBuffer`. Not optional, though Metal's own selector takes nil: + /// `objc2`'s binding of it declares the parameter non-null, so no case of this suite can + /// state the nil that makes the call a plain patch draw. + control_point_indices: Handle, + control_point_index_offset: u64, + instances: u32, + base_instance: u32, + factors: Handle, + factor_offset: u64, + factor_instance_stride: u64, + }, /// `drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:`. DrawMeshThreadgroups { groups: [u32; 3], @@ -356,6 +405,8 @@ impl RenderCommandStep { } RenderCommandStep::Draw { .. } => "drawPrimitives", RenderCommandStep::DrawIndexed { .. } => "drawIndexedPrimitives", + RenderCommandStep::DrawPatches { .. } => "drawPatches", + RenderCommandStep::DrawIndexedPatches { .. } => "drawIndexedPatches", RenderCommandStep::DrawMeshThreadgroups { .. } => "drawMeshThreadgroups", RenderCommandStep::DrawMeshThreads { .. } => "drawMeshThreads", RenderCommandStep::Barrier => "setBarrier", @@ -424,6 +475,52 @@ impl RenderCommandStep { out.extend(base_vertex.to_le_bytes()); out.extend(base_instance.to_le_bytes()); } + RenderCommandStep::DrawPatches { + control_points, + first, + count, + patch_indices, + patch_index_offset, + instances, + base_instance, + factor_offset, + factor_instance_stride, + .. + } => { + out.extend(control_points.to_le_bytes()); + out.extend(first.to_le_bytes()); + out.extend(count.to_le_bytes()); + out.push(u8::from(patch_indices.is_some())); + out.extend(patch_index_offset.to_le_bytes()); + out.extend(instances.to_le_bytes()); + out.extend(base_instance.to_le_bytes()); + out.extend(factor_offset.to_le_bytes()); + out.extend(factor_instance_stride.to_le_bytes()); + } + RenderCommandStep::DrawIndexedPatches { + control_points, + first, + count, + patch_indices, + patch_index_offset, + control_point_index_offset, + instances, + base_instance, + factor_offset, + factor_instance_stride, + .. + } => { + out.extend(control_points.to_le_bytes()); + out.extend(first.to_le_bytes()); + out.extend(count.to_le_bytes()); + out.push(u8::from(patch_indices.is_some())); + out.extend(patch_index_offset.to_le_bytes()); + out.extend(control_point_index_offset.to_le_bytes()); + out.extend(instances.to_le_bytes()); + out.extend(base_instance.to_le_bytes()); + out.extend(factor_offset.to_le_bytes()); + out.extend(factor_instance_stride.to_le_bytes()); + } RenderCommandStep::DrawMeshThreadgroups { groups: first, object, diff --git a/crates/metal2vulkan-conformance/src/metal_side.rs b/crates/metal2vulkan-conformance/src/metal_side.rs index 50e9ef75d..7dce0d1e6 100644 --- a/crates/metal2vulkan-conformance/src/metal_side.rs +++ b/crates/metal2vulkan-conformance/src/metal_side.rs @@ -9218,6 +9218,81 @@ impl MetalSide { ); } } + RenderCommandStep::DrawPatches { + control_points, + first, + count, + patch_indices, + patch_index_offset, + instances, + base_instance, + factors, + factor_offset, + factor_instance_stride, + } => { + let indices = match patch_indices { + Some(handle) => Some(self.held(*handle)?), + None => None, + }; + let factor_buffer = self.held(*factors)?; + // SAFETY: the patch range lies inside the case's own patch index buffer where it + // has one, the factor buffer holds a record for every patch and instance the draw + // reaches, and the pipeline a step before this one set is a tessellating one of + // these control points. + unsafe { + encoder.drawPatches_patchStart_patchCount_patchIndexBuffer_patchIndexBufferOffset_instanceCount_baseInstance_tessellationFactorBuffer_tessellationFactorBufferOffset_tessellationFactorBufferInstanceStride( + *control_points as usize, + *first as usize, + *count as usize, + indices, + *patch_index_offset as usize, + *instances as usize, + *base_instance as usize, + factor_buffer, + *factor_offset as usize, + *factor_instance_stride as usize, + ); + } + } + RenderCommandStep::DrawIndexedPatches { + control_points, + first, + count, + patch_indices, + patch_index_offset, + control_point_indices, + control_point_index_offset, + instances, + base_instance, + factors, + factor_offset, + factor_instance_stride, + } => { + let indices = match patch_indices { + Some(handle) => Some(self.held(*handle)?), + None => None, + }; + let points = self.held(*control_point_indices)?; + let factor_buffer = self.held(*factors)?; + // SAFETY: as the plain patch draw's, and the control-point index buffer holds an + // index of the pipeline's own type for every control point the patches reach. + unsafe { + encoder.drawIndexedPatches_patchStart_patchCount_patchIndexBuffer_patchIndexBufferOffset_controlPointIndexBuffer_controlPointIndexBufferOffset_instanceCount_baseInstance_tessellationFactorBuffer_tessellationFactorBufferOffset_tessellationFactorBufferInstanceStride( + *control_points as usize, + *first as usize, + *count as usize, + indices, + *patch_index_offset as usize, + points, + *control_point_index_offset as usize, + *instances as usize, + *base_instance as usize, + factor_buffer, + *factor_offset as usize, + *factor_instance_stride as usize, + ); + } + } RenderCommandStep::DrawMeshThreadgroups { groups, object, diff --git a/crates/metal2vulkan-conformance/src/runtime_side.rs b/crates/metal2vulkan-conformance/src/runtime_side.rs index 32e296c23..d1161cdf0 100644 --- a/crates/metal2vulkan-conformance/src/runtime_side.rs +++ b/crates/metal2vulkan-conformance/src/runtime_side.rs @@ -985,6 +985,68 @@ impl<'a> RuntimeSide<'a> { i64::from(*base_vertex), u64::from(*base_instance), ), + RenderCommandStep::DrawPatches { + control_points, + first, + count, + patch_indices, + patch_index_offset, + instances, + base_instance, + factors, + factor_offset, + factor_instance_stride, + } => { + let indices = match patch_indices { + Some(handle) => Some(self.held(*handle)?), + None => None, + }; + encoder.draw_patches( + u64::from(*control_points), + u64::from(*first), + u64::from(*count), + indices, + *patch_index_offset, + u64::from(*instances), + u64::from(*base_instance), + self.held(*factors)?, + *factor_offset, + *factor_instance_stride, + ) + } + RenderCommandStep::DrawIndexedPatches { + control_points, + first, + count, + patch_indices, + patch_index_offset, + control_point_indices, + control_point_index_offset, + instances, + base_instance, + factors, + factor_offset, + factor_instance_stride, + } => { + let indices = match patch_indices { + Some(handle) => Some(self.held(*handle)?), + None => None, + }; + encoder.draw_indexed_patches( + u64::from(*control_points), + u64::from(*first), + u64::from(*count), + indices, + *patch_index_offset, + Some(self.held(*control_point_indices)?), + *control_point_index_offset, + u64::from(*instances), + u64::from(*base_instance), + self.held(*factors)?, + *factor_offset, + *factor_instance_stride, + ) + } RenderCommandStep::DrawMeshThreadgroups { groups, object, diff --git a/docs/CONFORMANCE-COVERAGE.md b/docs/CONFORMANCE-COVERAGE.md index d5b2f90a5..10b00be46 100644 --- a/docs/CONFORMANCE-COVERAGE.md +++ b/docs/CONFORMANCE-COVERAGE.md @@ -14,7 +14,7 @@ The suite reaches Metal through `objc2-metal`, whose Rust name for a binding is Its limits, measured rather than asserted: -- **1471 of 1637 call sites** in the Metal leg resolve to an item of the SDK. 53 of those resolve because only one type in `objc2-metal` binds the name at all, so no typing was needed. +- **1473 of 1639 call sites** in the Metal leg resolve to an item of the SDK. 53 of those resolve because only one type in `objc2-metal` binds the name at all, so no typing was needed. - **2 call sites send a selector `objc2-metal` binds on no Metal type at all**, so they are an item of no Metal container and there is no count for them to cost: `alloc`, `class`, which are `NSObject`'s. - **125 call sites resolve to no item although some Metal type binds the selector**: an instance send whose receiver this could not type, or a message to a class that does not bind the name sent to it. Each sent its selector to exactly one receiver, so each exercised one item; which one is what the typing could not say. **Every one of their selectors is bound by at least one item some other call site credits**, so none of these sites proves an item is missing from the count. That is not a proof that the count is complete: such a site may have sent its selector to a type other than the credited one, and this cannot tell. To rule it out, spell the receiver's type at the call site — a `let` with a type, rather than a pattern binding or an inferred one — and this re-derives with the item credited to the case that calls it. - **0 call sites typed to a receiver that does not bind the selector sent to it.** The generator fails rather than writing this document if any does, which is what keeps the typing from quietly counting the wrong item. @@ -34,16 +34,16 @@ Its limits, measured rather than asserted: | implemented Metal items | 957 | | of those, unreachable: `objc2-metal` binds no name for them | 3 | | so reachable by some case | 954 | -| of the reachable, exercised by the suite's Metal leg | 783 | -| of the reachable, not exercised | 171 | +| of the reachable, exercised by the suite's Metal leg | 785 | +| of the reachable, not exercised | 169 | | share of the reachable exercised | 82% | -| of those exercised, no case reaching it loosens anything | 598 | +| of those exercised, no case reaching it loosens anything | 600 | | of those exercised, a case reaching it loosens some site | 185 | -| case modules | 135 | -| committed recordings | 1044 | -| distinct SDK items the Metal leg reaches, of any status | 795 | +| case modules | 136 | +| committed recordings | 1050 | +| distinct SDK items the Metal leg reaches, of any status | 797 | | of those, reached only where this cannot name the family | 7 | -| ledger rows (a case whose gap is recorded) | 67 | +| ledger rows (a case whose gap is recorded) | 69 | | declared crossings of the option space (pairs put to Metal at once) | 15 | A tolerance names a **site of a transcript**, not an item, so the last two rows are read as written: a case that loosens one site of its own transcript may compare every other field of it exactly, and this derivation cannot tell which of a case's fields came from which Metal call. Where the distinction matters, read the case. @@ -79,10 +79,10 @@ What this axis cannot see, measured rather than asserted: | their values | 757 | | of those, unreachable: no case can put them to Metal | 51 | | so reachable by some case | 706 | -| values compared | 649 | +| values compared | 651 | | share of the reachable compared | 92% | | values only the suite's shared sources name | 26 | -| values no source names and no recording holds | 31 | +| values no source names and no recording holds | 29 | | types every reachable value of which is compared | 35 | | types no value of which is compared | 7 | @@ -98,7 +98,6 @@ Deepest gap first, which is the order the work list reads in. *answered*, *at a | `MTLStepFunction` | 9 | 5 | 0 | 0 | 5 | 0 | 0 | 4 | | `MTLReadWriteTextureTier` | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | | `MTLTextureUsage` | 9 | 6 | 0 | 0 | 6 | 0 | 0 | 3 | -| `MTLIndirectCommandType` | 8 | 5 | 0 | 0 | 5 | 1 | 0 | 2 | | `MTLArgumentBuffersTier` | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | | `MTLBarrierScope` | 3 | 1 | 0 | 0 | 1 | 0 | 0 | 2 | | `MTLDataType` | 97 | 79 | 74 | 0 | 14 | 0 | 16 | 2 | @@ -117,6 +116,7 @@ Deepest gap first, which is the order the work list reads in. *answered*, *at a | `MTLSparseTextureRegionAlignmentMode` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | | `MTLCPUCacheMode` | 2 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | | `MTLHeapType` | 3 | 2 | 0 | 0 | 2 | 1 | 0 | 0 | +| `MTLIndirectCommandType` | 8 | 7 | 0 | 0 | 7 | 1 | 0 | 0 | | `MTLPipelineOption` | 4 | 3 | 0 | 0 | 3 | 1 | 0 | 0 | | `MTLBindingAccess` | 3 | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `MTLBlendFactor` | 20 | 20 | 10 | 0 | 20 | 0 | 0 | 0 | @@ -211,8 +211,8 @@ The work list of this axis, and the shape of the answer to *is the depth suffici - **`MTLDataType`**, 79 of 97 compared - **`MTLAttributeFormat`**, 53 of 54 compared - **`MTLBindingType`**, 8 of 12 compared +- **`MTLIndirectCommandType`**, 7 of 8 compared - **`MTLFunctionType`**, 6 of 7 compared -- **`MTLIndirectCommandType`**, 5 of 8 compared - **`MTLPrimitiveType`**, 5 of 5 compared - **`MTLRenderStages`**, 5 of 5 compared - **`MTLStepFunction`**, 5 of 9 compared @@ -266,7 +266,6 @@ The work list. A name here is a value of Metal's that no committed recording hol - **`MTLBarrierScope`**, 2 of 3: `MTLBarrierScopeBuffers`, `MTLBarrierScopeRenderTargets` - **`MTLDataType`**, 2 of 97: `MTLDataTypeNone`, `MTLDataTypeTensor` - **`MTLFunctionOptions`**, 2 of 5: `MTLFunctionOptionFailOnBinaryArchiveMiss`, `MTLFunctionOptionPipelineIndependent` -- **`MTLIndirectCommandType`**, 2 of 8: `MTLIndirectCommandTypeDrawPatches`, `MTLIndirectCommandTypeDrawIndexedPatches` - **`MTLPrimitiveTopologyClass`**, 2 of 4: `MTLPrimitiveTopologyClassPoint`, `MTLPrimitiveTopologyClassLine` - **`MTLAttributeFormat`**, 1 of 54: `MTLAttributeFormatInvalid` - **`MTLColorWriteMask`**, 1 of 7: `MTLColorWriteMaskUnspecialized` @@ -310,8 +309,8 @@ Every container with an implemented item, by how much of it the suite reaches. * | `MTLArgument` | 17 | 0 | 0 | 17 | | | the header's free functions | 12 | 0 | 0 | 12 | | | `MTLDevice` | 63 | 2 | 49 | 12 | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`… | -| `MTLIndirectRenderCommand` | 23 | 0 | 13 | 10 | `indirect_commands`, `mesh_commands` | | `MTLRasterizationRateLayerDescriptor` | 9 | 0 | 0 | 9 | | +| `MTLIndirectRenderCommand` | 23 | 0 | 15 | 8 | `indirect_command_depth`, `indirect_commands`, `mesh_commands` | | `MTLComputePipelineState` | 15 | 0 | 9 | 6 | `compute_threadgroups`, `pipeline_facts`, `pipeline_handlers`, `visible_tables` | | `MTLComputeCommandEncoder` | 36 | 0 | 31 | 5 | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`… | | `MTLRenderPipelineState` | 15 | 0 | 11 | 4 | `pipeline_facts`, `pipeline_handlers`, `tile_threadgroups`, `visible_tables` | @@ -325,19 +324,19 @@ Every container with an implemented item, by how much of it the suite reaches. * | `MTLBuffer` | 6 | 0 | 4 | 2 | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `attribute_formats`… | | `MTLFunctionReflection` | 3 | 1 | 0 | 2 | | | `MTLSharedEventListener` | 2 | 0 | 0 | 2 | | -| `MTLAttributeDescriptorArray` | 3 | 0 | 2 | 1 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`… | -| `MTLBufferLayoutDescriptorArray` | 3 | 0 | 2 | 1 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`… | +| `MTLAttributeDescriptorArray` | 3 | 0 | 2 | 1 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`… | +| `MTLBufferLayoutDescriptorArray` | 3 | 0 | 2 | 1 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`… | | `MTLComputePipelineReflection` | 3 | 0 | 2 | 1 | `function_bindings`, `pipeline_option_reflection`, `pipeline_options` | | `MTLFunction` | 12 | 0 | 11 | 1 | `argument_encoder_crossings`, `argument_encoders`, `function_facts`, `library_facts`… | | `MTLFunctionConstantValues` | 5 | 0 | 4 | 1 | `function_facts`, `library_facts` | -| `MTLIndirectCommandBuffer` | 6 | 0 | 5 | 1 | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | -| `MTLIndirectComputeCommand` | 12 | 0 | 11 | 1 | `blit_indirect_commands`, `indirect_commands` | +| `MTLIndirectCommandBuffer` | 6 | 0 | 5 | 1 | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | +| `MTLIndirectComputeCommand` | 12 | 0 | 11 | 1 | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | | `MTLPipelineBufferDescriptorArray` | 3 | 0 | 2 | 1 | `compute_pipeline_descriptors`, `pipeline_descriptors`, `tile_pipeline_descriptors` | | `MTLRasterizationRateLayerArray` | 3 | 0 | 2 | 1 | `rate_map_sweeps` | | `MTLRenderPipelineColorAttachmentDescriptorArray` | 3 | 0 | 2 | 1 | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`… | | `MTLSamplerState` | 3 | 0 | 2 | 1 | `pixel_downscales`, `pixel_samplers` | | `MTLSharedEvent` | 5 | 0 | 4 | 1 | `event_orders`, `shared_events` | -| `MTLStageInputOutputDescriptor` | 7 | 0 | 6 | 1 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`… | +| `MTLStageInputOutputDescriptor` | 7 | 0 | 6 | 1 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`… | | `MTLTileRenderPipelineColorAttachmentDescriptorArray` | 3 | 0 | 2 | 1 | `binary_archives`, `pipeline_handlers`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`… | | `MTLType` | 2 | 0 | 1 | 1 | `fragment_imageblock_reflection`, `function_bindings`, `mesh_pipeline_reflection`, `pipeline_option_reflection`… | | `MTLVertexAttributeDescriptorArray` | 3 | 0 | 2 | 1 | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`… | @@ -348,13 +347,13 @@ Every container with an implemented item, by how much of it the suite reaches. * | `MTLArgumentEncoder` | 23 | 0 | 23 | 0 | `argument_encoder_crossings`, `argument_encoders` | | `MTLArrayType` | 9 | 0 | 9 | 0 | `fragment_imageblock_reflection`, `function_bindings`, `mesh_pipeline_reflection`, `pipeline_option_reflection`… | | `MTLAttribute` | 7 | 0 | 7 | 0 | `function_facts`, `library_facts` | -| `MTLAttributeDescriptor` | 4 | 0 | 4 | 0 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`… | +| `MTLAttributeDescriptor` | 4 | 0 | 4 | 0 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`… | | `MTLBinaryArchive` | 7 | 0 | 7 | 0 | `binary_archives` | | `MTLBinaryArchiveDescriptor` | 2 | 0 | 2 | 0 | `binary_archives` | | `MTLBinding` | 7 | 0 | 7 | 0 | `fragment_imageblock_reflection`, `function_bindings`, `mesh_pipeline_reflection`, `pipeline_option_reflection`… | | `MTLBlitCommandEncoder` | 22 | 0 | 22 | 0 | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`… | | `MTLBufferBinding` | 6 | 0 | 6 | 0 | `fragment_imageblock_reflection`, `function_bindings`, `mesh_pipeline_reflection`, `pipeline_option_reflection`… | -| `MTLBufferLayoutDescriptor` | 4 | 0 | 4 | 0 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`… | +| `MTLBufferLayoutDescriptor` | 4 | 0 | 4 | 0 | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`… | | `MTLCommandBuffer` | 21 | 0 | 21 | 0 | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`… | | `MTLCommandEncoder` | 2 | 0 | 2 | 0 | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`… | | `MTLCommandQueue` | 4 | 0 | 4 | 0 | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`… | @@ -367,7 +366,7 @@ Every container with an implemented item, by how much of it the suite reaches. * | `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`… | -| `MTLIndirectCommandBufferDescriptor` | 19 | 0 | 19 | 0 | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | +| `MTLIndirectCommandBufferDescriptor` | 19 | 0 | 19 | 0 | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | | `MTLLinkedFunctions` | 6 | 0 | 6 | 0 | `mesh_pipeline_descriptors`, `pipeline_descriptors`, `tile_pipeline_descriptors`, `visible_tables` | | `MTLMeshRenderPipelineDescriptor` | 18 | 0 | 18 | 0 | `binary_archives`, `mesh_barriers`, `mesh_commands`, `mesh_draws`… | | `MTLObjectPayloadBinding` | 3 | 0 | 3 | 0 | `fragment_imageblock_reflection`, `function_bindings`, `mesh_pipeline_reflection`, `pipeline_option_reflection`… | @@ -414,7 +413,7 @@ A container is one Objective-C type; the SDK header it sits in is the family of | `MTLArgument.h` | 77 | 59 | 18 | | `MTLRasterizationRate.h` | 36 | 20 | 16 | | `MTLDevice.h` | 73 | 59 | 14 | -| `MTLIndirectCommandEncoder.h` | 35 | 24 | 11 | +| `MTLIndirectCommandEncoder.h` | 35 | 26 | 9 | | `MTLRenderPipeline.h` | 114 | 105 | 9 | | `MTLComputePipeline.h` | 34 | 27 | 7 | | `MTLTypes.h` | 7 | 0 | 7 | @@ -471,18 +470,18 @@ An implemented container no case's Metal leg touches. These are the families of | | | |---|---| -| case modules | 135 | -| committed recordings | 1044 | +| case modules | 136 | +| committed recordings | 1050 | | 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 | 644 | -| cases whose Metal answer is `metal_run` | 960 | +| cases running a committed shader fixture | 650 | +| cases whose Metal answer is `metal_run` | 966 | | 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 | 12 | -| modules declaring a notice (loosening no value) | 68 | +| modules declaring a notice (loosening no value) | 69 | | loosenings used | `Unchecked`, `Absolute`, `Ulps` | | justifications named | `Degradation`, `AcceptedDifference` | | modules forbidding a re-record | 8 | @@ -490,10 +489,10 @@ An implemented container no case's Metal leg touches. These are the families of | `Side` methods the Metal leg reaches an SDK item through | 117 | | SDK items a case's Metal leg reaches, median | 59 | | the same, least and most | 0 and 189 | -| Metal call sites in the leg | 1637 | -| distinct selectors the leg sends | 632 | -| of those, resolved to an item of the coverage map | 628 | -| oracles the recordings name | `apple-m3-max` ×1044 | +| Metal call sites in the leg | 1639 | +| distinct selectors the leg sends | 634 | +| of those, resolved to an item of the coverage map | 630 | +| oracles the recordings name | `apple-m3-max` ×1050 | ## By family @@ -563,6 +562,7 @@ Each case module: the cases it holds, the `Side` methods it calls, and how many | `heap_metal_sizes` | 7 | 7 | every field | 14 | | `host_detach` | 1 | 1 | every field | 18 | | `host_page_writes` | 4 | 4 | every field | 118 | +| `indirect_command_depth` | 6 | 6 | every field | 185 | | `indirect_commands` | 6 | 6 | every field | 188 | | `indirect_private_types` | 1 | 0 | every field | 0 | | `int_attributes` | 1 | 1 | every field | 98 | @@ -662,7 +662,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLAllocation` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_facts`, `pipeline_handlers`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 834 | +| `MTLAllocation` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_facts`, `pipeline_handlers`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 840 | ### `MTLArgument` @@ -757,17 +757,17 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLAttributeDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `format` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `offset` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `bufferIndex` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | +| `MTLAttributeDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `format` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `offset` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `bufferIndex` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | ### `MTLAttributeDescriptorArray` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLAttributeDescriptorArray` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `objectAtIndexedSubscript:` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | +| `MTLAttributeDescriptorArray` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `objectAtIndexedSubscript:` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | | `setObject:atIndexedSubscript:` | no | — | — | ### `MTLBinaryArchive` @@ -805,38 +805,38 @@ 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`, `chroma_pairs`, `command_buffer_facts`, `compressed_blits`, `compressed_views`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_commands`, `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`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 332 | +| `MTLBlitCommandEncoder` | 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`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `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`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 338 | | `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 | | `copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | yes | `blit_encoder_commands`, `sparse_mappings` | 18 | | `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 | -| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `indirect_commands`, `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`, `wide_points` | 165 | +| `copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:` | yes | `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `blit_indirect_commands`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `half_output_blends`, `indirect_command_depth`, `indirect_commands`, `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`, `wide_points` | 171 | | `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`, `texture_fills`, `two_plane_copies` | 144 | | `generateMipmapsForTexture:` | yes | `blit_encoder_commands` | 9 | | `fillBuffer:range:value:` | yes | `blit_encoder_commands`, `buffer_blits`, `command_buffer_facts`, `event_orders`, `fresh_contents`, `host_detach`, `scheduled_handlers` | 107 | | `copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:` | yes | `blit_encoder_commands` | 9 | | `copyFromTexture:toTexture:` | yes | `blit_encoder_commands` | 9 | -| `copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:` | yes | `blit_encoder_commands`, `blit_indirect_commands`, `buffer_blits`, `fresh_contents`, `host_page_writes`, `indirect_commands`, `texture_fills`, `two_plane_heap_blits` | 116 | +| `copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:` | yes | `blit_encoder_commands`, `blit_indirect_commands`, `buffer_blits`, `fresh_contents`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `texture_fills`, `two_plane_heap_blits` | 122 | | `updateFence:` | yes | `blit_encoder_commands` | 9 | | `waitForFence:` | yes | `blit_encoder_commands` | 9 | | `optimizeContentsForGPUAccess:` | yes | `blit_encoder_commands` | 9 | | `optimizeContentsForGPUAccess:slice:level:` | yes | `blit_encoder_commands` | 9 | | `optimizeContentsForCPUAccess:` | yes | `blit_encoder_commands` | 9 | | `optimizeContentsForCPUAccess:slice:level:` | yes | `blit_encoder_commands` | 9 | -| `resetCommandsInBuffer:withRange:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `copyIndirectCommandBuffer:sourceRange:destination:destinationIndex:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `optimizeIndirectCommandBuffer:withRange:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `resetCommandsInBuffer:withRange:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `copyIndirectCommandBuffer:sourceRange:destination:destinationIndex:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `optimizeIndirectCommandBuffer:withRange:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | ### `MTLBuffer` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLBuffer` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 708 | -| `length` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 655 | -| `contents` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 699 | +| `MTLBuffer` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 714 | +| `length` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 661 | +| `contents` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 705 | | `didModifyRange:` | no | — | — | -| `newTextureWithDescriptor:offset:bytesPerRow:` | yes | `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_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 511 | +| `newTextureWithDescriptor:offset:bytesPerRow:` | yes | `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_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `frame_chains`, `fresh_contents`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 517 | | `gpuAddress` | no | — | — | ### `MTLBufferBinding` @@ -854,40 +854,40 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLBufferLayoutDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `stride` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `stepFunction` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `stepRate` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | +| `MTLBufferLayoutDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `stride` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `stepFunction` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `stepRate` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | ### `MTLBufferLayoutDescriptorArray` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLBufferLayoutDescriptorArray` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `objectAtIndexedSubscript:` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | +| `MTLBufferLayoutDescriptorArray` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `objectAtIndexedSubscript:` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | | `setObject:atIndexedSubscript:` | no | — | — | ### `MTLCommandBuffer` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLCommandBuffer` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 693 | +| `MTLCommandBuffer` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 699 | | `device` | yes | `command_buffer_facts` | 1 | | `commandQueue` | yes | `command_buffer_facts` | 1 | | `kernelStartTime` | yes | `command_buffer_facts` | 1 | | `kernelEndTime` | yes | `command_buffer_facts` | 1 | | `GPUStartTime` | yes | `command_buffer_facts` | 1 | | `GPUEndTime` | yes | `command_buffer_facts` | 1 | -| `commit` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 666 | +| `commit` | yes | `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_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`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `scheduled_handlers`, `shader_stencil`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 672 | | `addScheduledHandler:` | yes | `event_orders`, `scheduled_handlers` | 5 | | `waitUntilScheduled` | yes | `scheduled_handlers` | 1 | | `addCompletedHandler:` | yes | `event_orders`, `host_detach`, `scheduled_handlers` | 6 | -| `waitUntilCompleted` | yes | `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`, `extended_range_blends`, `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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 660 | -| `status` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 664 | -| `error` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 217 | -| `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`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_commands`, `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`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 332 | -| `renderCommandEncoderWithDescriptor:` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `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`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 235 | -| `computeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 510 | +| `waitUntilCompleted` | yes | `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`, `extended_range_blends`, `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`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 666 | +| `status` | yes | `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_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`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 670 | +| `error` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 223 | +| `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`, `event_orders`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `format_copies`, `fresh_contents`, `half_output_blends`, `host_detach`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `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`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `wide_points` | 338 | +| `renderCommandEncoderWithDescriptor:` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `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`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 241 | +| `computeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 516 | | `computeCommandEncoderWithDispatchType:` | yes | `compute_encoder_commands` | 8 | | `encodeWaitForEvent:value:` | yes | `event_orders` | 4 | | `encodeSignalEvent:value:` | yes | `event_orders`, `shared_events` | 6 | @@ -897,27 +897,27 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLCommandEncoder` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 691 | -| `endEncoding` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 664 | +| `MTLCommandEncoder` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 697 | +| `endEncoding` | yes | `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_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`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `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`, `scheduled_handlers`, `shader_stencil`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 670 | ### `MTLCommandQueue` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLCommandQueue` | yes | `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`, `command_queues`, `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 694 | +| `MTLCommandQueue` | yes | `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`, `command_queues`, `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 700 | | `label` | yes | `command_buffer_facts` | 1 | | `device` | yes | `command_buffer_facts` | 1 | -| `commandBuffer` | yes | `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`, `command_queues`, `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 694 | +| `commandBuffer` | yes | `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`, `command_queues`, `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 700 | ### `MTLComputeCommandEncoder` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLComputeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 510 | +| `MTLComputeCommandEncoder` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 516 | | `dispatchType` | yes | `attribute_strides`, `compute_encoder_commands`, `compute_heap_residency` | 13 | -| `setComputePipelineState:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 510 | +| `setComputePipelineState:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 516 | | `setBytes:length:atIndex:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | -| `setBuffer:offset:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 510 | +| `setBuffer:offset:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `attribute_strides`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visible_tables`, `ycbcr_minify`, `ycbcr_textures` | 516 | | `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 | @@ -926,7 +926,7 @@ 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_encoder_commands`, `blit_indirect_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`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 488 | +| `setTexture:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_encoder_commands`, `blit_indirect_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`, `indirect_command_depth`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 494 | | `setTextures:withRange:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | | `setSamplerState:atIndex:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `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_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `format_copies`, `fresh_contents`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 449 | | `setSamplerStates:withRange:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | @@ -938,14 +938,14 @@ 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 | `attribute_strides`, `buffer_depth_samples`, `compute_encoder_commands`, `compute_heap_residency`, `visible_tables` | 36 | | `dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | -| `dispatchThreads:threadsPerThreadgroup:` | yes | `blit_indirect_commands`, `compute_render_chains`, `extended_range_blends`, `extended_range_targets`, `frame_chains`, `host_page_writes`, `indirect_commands` | 57 | +| `dispatchThreads:threadsPerThreadgroup:` | yes | `blit_indirect_commands`, `compute_render_chains`, `extended_range_blends`, `extended_range_targets`, `frame_chains`, `host_page_writes`, `indirect_command_depth`, `indirect_commands` | 63 | | `updateFence:` | no | — | — | | `waitForFence:` | no | — | — | -| `useResource:usage:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_encoder_commands`, `blit_indirect_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_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `format_copies`, `fresh_contents`, `half_read_nans`, `half_storage_writes`, `half_texel_nans`, `half_write_nans`, `indirect_commands`, `level_sizes`, `math_routines`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 458 | +| `useResource:usage:` | yes | `argument_encoders`, `astc_textures`, `attribute_formats`, `blit_encoder_commands`, `blit_indirect_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_threadgroups`, `denormal_word_fetches`, `depth_texel_reads`, `etc_textures`, `extended_range_blends`, `extended_range_planes`, `extended_range_two_planes`, `extended_swizzles`, `format_copies`, `fresh_contents`, `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`, `pvrtc_cpu_order`, `pvrtc_rows`, `rgb10a2_srgb`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `simdgroup_lockstep`, `stage_in_regions`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `ycbcr_minify`, `ycbcr_textures` | 464 | | `useResources:count:usage:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | | `useHeap:` | yes | `compute_heap_residency` | 1 | | `useHeaps:count:` | yes | `compute_heap_residency` | 1 | -| `executeCommandsInBuffer:withRange:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `executeCommandsInBuffer:withRange:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | | `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | no | — | — | | `memoryBarrierWithScope:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | | `memoryBarrierWithResources:count:` | yes | `compute_encoder_commands`, `compute_heap_residency` | 9 | @@ -954,14 +954,14 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLComputePipelineDescriptor` | yes | `attribute_formats`, `attribute_strides`, `binary_archives`, `blit_indirect_commands`, `compute_pipeline_descriptors`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers`, `stage_in_regions`, `visible_tables` | 73 | +| `MTLComputePipelineDescriptor` | yes | `attribute_formats`, `attribute_strides`, `binary_archives`, `blit_indirect_commands`, `compute_pipeline_descriptors`, `indirect_command_depth`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers`, `stage_in_regions`, `visible_tables` | 79 | | `label` | yes | `compute_pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers` | 33 | -| `computeFunction` | yes | `attribute_formats`, `attribute_strides`, `binary_archives`, `blit_indirect_commands`, `compute_pipeline_descriptors`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers`, `stage_in_regions`, `visible_tables` | 73 | +| `computeFunction` | yes | `attribute_formats`, `attribute_strides`, `binary_archives`, `blit_indirect_commands`, `compute_pipeline_descriptors`, `indirect_command_depth`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers`, `stage_in_regions`, `visible_tables` | 79 | | `threadGroupSizeIsMultipleOfThreadExecutionWidth` | yes | `compute_pipeline_descriptors` | 3 | | `maxTotalThreadsPerThreadgroup` | yes | `compute_pipeline_descriptors` | 3 | -| `stageInputDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | +| `stageInputDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | | `buffers` | yes | `compute_pipeline_descriptors` | 3 | -| `supportIndirectCommandBuffers` | yes | `blit_indirect_commands`, `compute_pipeline_descriptors`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers` | 42 | +| `supportIndirectCommandBuffers` | yes | `blit_indirect_commands`, `compute_pipeline_descriptors`, `indirect_command_depth`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers` | 48 | | `insertLibraries` | yes | `compute_pipeline_descriptors` | 3 | | `preloadedLibraries` | yes | `compute_pipeline_descriptors` | 3 | | `binaryArchives` | yes | `binary_archives`, `compute_pipeline_descriptors` | 9 | @@ -1021,7 +1021,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLDevice` | yes | `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`, `etc_textures`, `event_orders`, `extended_range_blends`, `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_commands`, `int_attributes`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `sparse_tiles`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `texture_views`, `textures`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 948 | +| `MTLDevice` | yes | `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`, `etc_textures`, `event_orders`, `extended_range_blends`, `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`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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_events`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `sparse_tiles`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `texture_views`, `textures`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 954 | | `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_events`, `texture_views`, `visible_tables` | 103 | | `maxThreadsPerThreadgroup` | no | — | — | @@ -1036,16 +1036,16 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | `heapTextureSizeAndAlignWithDescriptor:` | yes | `compressed_moves`, `format_footprints`, `heap_metal_sizes`, `two_plane_copies`, `ycbcr_textures` | 30 | | `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_fills`, `two_plane_copies`, `two_plane_heap_blits` | 208 | -| `newBufferWithLength:options:` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 704 | +| `newBufferWithLength:options:` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 710 | | `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`, `render_depth_stencil_state`, `shader_stencil`, `srgb_fetch`, `visibility` | 27 | -| `newTextureWithDescriptor:` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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_commands`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_textures` | 721 | +| `newTextureWithDescriptor:` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_textures` | 727 | | `newSharedTextureWithDescriptor:` | yes | `texture_views` | 4 | | `newSharedTextureWithHandle:` | yes | `texture_views` | 4 | | `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_minify` | 138 | | `newLibraryWithData:error:` | yes | `dynamic_libraries` | 3 | -| `newRenderPipelineStateWithDescriptor:error:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_facts`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 227 | +| `newRenderPipelineStateWithDescriptor:error:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_facts`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 233 | | `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 | @@ -1053,7 +1053,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | `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 | -| `newComputePipelineStateWithDescriptor:options:reflection:error:` | yes | `attribute_formats`, `attribute_strides`, `binary_archives`, `blit_indirect_commands`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers`, `stage_in_regions`, `visible_tables` | 70 | +| `newComputePipelineStateWithDescriptor:options:reflection:error:` | yes | `attribute_formats`, `attribute_strides`, `binary_archives`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `pipeline_facts`, `pipeline_handlers`, `stage_in_regions`, `visible_tables` | 76 | | `newComputePipelineStateWithDescriptor:options:completionHandler:` | yes | `pipeline_handlers` | 24 | | `newFence` | yes | `blit_encoder_commands`, `sparse_mappings` | 18 | | `supportsFamily:` | no | — | — | @@ -1068,7 +1068,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | `newArgumentEncoderWithArguments:` | yes | `argument_encoder_crossings`, `argument_encoders` | 9 | | `supportsRasterizationRateMapWithLayerCount:` | yes | `device_queries` | 5 | | `newRasterizationRateMapWithDescriptor:` | yes | `rate_map_sweeps`, `rate_maps` | 10 | -| `newIndirectCommandBufferWithDescriptor:maxCommandCount:options:` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | +| `newIndirectCommandBufferWithDescriptor:maxCommandCount:options:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | | `newEvent` | yes | `event_orders` | 4 | | `newSharedEvent` | yes | `event_orders`, `shared_events` | 6 | | `newSharedEventWithHandle:` | yes | `shared_events` | 2 | @@ -1213,66 +1213,66 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLIndirectCommandBuffer` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `size` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `MTLIndirectCommandBuffer` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `size` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | | `gpuResourceID` | no | — | — | -| `resetWithRange:` | yes | `indirect_commands` | 6 | -| `indirectRenderCommandAtIndex:` | yes | `indirect_commands`, `mesh_commands` | 8 | -| `indirectComputeCommandAtIndex:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `resetWithRange:` | yes | `indirect_command_depth`, `indirect_commands` | 12 | +| `indirectRenderCommandAtIndex:` | yes | `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 14 | +| `indirectComputeCommandAtIndex:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | ### `MTLIndirectCommandBufferDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLIndirectCommandBufferDescriptor` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `commandTypes` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `inheritPipelineState` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `inheritBuffers` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `inheritDepthStencilState` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `inheritDepthBias` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `inheritDepthClipMode` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `inheritCullMode` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `inheritFrontFacingWinding` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `inheritTriangleFillMode` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `maxVertexBufferBindCount` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `maxFragmentBufferBindCount` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `maxKernelBufferBindCount` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `maxKernelThreadgroupMemoryBindCount` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `maxObjectBufferBindCount` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `maxMeshBufferBindCount` | yes | `blit_indirect_commands`, `indirect_commands`, `mesh_commands` | 11 | -| `maxObjectThreadgroupMemoryBindCount` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `supportDynamicAttributeStride` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `supportColorAttachmentMapping` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `MTLIndirectCommandBufferDescriptor` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `commandTypes` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `inheritPipelineState` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `inheritBuffers` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `inheritDepthStencilState` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `inheritDepthBias` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `inheritDepthClipMode` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `inheritCullMode` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `inheritFrontFacingWinding` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `inheritTriangleFillMode` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `maxVertexBufferBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `maxFragmentBufferBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `maxKernelBufferBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `maxKernelThreadgroupMemoryBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `maxObjectBufferBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `maxMeshBufferBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 17 | +| `maxObjectThreadgroupMemoryBindCount` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `supportDynamicAttributeStride` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `supportColorAttachmentMapping` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | ### `MTLIndirectComputeCommand` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLIndirectComputeCommand` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `setComputePipelineState:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | -| `setKernelBuffer:offset:atIndex:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `MTLIndirectComputeCommand` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `setComputePipelineState:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | +| `setKernelBuffer:offset:atIndex:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | | `setKernelBuffer:offset:attributeStride:atIndex:` | yes | `indirect_commands` | 6 | -| `concurrentDispatchThreadgroups:threadsPerThreadgroup:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `concurrentDispatchThreadgroups:threadsPerThreadgroup:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | | `concurrentDispatchThreads:threadsPerThreadgroup:` | yes | `indirect_commands` | 6 | | `setBarrier` | yes | `indirect_commands` | 6 | | `clearBarrier` | yes | `indirect_commands` | 6 | | `setImageblockWidth:height:` | no | — | — | -| `reset` | yes | `indirect_commands` | 6 | -| `setThreadgroupMemoryLength:atIndex:` | yes | `blit_indirect_commands`, `indirect_commands` | 9 | +| `reset` | yes | `indirect_command_depth`, `indirect_commands` | 12 | +| `setThreadgroupMemoryLength:atIndex:` | yes | `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands` | 15 | | `setStageInRegion:` | yes | `indirect_commands` | 6 | ### `MTLIndirectRenderCommand` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLIndirectRenderCommand` | yes | `indirect_commands`, `mesh_commands` | 8 | -| `setRenderPipelineState:` | yes | `indirect_commands`, `mesh_commands` | 8 | -| `setVertexBuffer:offset:atIndex:` | yes | `indirect_commands` | 6 | -| `setFragmentBuffer:offset:atIndex:` | yes | `indirect_commands` | 6 | +| `MTLIndirectRenderCommand` | yes | `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 14 | +| `setRenderPipelineState:` | yes | `indirect_command_depth`, `indirect_commands`, `mesh_commands` | 14 | +| `setVertexBuffer:offset:atIndex:` | yes | `indirect_command_depth`, `indirect_commands` | 12 | +| `setFragmentBuffer:offset:atIndex:` | yes | `indirect_command_depth`, `indirect_commands` | 12 | | `setVertexBuffer:offset:attributeStride:atIndex:` | no | — | — | -| `drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:` | no | — | — | -| `drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:` | no | — | — | -| `drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:` | yes | `indirect_commands` | 6 | +| `drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:` | yes | `indirect_command_depth` | 6 | +| `drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:` | yes | `indirect_command_depth` | 6 | +| `drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:` | yes | `indirect_command_depth`, `indirect_commands` | 12 | | `drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:` | yes | `indirect_commands` | 6 | | `setObjectThreadgroupMemoryLength:atIndex:` | no | — | — | | `setObjectBuffer:offset:atIndex:` | yes | `mesh_commands` | 2 | @@ -1293,9 +1293,9 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLLibrary` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 797 | +| `MTLLibrary` | yes | `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_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`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 803 | | `device` | yes | `dynamic_libraries`, `library_facts` | 9 | -| `newFunctionWithName:` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 788 | +| `newFunctionWithName:` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 794 | | `newFunctionWithName:constantValues:error:` | yes | `function_facts` | 15 | | `newFunctionWithName:constantValues:completionHandler:` | no | — | — | | `reflectionForFunctionWithName:` | no | — | — | @@ -1440,10 +1440,10 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderCommandEncoder` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `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`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 235 | -| `setRenderPipelineState:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `int_attributes`, `mesh_barriers`, `mesh_draws`, `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`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 213 | +| `MTLRenderCommandEncoder` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `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`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 241 | +| `setRenderPipelineState:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `int_attributes`, `mesh_barriers`, `mesh_draws`, `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`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 219 | | `setVertexBytes:length:atIndex:` | yes | `compute_render_chains`, `depth_resolve_pairs`, `draw_state_changes`, `frame_chains`, `host_page_writes`, `render_chains`, `wide_points` | 15 | -| `setVertexBuffer:offset:atIndex:` | yes | `color_write_masks`, `depth_stencil_space`, `fetch_ordered`, `int_attributes`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes` | 98 | +| `setVertexBuffer:offset:atIndex:` | yes | `color_write_masks`, `depth_stencil_space`, `fetch_ordered`, `indirect_command_depth`, `int_attributes`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes` | 104 | | `setVertexBufferOffset:atIndex:` | yes | `render_state` | 3 | | `setVertexBuffers:offsets:withRange:` | yes | `render_state` | 3 | | `setVertexBuffer:offset:attributeStride:atIndex:` | no | — | — | @@ -1458,14 +1458,14 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | `setVertexSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | yes | `render_state` | 3 | | `setVertexVisibleFunctionTable:atBufferIndex:` | no | — | — | | `setVertexVisibleFunctionTables:withBufferRange:` | no | — | — | -| `setViewport:` | yes | `draw_state_changes`, `wide_points` | 2 | +| `setViewport:` | yes | `draw_state_changes`, `indirect_command_depth`, `wide_points` | 8 | | `setViewports:count:` | yes | `render_state` | 3 | | `setFrontFacingWinding:` | yes | `depth_stencil_space`, `render_state` | 11 | | `setVertexAmplificationCount:viewMappings:` | no | — | — | | `setCullMode:` | yes | `depth_stencil_space`, `render_state` | 11 | | `setDepthClipMode:` | yes | `render_depth_stencil_state` | 3 | | `setDepthBias:slopeScale:clamp:` | yes | `render_depth_stencil_state` | 3 | -| `setScissorRect:` | yes | `depth_resolve_pairs`, `depth_stencil_space`, `render_depth_stencil_state`, `render_residency`, `render_state` | 18 | +| `setScissorRect:` | yes | `depth_resolve_pairs`, `depth_stencil_space`, `indirect_command_depth`, `render_depth_stencil_state`, `render_residency`, `render_state` | 24 | | `setScissorRects:count:` | yes | `render_state` | 3 | | `setTriangleFillMode:` | yes | `render_state` | 3 | | `setFragmentBytes:length:atIndex:` | yes | `depth_resolve_pairs`, `render_state` | 5 | @@ -1549,13 +1549,13 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | `setThreadgroupMemoryLength:offset:atIndex:` | no | — | — | | `useResource:usage:` | yes | `render_residency` | 2 | | `useResources:count:usage:` | yes | `render_residency` | 2 | -| `useResource:usage:stages:` | yes | `indirect_commands`, `mesh_commands`, `render_residency` | 10 | +| `useResource:usage:stages:` | yes | `indirect_command_depth`, `indirect_commands`, `mesh_commands`, `render_residency` | 16 | | `useResources:count:usage:stages:` | yes | `render_residency` | 2 | | `useHeap:` | yes | `render_residency` | 2 | | `useHeaps:count:` | yes | `render_residency` | 2 | | `useHeap:stages:` | yes | `render_residency` | 2 | | `useHeaps:count:stages:` | yes | `render_residency` | 2 | -| `executeCommandsInBuffer:withRange:` | yes | `indirect_commands` | 6 | +| `executeCommandsInBuffer:withRange:` | yes | `indirect_command_depth`, `indirect_commands` | 12 | | `executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | no | — | — | | `memoryBarrierWithScope:afterStages:beforeStages:` | yes | `mesh_barriers`, `render_residency` | 4 | | `memoryBarrierWithResources:count:afterStages:beforeStages:` | yes | `mesh_barriers`, `render_residency` | 4 | @@ -1564,61 +1564,61 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPassAttachmentDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 247 | -| `texture` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 247 | +| `MTLRenderPassAttachmentDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 253 | +| `texture` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 253 | | `level` | yes | `render_pass_descriptors` | 12 | | `slice` | yes | `buffer_depth_samples`, `render_pass_descriptors` | 17 | | `depthPlane` | yes | `render_pass_descriptors` | 12 | -| `resolveTexture` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | +| `resolveTexture` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | | `resolveLevel` | yes | `render_pass_descriptors` | 12 | | `resolveSlice` | yes | `render_pass_descriptors` | 12 | | `resolveDepthPlane` | yes | `render_pass_descriptors` | 12 | -| `loadAction` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 247 | -| `storeAction` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 247 | -| `storeActionOptions` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | +| `loadAction` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 253 | +| `storeAction` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 253 | +| `storeActionOptions` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | ### `MTLRenderPassColorAttachmentDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPassColorAttachmentDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 242 | -| `clearColor` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 226 | +| `MTLRenderPassColorAttachmentDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 248 | +| `clearColor` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 232 | ### `MTLRenderPassColorAttachmentDescriptorArray` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPassColorAttachmentDescriptorArray` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 242 | -| `objectAtIndexedSubscript:` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 242 | +| `MTLRenderPassColorAttachmentDescriptorArray` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 248 | +| `objectAtIndexedSubscript:` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 248 | | `setObject:atIndexedSubscript:` | yes | `render_pass_descriptors` | 12 | ### `MTLRenderPassDepthAttachmentDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPassDepthAttachmentDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 221 | -| `clearDepth` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 221 | -| `depthResolveFilter` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | +| `MTLRenderPassDepthAttachmentDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 227 | +| `clearDepth` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 227 | +| `depthResolveFilter` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | ### `MTLRenderPassDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPassDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 247 | -| `renderPassDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 247 | -| `colorAttachments` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 242 | -| `depthAttachment` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 221 | -| `stencilAttachment` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 221 | -| `visibilityResultBuffer` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | +| `MTLRenderPassDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 253 | +| `renderPassDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 253 | +| `colorAttachments` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rgb10a2_srgb`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `tile_threadgroups`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 248 | +| `depthAttachment` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 227 | +| `stencilAttachment` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 227 | +| `visibilityResultBuffer` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | | `renderTargetArrayLength` | yes | `render_pass_descriptors` | 12 | | `imageblockSampleLength` | yes | `render_pass_descriptors` | 12 | | `threadgroupMemoryLength` | yes | `render_pass_descriptors` | 12 | | `tileWidth` | yes | `render_pass_descriptors`, `tile_threadgroups` | 20 | | `tileHeight` | yes | `render_pass_descriptors`, `tile_threadgroups` | 20 | -| `defaultRasterSampleCount` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | -| `renderTargetWidth` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | -| `renderTargetHeight` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | -| `setSamplePositions:count:` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | +| `defaultRasterSampleCount` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | +| `renderTargetWidth` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | +| `renderTargetHeight` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | +| `setSamplePositions:count:` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | | `getSamplePositions:count:` | yes | `render_pass_descriptors` | 12 | | `rasterizationRateMap` | yes | `render_pass_descriptors` | 12 | @@ -1626,62 +1626,62 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPassStencilAttachmentDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 221 | -| `clearStencil` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 221 | -| `stencilResolveFilter` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 216 | +| `MTLRenderPassStencilAttachmentDescriptor` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 227 | +| `clearStencil` | yes | `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 227 | +| `stencilResolveFilter` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `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_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_pass_descriptors`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `srgb_fetch`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 222 | ### `MTLRenderPipelineColorAttachmentDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPipelineColorAttachmentDescriptor` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 280 | -| `pixelFormat` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 280 | -| `blendingEnabled` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `sourceRGBBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `destinationRGBBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `rgbBlendOperation` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `sourceAlphaBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `destinationAlphaBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `alphaBlendOperation` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | -| `writeMask` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 231 | +| `MTLRenderPipelineColorAttachmentDescriptor` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 286 | +| `pixelFormat` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 286 | +| `blendingEnabled` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `sourceRGBBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `destinationRGBBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `rgbBlendOperation` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `sourceAlphaBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `destinationAlphaBlendFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `alphaBlendOperation` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | +| `writeMask` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_pipeline_descriptors`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 237 | ### `MTLRenderPipelineColorAttachmentDescriptorArray` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPipelineColorAttachmentDescriptorArray` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 280 | -| `objectAtIndexedSubscript:` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 280 | +| `MTLRenderPipelineColorAttachmentDescriptorArray` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 286 | +| `objectAtIndexedSubscript:` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 286 | | `setObject:atIndexedSubscript:` | no | — | — | ### `MTLRenderPipelineDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLRenderPipelineDescriptor` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 283 | -| `label` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `vertexFunction` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 283 | -| `fragmentFunction` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 265 | -| `vertexDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `MTLRenderPipelineDescriptor` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 289 | +| `label` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `vertexFunction` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 289 | +| `fragmentFunction` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 271 | +| `vertexDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `sampleCount` | yes | `pipeline_descriptors` | 3 | -| `rasterSampleCount` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `rasterSampleCount` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `alphaToCoverageEnabled` | yes | `pipeline_descriptors` | 3 | | `alphaToOneEnabled` | yes | `pipeline_descriptors` | 3 | -| `rasterizationEnabled` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 246 | +| `rasterizationEnabled` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points` | 252 | | `maxVertexAmplificationCount` | yes | `pipeline_descriptors` | 3 | -| `colorAttachments` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 265 | -| `depthAttachmentPixelFormat` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `stencilAttachmentPixelFormat` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `colorAttachments` | yes | `binary_archives`, `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `fragment_imageblock_reflection`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `pipeline_options`, `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`, `tessellation_sweeps`, `texture_accesses`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 271 | +| `depthAttachmentPixelFormat` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `stencilAttachmentPixelFormat` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `inputPrimitiveTopology` | yes | `pipeline_descriptors` | 3 | -| `tessellationPartitionMode` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `maxTessellationFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `tessellationFactorScaleEnabled` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `tessellationFactorFormat` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `tessellationControlPointIndexType` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `tessellationFactorStepFunction` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `tessellationOutputWindingOrder` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `tessellationPartitionMode` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `maxTessellationFactor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `tessellationFactorScaleEnabled` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `tessellationFactorFormat` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `tessellationControlPointIndexType` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `tessellationFactorStepFunction` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `tessellationOutputWindingOrder` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `vertexBuffers` | yes | `pipeline_descriptors` | 3 | | `fragmentBuffers` | yes | `pipeline_descriptors` | 3 | -| `supportIndirectCommandBuffers` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `supportIndirectCommandBuffers` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `binaryArchives` | yes | `binary_archives`, `pipeline_descriptors` | 9 | | `vertexPreloadedLibraries` | yes | `pipeline_descriptors` | 3 | | `fragmentPreloadedLibraries` | yes | `pipeline_descriptors` | 3 | @@ -1740,7 +1740,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLResource` | yes | `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_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_commands`, `int_attributes`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 804 | +| `MTLResource` | yes | `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_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`, `level_sizes`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `rate_map_sweeps`, `rate_maps`, `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_heaps`, `sparse_mappings`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 810 | | `label` | yes | `heap_facts`, `resource_facts` | 9 | | `device` | yes | `heap_facts`, `resource_facts`, `visible_tables` | 27 | | `cpuCacheMode` | yes | `buffer_textures`, `heap_facts`, `resource_facts` | 11 | @@ -1829,12 +1829,12 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLStageInputOutputDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `stageInputOutputDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `layouts` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `attributes` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `indexType` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | -| `indexBufferIndex` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_commands`, `stage_in_regions` | 16 | +| `MTLStageInputOutputDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `stageInputOutputDescriptor` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `layouts` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `attributes` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `indexType` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | +| `indexBufferIndex` | yes | `attribute_formats`, `attribute_strides`, `blit_indirect_commands`, `indirect_command_depth`, `indirect_commands`, `stage_in_regions` | 22 | | `reset` | no | — | — | ### `MTLStencilDescriptor` @@ -1875,7 +1875,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLTexture` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `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_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_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_commands`, `int_attributes`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 744 | +| `MTLTexture` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `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_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_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`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 750 | | `parentTexture` | yes | `texture_views` | 4 | | `parentRelativeLevel` | yes | `texture_views` | 4 | | `parentRelativeSlice` | yes | `texture_views` | 4 | @@ -1885,7 +1885,7 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | `height` | yes | `buffer_textures`, `texture_views` | 6 | | `depth` | yes | `buffer_textures` | 2 | | `mipmapLevelCount` | yes | `buffer_textures`, `texture_views` | 6 | -| `sampleCount` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `buffer_target_clears`, `buffer_textures`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 206 | +| `sampleCount` | yes | `blend_interactions`, `blend_sweeps`, `blit_indirect_commands`, `buffer_target_clears`, `buffer_textures`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 212 | | `arrayLength` | yes | `buffer_textures`, `texture_views` | 6 | | `usage` | yes | `buffer_textures` | 2 | | `shareable` | yes | `texture_views` | 4 | @@ -1919,23 +1919,23 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLTextureDescriptor` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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_commands`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 738 | -| `texture2DDescriptorWithPixelFormat:width:height:mipmapped:` | yes | `argument_encoder_crossings`, `argument_encoders`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `buffer_blits`, `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_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_commands`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `pixel_downscales`, `pixel_samplers`, `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`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points` | 592 | +| `MTLTextureDescriptor` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 744 | +| `texture2DDescriptorWithPixelFormat:width:height:mipmapped:` | yes | `argument_encoder_crossings`, `argument_encoders`, `blend_interactions`, `blend_sweeps`, `blit_encoder_commands`, `buffer_blits`, `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_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`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `pixel_downscales`, `pixel_samplers`, `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`, `texture_fills`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points` | 598 | | `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 | `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_targets`, `extended_swizzles`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_commands`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 539 | +| `textureType` | yes | `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_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`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 545 | | `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`, `pvrtc_cpu_order`, `pvrtc_rows`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 338 | | `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`, `pvrtc_cpu_order`, `pvrtc_rows`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 338 | | `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`, `pvrtc_cpu_order`, `pvrtc_rows`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_minify`, `ycbcr_textures` | 338 | | `depth` | 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`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 350 | | `mipmapLevelCount` | 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`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 350 | -| `sampleCount` | yes | `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_targets`, `fetch_ordered`, `format_copies`, `format_footprints`, `frame_chains`, `fresh_contents`, `half_output_blends`, `heap_metal_sizes`, `host_page_writes`, `indirect_commands`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 398 | +| `sampleCount` | yes | `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_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`, `pvrtc_cpu_order`, `pvrtc_rows`, `render_chains`, `render_depth_stencil_state`, `render_draw_forms`, `render_residency`, `render_state`, `rotated_planes`, `rotated_targets`, `sample_positions`, `shader_stencil`, `snorm_tile_store`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `visibility`, `wide_points`, `ycbcr_textures` | 404 | | `arrayLength` | 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`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `sparse_heaps`, `sparse_mappings`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits`, `ycbcr_textures` | 350 | | `resourceOptions` | no | — | — | | `cpuCacheMode` | no | — | — | -| `storageMode` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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_commands`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 738 | +| `storageMode` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 744 | | `hazardTrackingMode` | no | — | — | -| `usage` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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_commands`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 738 | +| `usage` | yes | `argument_encoder_crossings`, `argument_encoders`, `astc_textures`, `blend_interactions`, `blend_sweeps`, `blit_encoder_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_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_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`, `level_sizes`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `nearest_positions`, `norm_storage_writes`, `pixel_downscales`, `pixel_samplers`, `pvrtc_cpu_order`, `pvrtc_rows`, `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`, `sparse_heaps`, `sparse_mappings`, `srgb_fetch`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `textures`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `visibility`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | 744 | | `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`, `fresh_contents`, `level_sizes`, `norm_storage_writes`, `pvrtc_cpu_order`, `pvrtc_rows`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 320 | | `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`, `resource_facts`, `sampler_crossings`, `sampler_filtering`, `shared_exponent_storage`, `swizzled_storage`, `texel_swizzles`, `texture_fills`, `texture_views`, `two_plane_copies`, `two_plane_heap_blits` | 306 | @@ -2026,44 +2026,44 @@ One row per implemented item of the SDK, in the coverage map's order. *exercised | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLVertexAttributeDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `format` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `offset` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `bufferIndex` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `MTLVertexAttributeDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `format` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `offset` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `bufferIndex` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | ### `MTLVertexAttributeDescriptorArray` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLVertexAttributeDescriptorArray` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `objectAtIndexedSubscript:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `MTLVertexAttributeDescriptorArray` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `objectAtIndexedSubscript:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `setObject:atIndexedSubscript:` | no | — | — | ### `MTLVertexBufferLayoutDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLVertexBufferLayoutDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `stride` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `stepFunction` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `stepRate` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `MTLVertexBufferLayoutDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `stride` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `stepFunction` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `stepRate` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | ### `MTLVertexBufferLayoutDescriptorArray` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLVertexBufferLayoutDescriptorArray` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `objectAtIndexedSubscript:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `MTLVertexBufferLayoutDescriptorArray` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `objectAtIndexedSubscript:` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `setObject:atIndexedSubscript:` | no | — | — | ### `MTLVertexDescriptor` | item | exercised | families | cases Metal ran | |---|---|---|---| -| `MTLVertexDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `vertexDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `layouts` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | -| `attributes` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 228 | +| `MTLVertexDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `vertexDescriptor` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `layouts` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | +| `attributes` | yes | `blend_interactions`, `blend_sweeps`, `color_write_masks`, `compute_render_chains`, `depth_resolve_pairs`, `depth_stencil_space`, `discard_hoist`, `draw_state_changes`, `extended_range_blends`, `extended_range_targets`, `fetch_ordered`, `frame_chains`, `half_output_blends`, `host_page_writes`, `indirect_command_depth`, `indirect_commands`, `int_attributes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_handlers`, `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`, `tessellation_sweeps`, `vertex_formats`, `visibility`, `wide_int_attributes`, `wide_points` | 234 | | `reset` | no | — | — | ### `MTLVisibleFunctionTable` @@ -2093,7 +2093,7 @@ An item the suite's Metal leg calls whose coverage-map status is not implemented | `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` | | `MTL4LibraryFunctionDescriptor` `library` | missing | Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) | `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` | | `MTLBinaryArchive` `addMeshRenderPipelineFunctionsWithDescriptor:error:` | missing | a mesh pipeline's functions in a binary archive | `binary_archives` | -| `MTLDevice` `newLibraryWithURL:error:` | missing | a metallib read from a file URL | `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_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_commands`, `int_attributes`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | +| `MTLDevice` `newLibraryWithURL:error:` | missing | a metallib read from a file URL | `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_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`, `level_sizes`, `library_facts`, `math_routines`, `mesh_barriers`, `mesh_commands`, `mesh_draws`, `mesh_pipeline_descriptors`, `mesh_pipeline_reflection`, `nearest_positions`, `norm_storage_writes`, `pass_bytes`, `pipeline_descriptors`, `pipeline_facts`, `pipeline_functions`, `pipeline_handlers`, `pipeline_option_reflection`, `pipeline_options`, `pixel_downscales`, `pixel_samplers`, `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`, `shared_exponent_storage`, `simdgroup_lockstep`, `snorm_tile_store`, `srgb_fetch`, `stage_in_regions`, `swizzled_storage`, `tessellation_sweeps`, `texel_swizzles`, `texture_accesses`, `texture_fills`, `tile_pipeline_descriptors`, `tile_pipeline_reflection`, `tile_threadgroups`, `two_plane_copies`, `two_plane_heap_blits`, `two_plane_samples`, `vertex_formats`, `visibility`, `visible_tables`, `wide_int_attributes`, `wide_points`, `ycbcr_minify`, `ycbcr_textures` | ## Called, attributed to no family @@ -2206,4 +2206,6 @@ A case whose difference from Metal is recorded rather than compared away. The le | `format-footprints-padded-wide-channels` | The runtime holds no image of the ten padded 10- and 12-bit display formats, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, wh… | | `format-footprints-two-plane-ten-bit` | The runtime holds no image of the four two-plane RGB10A8_2P formats, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arithmetic over a descriptor, which Meta… | | `format-footprints-packed-without-textures` | The runtime holds no image of R10Unorm_PACKED and RG10Unorm_PACKED, whose texture Metal itself refuses, so `heapTextureSizeAndAlignWithDescriptor:` -- CPU arith… | +| `indirect-commands-bind-count-limit` | The runtime refuses setKernelBuffer:offset:atIndex: at an index at or past the buffer's maxKernelBufferBindCount, Error::Invalid(IndexOutOfRange) out of Indirec… | +| `indirect-commands-bind-count-limit` | The runtime refuses setKernelBuffer:offset:atIndex: at an index at or past the buffer's maxKernelBufferBindCount, Error::Invalid(IndexOutOfRange) out of Indirec… |