METAL-COVERAGE: the sparse tile sizes and region conversions are sparse tiles, not tile pipelines

Six MTLDevice items were filed in the coverage map as tile render pipelines ("tile render
pipelines; metal2vulkan-runtime makes none", size L, group tile): sparseTileSizeInBytes,
sparseTileSizeInBytesForSparsePageSize:, the two sparseTileSizeWithTextureType:pixelFormat:
sampleCount: forms and convertSparsePixelRegions:toTileRegions:... and
convertSparseTileRegions:toPixelRegions:.... They answer a sparse texture's tile size and convert
regions between pixels and its tiles, and have nothing to do with tile render pipelines. They now
read "sparse tiles", size S, group sparse, as MTLTexture.firstMipmapInTail, tailSizeInBytes and
isSparse already do; that group's name, "placement sparse page sizes", becomes "sparse page and
tile sizes", which it held already with those three. The tile render pipeline group keeps its
other 20 items.

docs/METAL-COVERAGE.md is regenerated: missing by size S 178 -> 184 and L 313 -> 307, the sparse
group 5 -> 11 items, the tile group 26 -> 20; the status totals do not move.

Verified, on the CPU with no device: scripts/metal-coverage/coverage.py --check reads the document
current; the table's status counts, which the validation suite's
the_coverage_documents_totals_are_the_tables compares with the document, are unchanged, and every
missing row keeps a size and a group.
This commit is contained in:
Anees Iqbal committed 2026-12-03 16:18:18 -08:00
1 parent b51989986d
commit f43cff7e76
4 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ GROUP_NAMES = {
"archive": "more binary archive entries",
"events": "the shared event listener",
"mesh-descriptor": "mesh pipeline descriptor fields",
"sparse": "placement sparse page sizes",
"sparse": "sparse page and tile sizes",
"parallel": "parallel render encoding",
"icb-depth-stencil": "depth/stencil states in argument buffers",
"depthbounds": "depth bounds",
+6 -6
View File
@@ -1135,12 +1135,12 @@ MTLDevice.h MTLDevice method newIOCommandQueueWithDescriptor:error: M fast re
MTLDevice.h MTLDevice method newIOHandleWithURL:compressionMethod:error: yes M fast resource loading L io
MTLDevice.h MTLDevice method newIOFileHandleWithURL:error: M fast resource loading L io
MTLDevice.h MTLDevice method newIOFileHandleWithURL:compressionMethod:error: M fast resource loading L io
MTLDevice.h MTLDevice method sparseTileSizeWithTextureType:pixelFormat:sampleCount: M tile render pipelines; metal2vulkan-runtime makes none L tile
MTLDevice.h MTLDevice property sparseTileSizeInBytes M tile render pipelines; metal2vulkan-runtime makes none L tile
MTLDevice.h MTLDevice method convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions: M tile render pipelines; metal2vulkan-runtime makes none L tile
MTLDevice.h MTLDevice method convertSparseTileRegions:toPixelRegions:withTileSize:numRegions: M tile render pipelines; metal2vulkan-runtime makes none L tile
MTLDevice.h MTLDevice method sparseTileSizeInBytesForSparsePageSize: M tile render pipelines; metal2vulkan-runtime makes none L tile
MTLDevice.h MTLDevice method sparseTileSizeWithTextureType:pixelFormat:sampleCount:sparsePageSize: M tile render pipelines; metal2vulkan-runtime makes none L tile
MTLDevice.h MTLDevice method sparseTileSizeWithTextureType:pixelFormat:sampleCount: M sparse tiles S sparse
MTLDevice.h MTLDevice property sparseTileSizeInBytes M sparse tiles S sparse
MTLDevice.h MTLDevice method convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions: M sparse tiles S sparse
MTLDevice.h MTLDevice method convertSparseTileRegions:toPixelRegions:withTileSize:numRegions: M sparse tiles S sparse
MTLDevice.h MTLDevice method sparseTileSizeInBytesForSparsePageSize: M sparse tiles S sparse
MTLDevice.h MTLDevice method sparseTileSizeWithTextureType:pixelFormat:sampleCount:sparsePageSize: M sparse tiles S sparse
MTLDevice.h MTLDevice property maxBufferLength O the consumer's: it states one no larger than `MAX_BUFFER_LENGTH` (metal2vulkan-runtime's README, Memory blocks and buffers)
MTLDevice.h MTLDevice property counterSets M counter sets; the runtime samples none, so an empty list would be its answer S queries
MTLDevice.h MTLDevice method newCounterSampleBufferWithDescriptor:error: M counter sample buffers M counters
1 header container kind name deprecated status crate counterpart note size group
1135 MTLDevice.h MTLDevice method newIOHandleWithURL:compressionMethod:error: yes M fast resource loading L io
1136 MTLDevice.h MTLDevice method newIOFileHandleWithURL:error: M fast resource loading L io
1137 MTLDevice.h MTLDevice method newIOFileHandleWithURL:compressionMethod:error: M fast resource loading L io
1138 MTLDevice.h MTLDevice method sparseTileSizeWithTextureType:pixelFormat:sampleCount: M tile render pipelines; metal2vulkan-runtime makes none sparse tiles L S tile sparse
1139 MTLDevice.h MTLDevice property sparseTileSizeInBytes M tile render pipelines; metal2vulkan-runtime makes none sparse tiles L S tile sparse
1140 MTLDevice.h MTLDevice method convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions: M tile render pipelines; metal2vulkan-runtime makes none sparse tiles L S tile sparse
1141 MTLDevice.h MTLDevice method convertSparseTileRegions:toPixelRegions:withTileSize:numRegions: M tile render pipelines; metal2vulkan-runtime makes none sparse tiles L S tile sparse
1142 MTLDevice.h MTLDevice method sparseTileSizeInBytesForSparsePageSize: M tile render pipelines; metal2vulkan-runtime makes none sparse tiles L S tile sparse
1143 MTLDevice.h MTLDevice method sparseTileSizeWithTextureType:pixelFormat:sampleCount:sparsePageSize: M tile render pipelines; metal2vulkan-runtime makes none sparse tiles L S tile sparse
1144 MTLDevice.h MTLDevice property maxBufferLength O the consumer's: it states one no larger than `MAX_BUFFER_LENGTH` (metal2vulkan-runtime's README, Memory blocks and buffers)
1145 MTLDevice.h MTLDevice property counterSets M counter sets; the runtime samples none, so an empty list would be its answer S queries
1146 MTLDevice.h MTLDevice method newCounterSampleBufferWithDescriptor:error: M counter sample buffers M counters