Files
reims-vgpu/guest/bundle/tests/protocol_members.txt
T
Anees Iqbal 03d0d1bb65 🆕 Make the device's GL shaders libraries of AIR it lowers
macOS's OpenGL renderer over Metal hands a device each shader as GL IR
and each variant as plugin data. Metal's own devices lower the two to
AIR in their compiler service; ours has none, so a variant is now
lowered in the renderer's process, through the GL code generator the
system ships beside the renderer, called in place. The AIR goes into a
.metallib of one function, which the device makes a library of, so it
reaches the host as any library does.

- RgfxGLFunction answers the six newFunctionWith{GL,GLCore,GLES}IR:
  members, with what Metal's own function of GL IR answers.
- RgfxMetallibWriter writes the .metallib, and unwraps the bitcode the
  system's LLVM writes, which Metal refuses wrapped twice.
- The generator's return data rides with the variant, and the render
  and compute reflections answer it as Metal's do.
- The register lists the device's GL members as implemented and the GL
  function's members.
2026-11-07 06:57:50 -08:00

1280 lines
66 KiB
Plaintext

# The register of the Metal protocol members the bundle's classes answer, and how each is
# answered: tests/protocol_members_tests.mm walks every member of every MTL* protocol a class of
# ours adopts, through the Objective-C runtime, and fails on a member this file does not list, a
# line no class has, or a kind the code contradicts. Its header says what each kind means and
# what is checked of it. A new member (a new macOS, a new class or protocol) fails the test until
# it is listed here; the test's --propose prints a line for each, with the kind the code suggests.
#
# One line per member, "selector kind text", under the [Class] that answers it: a member a
# subclass inherits from a class of ours is listed under that class, and one only a base that is
# not ours answers, or no class answers, under the class that adopts the protocol. The protocols
# are those of the Mac the test runs on (its Metal.framework), which the guest's macOS may differ
# from by a few members.
#
# The reasons several lines share:
%debug debug groups, signposts and markers name work for Metal's capture and profiling tools; no result, order or value the guest sees changes, and the device has no such tools
%no-peers a view of the object on another GPU of a peer group: no buffer or texture of the device is one, and Metal answers nil for an object that is not (measured for a texture: M3 Max)
%no-sparse the device makes no sparse buffers or textures (their creators are RGFX_UNSUPPORTED), so no resource of it has a sparse tier, tiles or a mip tail
%pipeline-reflection Metal answers nil for a pipeline a device makes, reflection asked for or not (measured: M3 Max, compute and render; AMD 5300M and Intel 630, render)
%no-validation the device validates no shader, and Metal answers MTLShaderValidationDisabled for a pipeline made without validation (measured: M3 Max, compute and render; AMD 5300M and Intel 630, render)
%absent-as-metal none of Metal's own devices answers it either (measured with respondsToSelector:, M3 Max on macOS 27 and the AMD 5300M and Intel 630 on macOS 26.7.1), so a caller that sends it to any device checks first
%base-creator left to the base, as tests/inherited_tests.mm lists, with why
%base-spi an MTLDeviceSPI query, setter or tool hook the IOGPU base answers from its own state; the device answers every member of MTLDevice itself. tools/base_answers_probe.m compares what the base answers on this device with Metal's own devices (aud-tests-04)
%spi-unverified an MTLDeviceSPI feature query the M3 Max, the AMD 5300M and the Intel UHD 630 all answer YES (measured, tools/base_answers_probe.m), and the IOGPU base answers NO here: what it gates, and whether the lane carries that, is not established, so the base's NO stands until it is (aud-tests-04)
%spi-no-ray-tracing the IOGPU base answers NO, the lane's answer: it makes no acceleration structures (ray tracing is RGFX_UNSUPPORTED, and supportsRaytracing answers the host's NO), where Metal's devices answer YES
%icb-render-states the macOS 26 render states of an indirect command: the AMD 5300M and the Intel 630 raise an unrecognized selector for each, answering respondsToSelector: YES (measured, tools/oracle/oracle_icb.m), and so does the command (the M3 Max raises an API-not-supported exception)
%spi-no-counters the IOGPU base answers NO, the lane's answer: it samples no counters (counter sampling is RGFX_UNSUPPORTED, and counterSets is nil), where Metal's devices answer YES
%spi-no-dylibs the IOGPU base answers NO, the lane's answer: it makes no dynamic libraries (RGFX_UNSUPPORTED, and supportsDynamicLibraries answers NO), where Metal's devices answer YES
%spi-no-pipeline-libraries the IOGPU base answers NO, the lane's answer: it makes no pipeline libraries (newPipelineLibraryWithFilePath:error: is RGFX_UNSUPPORTED), where Metal's devices answer YES
%spi-no-shared-textures the IOGPU base answers NO, the lane's answer: it makes no shared textures or handles (RGFX_UNSUPPORTED), where Metal's devices answer YES
%gl-function Metal's own function of GL IR answers it, the same for every shader (measured: macOS 26.7.1, the Intel 630's device: the name __main, MTLPatchTypeNone, a control point count of 0, no vertex or stage input attributes, no function constants, no options)
[RgfxArgumentEncoder]
alignment implemented
constantDataAtIndex: implemented
encodedLength implemented
newArgumentEncoderForBufferAtIndex: implemented
setAccelerationStructure:atIndex: partial ray tracing
setArgumentBuffer:offset: implemented
setArgumentBuffer:startOffset:arrayElement: implemented
setBuffer:offset:atIndex: implemented
setBuffers:offsets:withRange: implemented
setComputePipelineState:atIndex: implemented
setComputePipelineStates:withRange: implemented
setDepthStencilState:atIndex: metal no x86 Mac's encoder holds a depth/stencil state: the AMD 5300M's and the Intel 630's raise an unrecognized selector for every state, nil among them, answering respondsToSelector: YES (measured, tools/oracle/oracle_bundle.m argbuf.ds.tex, .texnil and .nil), as this does
setDepthStencilStates:withRange: metal as setDepthStencilState:atIndex: for each state, which raises
setIndirectCommandBuffer:atIndex: implemented
setIndirectCommandBuffers:withRange: implemented
setIntersectionFunctionTable:atIndex: partial ray tracing
setIntersectionFunctionTables:withRange: implemented
setRenderPipelineState:atIndex: implemented
setRenderPipelineStates:withRange: implemented
setSamplerState:atIndex: implemented
setSamplerStates:withRange: implemented
setTexture:atIndex: implemented
setTextures:withRange: implemented
setVisibleFunctionTable:atIndex: partial function pointers
setVisibleFunctionTables:withRange: implemented
[RgfxBinaryArchive]
addComputePipelineFunctionsWithDescriptor:error: implemented
addFunctionWithDescriptor:library:error: implemented
addLibraryWithDescriptor:error: partial stitched libraries with no device to stitch them
addMeshRenderPipelineFunctionsWithDescriptor:error: implemented
addRenderPipelineFunctionsWithDescriptor:error: implemented
addTileRenderPipelineFunctionsWithDescriptor:error: implemented
device implemented
label implemented
serializeToURL:error: implemented
setLabel: implemented
[RgfxBlitCommandEncoder]
barrierAfterQueueStages:beforeStages: implemented
copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin: implemented
copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options: implemented
copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size: implemented
copyFromTensor:sourceOrigin:sourceDimensions:sourcePlane:toTensor:destinationOrigin:destinationDimensions:destinationPlane: unsupported tensors
copyFromTensor:sourceOrigin:sourceDimensions:toTensor:destinationOrigin:destinationDimensions: unsupported tensors
copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage: implemented
copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options: implemented
copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin: implemented
copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount: implemented
copyFromTexture:toTexture: implemented
copyIndirectCommandBuffer:sourceRange:destination:destinationIndex: implemented
device implemented
endEncoding implemented
fillBuffer:range:value: implemented
generateMipmapsForTexture: implemented
getTextureAccessCounters:region:mipLevel:slice:resetCounters:countersBuffer:countersBufferOffset: absent the access counters of a sparse texture's tiles: the device makes no sparse textures
insertDebugSignpost: metal %debug
label implemented
optimizeContentsForCPUAccess: implemented
optimizeContentsForCPUAccess:slice:level: implemented
optimizeContentsForGPUAccess: implemented
optimizeContentsForGPUAccess:slice:level: implemented
optimizeIndirectCommandBuffer:withRange: implemented
popDebugGroup metal %debug
pushDebugGroup: metal %debug
resetCommandsInBuffer:withRange: implemented
resetTextureAccessCounters:region:mipLevel:slice: absent the access counters of a sparse texture's tiles: the device makes no sparse textures
resolveCounters:inRange:destinationBuffer:destinationOffset: unsupported counter sampling
sampleCountersInBuffer:atSampleIndex:withBarrier: unsupported counter sampling
setLabel: implemented
synchronizeResource: implemented
synchronizeTexture:slice:level: implemented
updateFence: implemented
waitForFence: implemented
[RgfxBuffer]
addDebugMarker:range: metal %debug
allocatedSize implemented
contents implemented
cpuCacheMode implemented
didModifyRange: implemented
gpuAddress implemented
hazardTrackingMode implemented
length implemented
newRemoteBufferViewForDevice: unsupported remote buffer views
newTensorWithDescriptor:offset:error: unsupported tensors
newTextureWithDescriptor:offset:bytesPerRow: implemented
remoteStorageBuffer metal %no-peers
removeAllDebugMarkers metal %debug
resourceOptions implemented
sparseBufferTier metal %no-sparse
storageMode implemented
[RgfxCmdBuffer]
GPUEndTime implemented
GPUStartTime implemented
accelerationStructureCommandEncoder unsupported ray tracing
accelerationStructureCommandEncoderWithDescriptor: unsupported ray tracing
addCompletedHandler: implemented
addScheduledHandler: implemented
blitCommandEncoder implemented
blitCommandEncoderWithDescriptor: implemented
commandQueue implemented
commit implemented
computeCommandEncoder implemented
computeCommandEncoderWithDescriptor: implemented
computeCommandEncoderWithDispatchType: implemented
encodeSignalEvent:value: implemented
encodeWaitForEvent:value: implemented
enqueue implemented
error implemented
errorOptions implemented
kernelEndTime implemented
kernelStartTime implemented
label implemented
logs implemented
parallelRenderCommandEncoderWithDescriptor: implemented
popDebugGroup metal %debug
presentDrawable: implemented
presentDrawable:afterMinimumDuration: implemented
presentDrawable:atTime: implemented
pushDebugGroup: metal %debug
renderCommandEncoderWithDescriptor: implemented
resourceStateCommandEncoder unsupported sparse textures
resourceStateCommandEncoderWithDescriptor: unsupported sparse textures
retainedReferences implemented
setLabel: implemented
status implemented
useResidencySet: partial residency sets
useResidencySets:count: partial residency sets
waitUntilCompleted implemented
waitUntilScheduled implemented
[RgfxCommandQueue]
addResidencySet: partial residency sets
addResidencySets:count: partial residency sets
commandBuffer implemented
commandBufferWithDescriptor: implemented
commandBufferWithUnretainedReferences implemented
insertDebugCaptureBoundary metal %debug
label implemented
removeResidencySet: partial residency sets
removeResidencySets:count: partial residency sets
setLabel: implemented
[RgfxComputeCommandEncoder]
barrierAfterQueueStages:beforeStages: implemented
device implemented
dispatchThreadgroups:threadsPerThreadgroup: implemented
dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup: implemented
dispatchThreads:threadsPerThreadgroup: implemented
dispatchType implemented
endEncoding implemented
executeCommandsInBuffer:indirectBuffer:indirectBufferOffset: implemented
executeCommandsInBuffer:withRange: implemented
insertDebugSignpost: metal %debug
label implemented
memoryBarrierWithResources:count: implemented
memoryBarrierWithScope: implemented
popDebugGroup metal %debug
pushDebugGroup: metal %debug
sampleCountersInBuffer:atSampleIndex:withBarrier: unsupported counter sampling
setAccelerationStructure:atBufferIndex: partial ray tracing
setBuffer:offset:atIndex: implemented
setBuffer:offset:attributeStride:atIndex: implemented
setBufferOffset:atIndex: implemented
setBufferOffset:attributeStride:atIndex: implemented
setBuffers:offsets:attributeStrides:withRange: implemented
setBuffers:offsets:withRange: implemented
setBytes:length:atIndex: implemented
setBytes:length:attributeStride:atIndex: implemented
setComputePipelineState: implemented
setImageblockWidth:height: implemented
setIntersectionFunctionTable:atBufferIndex: partial ray tracing
setIntersectionFunctionTables:withBufferRange: partial ray tracing
setLabel: implemented
setSamplerState:atIndex: implemented
setSamplerState:lodMinClamp:lodMaxClamp:atIndex: implemented
setSamplerStates:lodMinClamps:lodMaxClamps:withRange: implemented
setSamplerStates:withRange: implemented
setStageInRegion: implemented
setStageInRegionWithIndirectBuffer:indirectBufferOffset: implemented
setTexture:atIndex: implemented
setTextures:withRange: implemented
setThreadgroupMemoryLength:atIndex: implemented
setVisibleFunctionTable:atBufferIndex: partial function pointers
setVisibleFunctionTables:withBufferRange: partial function pointers
updateFence: implemented
useHeap: implemented
useHeaps:count: implemented
useResource:usage: implemented
useResources:count:usage: implemented
waitForFence: implemented
[RgfxComputePipelineState]
allocatedSize unsupported a pipeline's allocated size (not in the host's reflection)
forwardProgressUsage implemented
functionHandleWithBinaryFunction: unsupported function pointers
functionHandleWithFunction: unsupported function pointers
functionHandleWithName: unsupported function pointers
gpuResourceID implemented
imageblockMemoryLengthForDimensions: unsupported imageblock memory queries (not in the host's reflection)
maxTotalThreadsPerThreadgroup implemented
newComputePipelineStateWithAdditionalBinaryFunctions:error: unsupported binary functions
newComputePipelineStateWithBinaryFunctions:error: unsupported binary functions
newIntersectionFunctionTableWithDescriptor: unsupported ray tracing
newVisibleFunctionTableWithDescriptor: unsupported function pointers
recommendedPersistentThreadgroupsPerGridForThreadsPerThreadgroup: unsupported persistent threadgroup queries (not in the host's reflection)
reflection metal %pipeline-reflection
requiredThreadsPerThreadgroup implemented
shaderValidation metal %no-validation
staticThreadgroupMemoryLength implemented
supportIndirectCommandBuffers implemented
threadExecutionWidth implemented
[RgfxDepthStencilState]
gpuResourceID metal no x86 Mac's depth/stencil state has a resource id: the AMD 5300M's and the Intel 630's answer respondsToSelector: YES and raise an unrecognized selector (measured, tools/oracle/oracle_bundle.m argbuf.ds.id), as this does
[RgfxFunction]
functionConstantsDictionary implemented
functionType implemented
name implemented
newArgumentEncoderWithBufferIndex: implemented
newArgumentEncoderWithBufferIndex:reflection: implemented
options implemented
patchControlPointCount implemented
patchType implemented
stageInputAttributes unsupported a function's stage-in attributes (its reflection is not read)
vertexAttributes unsupported a function's vertex attributes (its reflection is not read)
[RgfxFunctionArrayLibrary]
functionNames implemented
installName metal a function array's library has no install name: both x86 Macs answer nil (measured, tools/oracle/oracle_bundle.m libforms2)
newFunctionWithDescriptor:completionHandler: implemented
newFunctionWithDescriptor:error: implemented
newFunctionWithName: implemented
newFunctionWithName:constantValues:completionHandler: implemented
newFunctionWithName:constantValues:error: implemented
newIntersectionFunctionWithDescriptor:completionHandler: implemented
newIntersectionFunctionWithDescriptor:error: unsupported ray tracing
reflectionForFunctionWithName: metal a function array's library reflects no function: both x86 Macs answer nil (measured, tools/oracle/oracle_bundle.m libforms3)
type metal a function array's library is executable: both x86 Macs answer MTLLibraryTypeExecutable (measured, tools/oracle/oracle_bundle.m libforms2)
[RgfxGLFunction]
device implemented
functionConstantsDictionary metal %gl-function
functionType implemented
label implemented
name metal %gl-function
newArgumentEncoderWithBufferIndex: metal Metal's function of GL IR asserts that the index identifies no argument buffer (measured: macOS 26.7.1, the Intel 630's device), and so does this, with its words
newArgumentEncoderWithBufferIndex:reflection: metal as newArgumentEncoderWithBufferIndex:, which ends the process
options metal %gl-function
patchControlPointCount metal %gl-function
patchType metal %gl-function
setLabel: implemented
stageInputAttributes metal %gl-function
vertexAttributes metal %gl-function
[RgfxHeap]
allocatedSize implemented
cpuCacheMode implemented
currentAllocatedSize implemented
hazardTrackingMode implemented
maxAvailableSizeWithAlignment: implemented
newAccelerationStructureWithDescriptor: unsupported ray tracing
newAccelerationStructureWithDescriptor:offset: unsupported ray tracing
newAccelerationStructureWithSize: unsupported ray tracing
newAccelerationStructureWithSize:offset: unsupported ray tracing
newBufferWithLength:options: implemented
newBufferWithLength:options:offset: implemented
newTextureWithDescriptor: implemented
newTextureWithDescriptor:offset: implemented
resourceOptions implemented
size implemented
storageMode implemented
type implemented
usedSize implemented
[RgfxIOSurfaceTexture]
allocatedSize implemented
getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice: implemented
getBytes:bytesPerRow:fromRegion:mipmapLevel: implemented
iosurface implemented
iosurfacePlane implemented
replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage: implemented
replaceRegion:mipmapLevel:withBytes:bytesPerRow: implemented
setPurgeableState: implemented
[RgfxIndirectCommandBuffer]
allocatedSize implemented
cpuCacheMode implemented
gpuResourceID implemented
hazardTrackingMode implemented
indirectComputeCommandAtIndex: implemented
indirectRenderCommandAtIndex: implemented
resetWithRange: implemented
resourceOptions implemented
size implemented
storageMode implemented
[RgfxIndirectComputeCommand]
clearBarrier implemented
concurrentDispatchThreadgroups:threadsPerThreadgroup: implemented
concurrentDispatchThreads:threadsPerThreadgroup: implemented
reset implemented
setBarrier implemented
setComputePipelineState: implemented
setImageblockWidth:height: implemented
setKernelBuffer:offset:atIndex: implemented
setKernelBuffer:offset:attributeStride:atIndex: implemented
setStageInRegion: implemented
setThreadgroupMemoryLength:atIndex: implemented
[RgfxIndirectRenderCommand]
clearBarrier implemented
drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride: implemented
drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance: implemented
drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: unsupported mesh shading in indirect command buffers (no mesh pipeline supports them)
drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: unsupported mesh shading in indirect command buffers (no mesh pipeline supports them)
drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride: implemented
drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance: implemented
reset implemented
setBarrier implemented
setCullMode: metal %icb-render-states
setDepthBias:slopeScale:clamp: metal %icb-render-states
setDepthClipMode: metal %icb-render-states
setDepthStencilState: metal %icb-render-states
setFragmentBuffer:offset:atIndex: implemented
setFrontFacingWinding: metal %icb-render-states
setMeshBuffer:offset:atIndex: unsupported mesh shading in indirect command buffers (no mesh pipeline supports them)
setObjectBuffer:offset:atIndex: unsupported mesh shading in indirect command buffers (no mesh pipeline supports them)
setObjectThreadgroupMemoryLength:atIndex: unsupported mesh shading in indirect command buffers (no mesh pipeline supports them)
setRenderPipelineState: implemented
setTriangleFillMode: metal %icb-render-states
setVertexBuffer:offset:atIndex: implemented
setVertexBuffer:offset:attributeStride:atIndex: implemented
[RgfxLibrary]
functionNames implemented
installName metal every library the device makes is executable (it makes no dynamic library: supportsDynamicLibraries answers NO), and an executable library has no install name (nil, as Metal answers)
newFunctionWithDescriptor:completionHandler: implemented
newFunctionWithDescriptor:error: implemented
newFunctionWithName: implemented
newFunctionWithName:constantValues:completionHandler: implemented
newFunctionWithName:constantValues:error: partial function constants set by name
newIntersectionFunctionWithDescriptor:completionHandler: implemented
newIntersectionFunctionWithDescriptor:error: unsupported ray tracing
reflectionForFunctionWithName: partial function reflection (the host sends no argument bindings)
type metal every library the device makes is executable: it makes no dynamic library (supportsDynamicLibraries answers NO)
[RgfxMetalDevice]
GPUBVHBuilder base %base-spi
_deviceWrapper base %base-spi
_registerInterestNotification base %base-spi
_removeRequested base %base-spi
_setDeviceWrapper: base %base-spi
_wasRemoved base %base-spi
accelerationStructureSizesWithDescriptor: unsupported ray tracing
acceleratorPort base %base-spi
allowLibrariesFromOtherPlatforms base %base-spi
architecture implemented
areBarycentricCoordsSupported implemented
areGPUAssertionsEnabled base %base-spi
areProgrammableSamplePositionsSupported implemented
areRasterOrderGroupsSupported implemented
areWritableHeapsEnabled base %base-spi
argumentBuffersSupport implemented
bufferRobustnessSupport base %base-spi
commandBufferErrorOptions base %base-spi
commandQueueLimit base %base-spi
compileVisibleFunction:withDescriptor:completionHandler: partial function pointers
compileVisibleFunction:withDescriptor:destinationBinaryArchive:error: unsupported function pointers
compileVisibleFunction:withDescriptor:error: unsupported function pointers
compilerPropagatesThreadPriority: base %base-creator
convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions: base %base-spi
convertSparseTileRegions:toPixelRegions:withTileSize:numRegions: base %base-spi
copyIOSurfaceSharedTextureProperties: implemented
counterSets base %base-spi
currentAllocatedSize unsupported the device's allocation count (answers 0)
currentCommandQueueCount base %base-spi
currentPerformanceState base %base-spi
dedicatedMemorySize base %base-spi
defaultCompilerProcessesCount base %base-spi
defaultTextureWriteRoundingMode base %base-spi
deserializeCompileTimeStats:addToDictionary: base %base-spi
deserializeInstanceAccelerationStructure:fromBytes:primitiveAccelerationStructures:withDescriptor: base %base-spi
deserializeInstanceAccelerationStructureFromBytes:primitiveAccelerationStructures:withDescriptor: base %base-spi
deserializePrimitiveAccelerationStructure:fromBytes:withDescriptor: base %base-spi
deserializePrimitiveAccelerationStructureFromBytes:withDescriptor: base %base-spi
deviceCreationFlags base %base-spi
deviceLinearReadOnlyTextureAlignmentBytes base %base-spi
deviceLinearTextureAlignmentBytes implemented
deviceOrFeatureProfileSupportsFeatureSet: base %base-spi
deviceSupportsFeatureSet: base %base-spi
doubleFPConfig implemented
endCollectingPipelineDescriptors base %base-spi
familyName implemented class 2 (the Macs diverge): the device name without the vendor and the model number, as the Macs answer theirs (measured: "M3 Max" for Apple M3 Max, "Radeon Pro" for AMD Radeon Pro 5300M, "UHD Graphics" for Intel(R) UHD Graphics 630), so "GeForce RTX" for an RTX 5080; the IOGPU base answered ""
featureProfile implemented
featureQueries base %base-spi
functionHandleWithBinaryFunction: unsupported function pointers
functionHandleWithFunction: unsupported function pointers
functionHandleWithFunction:resourceIndex: unsupported function pointers
genericAddressSpaceDispatchInfo base %base-spi
getBVHBuilderLock base %base-spi
getCompilerConnectionManager: base %base-spi
getDefaultSamplePositions:count: base %base-spi
getMostCompatibleArchitecture: base %base-spi
getRawBVHBuilderPtr base %base-spi
getShaderCacheKeys base %base-spi
getSurfaceMode:width:height:forId: base %base-spi
halfFPConfig implemented
hasUnifiedMemory implemented
heapAccelerationStructureSizeAndAlignWithDescriptor: unsupported ray tracing
heapAccelerationStructureSizeAndAlignWithSize: unsupported ray tracing
heapBufferSizeAndAlignWithLength:options: partial the host's heap buffer alignment (none in the device info):
heapTextureSizeAndAlignWithDescriptor: implemented
indirectArgumentBufferCapabilities base %base-spi
indirectArgumentBufferDecodingData base %base-spi
iosurfaceReadOnlyTextureAlignmentBytes base %base-spi
iosurfaceTextureAlignmentBytes base %base-spi
isASTCPixelFormatsSupported base %base-spi
isAnisoSampleFixSupported base %base-spi
isBCTextureCompressionSupported base %base-spi
isClampToHalfBorderSupported base %base-spi
isCompatibleWithAccelerationStructure: base %base-spi
isCustomBorderColorSupported base %base-spi
isDepth24Stencil8PixelFormatSupported implemented
isFixedLinePointFillDepthGradientSupported base %base-spi
isFloat32FilteringSupported base %base-spi
isFramebufferReadSupported implemented
isHeadless implemented
isLargeMRTSupported base %base-spi
isLowPower implemented
isMagicMipmapSupported base %base-spi
isMsaa32bSupported base %base-spi
isPlacementHeapSupported base %base-spi
isQuadDataSharingSupported base %base-spi
isRGB10A2GammaSupported base %base-spi
isRTZRoundingSupported base %base-spi
isRemovable implemented
isSystemDefaultDevice absent %absent-as-metal
isVendorSliceCompatibleWithDeploymentTarget:platform:sdkVersion:compilerPluginVersion: base %base-spi
latestSupportedGenericBVHVersion base %base-spi
libraryCacheStats base %base-spi
limits base %base-spi
linearTextureAlignmentBytes implemented
linearTextureArrayAlignmentBytes base %base-spi
linearTextureArrayAlignmentSlice base %base-spi
llvmVersion base %base-spi
loadDynamicLibrariesForComputeDescriptor:error: base %base-creator
loadDynamicLibrariesForComputeDescriptor:options:error: base %base-creator
loadDynamicLibrariesForFunction:insertLibraries:error: base %base-creator
loadDynamicLibrariesForFunction:insertLibraries:options:error: base %base-creator
location implemented
locationNumber implemented
mapShaderSampleBufferWithBuffer:capacity:size: unsupported shader sample buffers (shader profiling)
maxAccelerationStructureLevels base %base-spi
maxAccelerationStructureTraversalDepth base %base-spi
maxArgumentBufferSamplerCount implemented
maxBufferLength implemented
maxColorAttachments base %base-spi
maxComputeAttributes base %base-spi
maxComputeBuffers base %base-spi
maxComputeInlineDataSize base %base-spi
maxComputeLocalMemorySizes base %base-spi
maxComputeSamplers base %base-spi
maxComputeTextures implemented
maxComputeThreadgroupMemory base %base-spi
maxComputeThreadgroupMemoryAlignmentBytes base %base-spi
maxConcurrentExecutingCompilationTasks base %base-spi
maxConstantBufferArguments base %base-spi
maxCustomSamplePositions base %base-spi
maxFenceInstances base %base-spi
maxFragmentBuffers base %base-spi
maxFragmentInlineDataSize base %base-spi
maxFragmentSamplers base %base-spi
maxFragmentTextures implemented
maxFramebufferStorageBits base %base-spi
maxFunctionConstantIndices base %base-spi
maxIOCommandsInFlight base %base-spi
maxIndirectBuffers base %base-spi
maxIndirectSamplers base %base-spi
maxIndirectSamplersPerDevice base %base-spi
maxIndirectTextures base %base-spi
maxInterpolants base %base-spi
maxInterpolatedComponents base %base-spi
maxLineWidth base %base-spi
maxPointSize base %base-spi
maxPredicatedNestingDepth base %base-spi
maxRasterizationRateLayerCount base %base-spi
maxTessellationFactor base %base-spi
maxTextureBufferWidth base %base-spi
maxTextureDepth3D base %base-spi
maxTextureDimensionCube base %base-spi
maxTextureHeight2D base %base-spi
maxTextureHeight3D base %base-spi
maxTextureLayers base %base-spi
maxTextureWidth1D base %base-spi
maxTextureWidth2D base %base-spi
maxTextureWidth3D base %base-spi
maxThreadgroupMemoryLength implemented
maxThreadsPerThreadgroup implemented
maxTileBuffers base %base-spi
maxTileInlineDataSize base %base-spi
maxTileSamplers base %base-spi
maxTileTextures base %base-spi
maxTotalComputeThreadsPerThreadgroup base %base-spi
maxTransferRate implemented
maxVertexAmplificationCount implemented
maxVertexAmplificationFactor base %base-spi
maxVertexAttributes base %base-spi
maxVertexBuffers base %base-spi
maxVertexInlineDataSize base %base-spi
maxVertexSamplers implemented
maxVertexTextures base %base-spi
maxViewportCount base %base-spi
maxVisibilityQueryOffset base %base-spi
maximumCompilerProcessesCount base %base-spi
maximumComputeSubstreams base %base-spi
maximumConcurrentCompilationTaskCount implemented
metalAssertionsEnabled implemented
minBufferNoCopyAlignmentBytes base %base-spi
minConstantBufferAlignmentBytes base %base-spi
minLinearTextureAlignmentForPixelFormat: base %base-spi
minLinearTextureBaseAddressAlignmentForDescriptor: base %base-spi
minLinearTexturePitchAlignmentForDescriptor:mustMatchExactly: base %base-spi
minTilePixels base %base-spi
minimumLinearTextureAlignmentForPixelFormat: implemented
minimumTextureBufferAlignmentForPixelFormat: implemented
motionEstimatorCapabilities base %base-spi
mtlTensorFromGpuResourceID: base %base-spi
name implemented
newAccelerationStructureWithBuffer:offset: unsupported ray tracing
newAccelerationStructureWithBuffer:offset:resourceIndex: unsupported ray tracing
newAccelerationStructureWithDescriptor: unsupported ray tracing
newAccelerationStructureWithSize: unsupported ray tracing
newAccelerationStructureWithSize:resourceIndex: unsupported ray tracing
newAccelerationStructureWithSize:withDescriptor: unsupported ray tracing
newArchiveWithURL:error: unsupported the Metal 4 API
newArgumentEncoderWithArguments: implemented
newArgumentEncoderWithBufferBinding: implemented
newArgumentEncoderWithLayout: unsupported argument buffers of a layout object
newArgumentTableWithDescriptor:error: unsupported the Metal 4 API
newBinaryArchiveWithDescriptor:error: implemented
newBinaryLibraryWithOptions:url:error: unsupported binary libraries
newBufferWithBytes:length:options: implemented
newBufferWithBytes:length:options:gpuAddress: absent %absent-as-metal
newBufferWithBytesNoCopy:length:options:deallocator: implemented
newBufferWithBytesNoCopy:length:options:gpuAddress:deallocator: absent %absent-as-metal
newBufferWithDescriptor: partial buffer descriptors placing a buffer at a GPU address
newBufferWithIOSurface: metal no buffer over an IOSurface: the AMD 5300M and the Intel 630 answer nil for BGRA and two-plane 420v surfaces (measured, tools/oracle/oracle_bundle.m iosurf.buffer)
newBufferWithLength:options: implemented
newBufferWithLength:options:gpuAddress: absent %absent-as-metal
newBufferWithLength:options:placementSparsePageSize: unsupported placement sparse buffers
newCommandAllocator unsupported the Metal 4 API
newCommandAllocatorWithDescriptor:error: unsupported the Metal 4 API
newCommandBuffer unsupported the Metal 4 API
newCommandQueue implemented
newCommandQueueWithDescriptor: implemented
newCommandQueueWithMaxCommandBufferCount: implemented
newCompilerWithDescriptor:error: unsupported the Metal 4 API
newComputePipelineDescriptorWithSerializedData:deserializationContext: base %base-creator
newComputePipelineStateWithDescriptor:completionHandler: implemented
newComputePipelineStateWithDescriptor:error: implemented
newComputePipelineStateWithDescriptor:options:completionHandler: implemented
newComputePipelineStateWithDescriptor:options:reflection:error: implemented
newComputePipelineStateWithFunction:completionHandler: implemented
newComputePipelineStateWithFunction:error: implemented
newComputePipelineStateWithFunction:options:completionHandler: implemented
newComputePipelineStateWithFunction:options:reflection:error: implemented
newComputePipelineStateWithImageFilterFunctionsSPI:imageFilterFunctionInfo:error: partial a Core Image link of other than one kernel
newCounterHeapWithDescriptor:error: unsupported the Metal 4 API
newCounterSampleBufferWithDescriptor:error: unsupported counter sampling
newDagStringWithGraphs: base %base-creator
newDefaultLibrary implemented
newDefaultLibraryWithBundle:error: implemented
newDepthStencilStateWithDescriptor: implemented
newDynamicLibrary:computeDescriptor:error: unsupported dynamic libraries
newDynamicLibrary:error: unsupported dynamic libraries
newDynamicLibraryFromURL:error: unsupported dynamic libraries
newDynamicLibraryWithDescriptor:error: unsupported dynamic libraries
newDynamicLibraryWithURL:error: unsupported dynamic libraries
newDynamicLibraryWithURL:options:error: unsupported dynamic libraries
newEvent implemented
newEventWithOptions: implemented
newFence implemented
newFunctionWithGLCoreIR:functionType: implemented
newFunctionWithGLCoreIR:inputsDescription:functionType: implemented
newFunctionWithGLESIR:functionType: implemented
newFunctionWithGLESIR:inputsDescription:functionType: implemented
newFunctionWithGLIR:functionType: implemented
newFunctionWithGLIR:inputsDescription:functionType: implemented
newGLDrawable unsupported OpenGL
newHeapWithDescriptor: implemented
newIOCommandQueueWithDescriptor:error: partial Metal IO command queues
newIOFileHandleWithURL:compressionMethod:error: implemented
newIOFileHandleWithURL:error: implemented
newIOHandleWithURL:compressionMethod:error: implemented
newIOHandleWithURL:error: implemented
newIndirectArgumentBufferLayoutWithStructType: unsupported argument buffers of a layout object
newIndirectArgumentEncoderWithArguments: absent %absent-as-metal
newIndirectArgumentEncoderWithLayout: unsupported argument buffers of a layout object
newIndirectCommandBufferWithDescriptor:maxCommandCount:options: partial indirect command buffers where the host offers none (INDIRECT_COMMAND_BUFFERS)
newIndirectCommandBufferWithDescriptor:maxCount:options: implemented
newIndirectComputeCommandEncoderWithBuffer: unsupported indirect command encoders (none on the wire)
newIndirectRenderCommandEncoderWithBuffer: unsupported indirect command encoders (none on the wire)
newIntersectionFunctionTableWithDescriptor: unsupported ray tracing
newLateEvalEvent unsupported late-evaluated events (none on the wire)
newLibraryWithCIFilters:imageFilterFunctionInfo:error: implemented
newLibraryWithCIFiltersForComputePipeline:imageFilterFunctionInfo:error: absent %absent-as-metal
newLibraryWithDAG:functions:error: implemented
newLibraryWithData:error: implemented
newLibraryWithDescriptor:completionHandler: implemented
newLibraryWithDescriptor:error: implemented
newLibraryWithDescriptorSPI:error: implemented
newLibraryWithFile:error: implemented
newLibraryWithGraphs:functions:error: absent %absent-as-metal
newLibraryWithGraphsSPI:functions:error: absent %absent-as-metal
newLibraryWithImageFilterFunctionsSPI:imageFilterFunctionInfo:error: implemented
newLibraryWithMPSGraphPackageURL:name:error: implemented
newLibraryWithSource:options:completionHandler: implemented
newLibraryWithSource:options:error: implemented
newLibraryWithStitchedDescriptor:completionHandler: implemented
newLibraryWithStitchedDescriptor:error: implemented
newLibraryWithStitchedDescriptorSPI:error: implemented
newLibraryWithURL:error: implemented
newLogStateWithDescriptor:error: unsupported shader log states (none on the wire)
newMTL4CommandQueue unsupported the Metal 4 API
newMTL4CommandQueueWithDescriptor:error: unsupported the Metal 4 API
newMotionEstimationPipelineWithDescriptor: absent motion estimation pipelines: of the oracles only the AMD device answers it; the M3 and Intel ones do not (measured, respondsToSelector:)
newPerformanceStateAssertion:error: unsupported performance state assertions (none on the wire)
newPipelineDataSetSerializerWithDescriptor: unsupported the Metal 4 API
newPipelineLibraryWithFilePath:error: unsupported pipeline libraries
newPrecompiledComputePipelineStateWithDescriptor:options:pipelineCache:completionHandler: partial precompiled compute pipelines of another descriptor
newPrecompiledRenderPipelineStateWithDescriptor:options:pipelineCache:completionHandler: partial precompiled render pipelines of another descriptor
newProfileWithExecutionSize: unsupported profiles
newRasterizationRateMapWithDescriptor: unsupported rasterization rate maps
newRenderPipelineDescriptorWithSerializedData:deserializationContext: base %base-creator
newRenderPipelineStateWithDescriptor:completionHandler: implemented
newRenderPipelineStateWithDescriptor:error: implemented
newRenderPipelineStateWithDescriptor:options:completionHandler: implemented
newRenderPipelineStateWithDescriptor:options:reflection:error: implemented
newRenderPipelineStateWithMeshDescriptor:completionHandler: implemented
newRenderPipelineStateWithMeshDescriptor:error: implemented
newRenderPipelineStateWithMeshDescriptor:options:completionHandler: implemented
newRenderPipelineStateWithMeshDescriptor:options:reflection:error: implemented
newRenderPipelineStateWithTileDescriptor:completionHandler: implemented
newRenderPipelineStateWithTileDescriptor:error: implemented
newRenderPipelineStateWithTileDescriptor:options:completionHandler: partial tile pipelines (no tile pipeline create on the wire)
newRenderPipelineStateWithTileDescriptor:options:reflection:error: partial tile pipelines (no tile pipeline create on the wire)
newResidencySetWithDescriptor:error: unsupported residency sets (none on the wire)
newResourceGroupFromResources:count: unsupported resource groups
newSamplerStateWithDescriptor: implemented
newSharedEvent implemented
newSharedEventWithHandle: implemented
newSharedEventWithMachPort: implemented
newSharedEventWithOptions: implemented
newSharedTextureWithDescriptor: unsupported shared textures (no cross-process texture handle on the wire)
newSharedTextureWithHandle: unsupported shared textures (no cross-process texture handle on the wire)
newSharedTextureWithHandle:withResourceIndex: unsupported shared textures (no cross-process texture handle on the wire)
newStructTypeWithSerializedData: base %base-creator
newTensorWithDescriptor:attachments:error: unsupported tensors
newTensorWithDescriptor:error: unsupported tensors
newTextureLayoutWithDescriptor:isHeapOrBufferBacked: unsupported texture layouts
newTextureViewPoolWithDescriptor:error: unsupported the Metal 4 API
newTextureWithBytesNoCopy:length:descriptor:deallocator: absent the M3 answers it and raises (the effort's selector-sweep.md row 47); the AMD and Intel devices do not answer it (measured, respondsToSelector:)
newTextureWithDescriptor: implemented
newTextureWithDescriptor:iosurface:plane: implemented
newTextureWithDescriptor:iosurface:plane:slice: implemented
newTextureWithSurface:buffer: implemented
newTileRenderPipelineDescriptorWithSerializedData:deserializationContext: base %base-creator
newTiledTextureWithBytesNoCopy:length:deallocator:descriptor:offset:bytesPerRow: partial tiled textures with a deallocator of another type
newTiledTextureWithBytesNoCopy:length:descriptor:offset:bytesPerRow: implemented
newVisibleFunctionTableWithDescriptor: unsupported visible function tables (function pointers)
originalDefaultCompilerProcessesCount base %base-spi
originalThreadsPerCompilerProcess base %base-spi
peerCount implemented
peerGroupID implemented
peerIndex implemented
pipelineCacheStats base %base-spi
pluginData base %base-spi
productName base %base-spi
queryTimestampFrequency implemented
readWriteTextureSupport implemented
recommendedMaxWorkingSetSize implemented
registryID implemented
requiredLinearTextureBytesPerRowForDescriptor: base %base-spi
requiresBFloat16Emulation base %base-spi
requiresLegacyCompilerProcessesCount base %base-spi
requiresMeshShaderEmulation base the IOGPU base answers NO, as the M3 Max does (the AMD 5300M and the Intel 630 answer YES; measured, tools/base_answers_probe.m): the host's GPU draws mesh shaders, and the device emulates none
requiresRaytracingEmulation base %base-spi
reserveGPUAddressRange: absent %absent-as-metal
reserveResourceIndicesForResourceType:indices:indexCount: metal Metal's writes nothing to indices (types 0, 1 and 2 tried; measured, the effort's selector-sweep.md row 49)
resourcePatchingTypeForResourceType: implemented
sampleTimestamps:gpuTimestamp: implemented
samplerReductionModeSupport base %base-spi
serializeComputePipelineDescriptor: base %base-spi
serializeRenderPipelineDescriptor: base %base-spi
serializeStructType: base %base-spi
serializeStructType:version: base %base-spi
serializeTileRenderPipelineDescriptor: base %base-spi
setCommandBufferErrorOptions: base %base-spi
setCompilerProcessesCount: base %base-spi
setGPUAssertionsEnabled: base %base-spi
setIndirectArgumentBufferDecodingData: base %base-spi
setMetalAssertionsEnabled: implemented
setPluginData: base %base-spi
setRawBVHBuilderPtr: base %base-spi
setRequiresLegacyCompilerProcessesCount: base %base-spi
setShaderDebugInfoCaching: base %base-spi
setShouldMaximizeConcurrentCompilation: base %base-spi
setWritableHeapsEnabled: base %base-spi
setupMPSFunctionTable: absent %absent-as-metal
shaderDebugInfoCaching base %base-spi
sharedMemorySize base %base-spi
shouldMaximizeConcurrentCompilation base %base-spi
singleFPConfig implemented
sizeOfCounterHeapEntry: unsupported Metal 4 counter heaps
sparseTexturesSupport base %base-spi
sparseTileSizeInBytes implemented
sparseTileSizeInBytesForSparsePageSize: base %base-spi
sparseTileSizeWithTextureType:pixelFormat:sampleCount: implemented
sparseTileSizeWithTextureType:pixelFormat:sampleCount:sparsePageSize: implemented
startCollectingPipelineDescriptors base %base-spi
startCollectingPipelineDescriptorsUsingPrefixForNames: base %base-spi
supportPriorityBand base %spi-unverified
supports2DLinearTexArraySPI base %base-spi
supports32BitFloatFiltering implemented
supports32BitMSAA implemented
supports32bpcMSAATextures base %base-spi
supports3DASTCTextures base %base-spi
supports3DBCTextures base %base-spi
supportsAIRNTBinaryArchiveFunctionPointers base %base-spi
supportsAIRNTBinaryArchiveSpecializedFunctions base %base-spi
supportsAIRNTBinaryArchiveStitchedFunctions base %base-spi
supportsASTCHDRTextureCompression base %base-spi
supportsASTCTextureCompression base %base-spi
supportsAlphaYUVFormats base %base-spi
supportsAnisoSampleFix base %base-spi
supportsArgumentBuffers implemented
supportsArgumentBuffersTier2 base %base-spi
supportsArrayOfSamplers implemented
supportsArrayOfTextures implemented
supportsAtomicFloat base %base-spi
supportsAtomicUlongVoidMinMax base %base-spi
supportsAtomicWaitNotify base %base-spi
supportsBCTextureCompression implemented
supportsBGR10A2 base %base-spi
supportsBaseVertexInstanceDrawing implemented
supportsBfloat16Buffers base %spi-unverified
supportsBfloat16Format base %base-spi
supportsBinaryArchives implemented
supportsBinaryLibraries base %spi-unverified
supportsBlackOrWhiteSamplerBorderColors implemented
supportsBufferBoundsChecking base %base-spi
supportsBufferPrefetchStatistics base %base-spi
supportsBufferWithAddressRanges base %base-spi
supportsBufferWithIOSurface base %base-spi
supportsBufferlessClientStorageTexture base %base-spi
supportsCMPIndirectCommandBuffers implemented
supportsColorSpaceConversionMatrixSelection base %base-spi
supportsCombinedMSAAStoreAndResolveAction implemented
supportsCommandBufferJump base %spi-unverified
supportsCommandQueueBarriers base %base-spi
supportsCompressedTextureViewSPI base %base-spi
supportsComputeCompressedTextureWrite base %base-spi
supportsComputeMemoryBarrier implemented
supportsConcurrentComputeDispatch implemented
supportsConditionalLoadStore base %base-spi
supportsConditionalTileDispatch base %base-spi
supportsCounterSampling: implemented
supportsCountingOcclusionQuery implemented
supportsCustomBorderColor base %base-spi
supportsDeadlineProfile base %base-spi
supportsDepthBoundsTesting base %base-spi
supportsDepthClipMode implemented
supportsDepthClipModeClampExtended base %spi-unverified
supportsDeviceCoherency base %base-spi
supportsDevicePartitioning base %base-spi
supportsDynamicAttributeStride implemented
supportsDynamicControlPointCount base %base-spi
supportsDynamicLibraries implemented
supportsExplicitVisibilityGroups base %base-spi
supportsExtendedIndirectRenderCommand base %base-spi
supportsExtendedSamplerLODBiasRange base %base-spi
supportsExtendedVertexFormats base %spi-unverified
supportsExtendedXR10Formats base %base-spi
supportsExtendedYUVFormats base %base-spi
supportsFP32TessFactors base %base-spi
supportsFP8 base %base-spi
supportsFamily: implemented
supportsFastMathInfNaNPropagation base %spi-unverified
supportsFeatureSet: implemented
supportsFillTexture base %base-spi
supportsFixedLinePointFillDepthGradient base %base-spi
supportsFloat16BCubicFiltering base %base-spi
supportsFloat16InfNanFiltering base %spi-unverified
supportsForceSeamsOnCubemaps base %spi-unverified
supportsForkJoin base %base-spi
supportsFragmentBufferWrites implemented
supportsFragmentOnlyEncoders base %base-spi
supportsFunctionPointers implemented
supportsFunctionPointersFromMesh base %base-spi
supportsFunctionPointersFromRender implemented
supportsGFXIndirectCommandBuffers implemented
supportsGPUStatistics base %spi-no-counters
supportsGlobalVariableBindingInDylibs base %spi-no-dylibs
supportsGlobalVariableBindings base %base-spi
supportsGlobalVariableRelocation base %base-spi
supportsGlobalVariableRelocationCompute base %spi-no-dylibs
supportsGlobalVariableRelocationRender base %base-spi
supportsHeapAccelerationStructureAllocation base %spi-no-ray-tracing
supportsHeapWithAddressRanges base %base-spi
supportsIABHashForTools base %base-spi
supportsImageBlockSampleCoverageControl base %base-spi
supportsImageBlocks implemented
supportsIndirectDrawAndDispatch implemented
supportsIndirectStageInRegion implemented
supportsIndirectTessellation implemented
supportsIndirectTextures base %spi-unverified
supportsIndirectWritableTextures base %spi-unverified
supportsInt64 implemented
supportsInterchangeTiled base %base-spi
supportsIntersectionFunctionBuffers base %base-spi
supportsInvariantVertexPosition implemented
supportsLargeFramebufferConfigs base %base-spi
supportsLateEvalEvent base %base-spi
supportsLayeredRendering implemented
supportsLimitedYUVFormats base %base-spi
supportsLinearTexture2DArray base %base-spi
supportsLinearTextureFromSharedBuffer implemented
supportsLossyCompression base %base-spi
supportsMSAADepthResolve implemented
supportsMSAADepthResolveFilter implemented
supportsMSAAStencilResolve implemented
supportsMSAAStencilResolveFilter implemented
supportsMTL4CommandAllocator base %base-spi
supportsMTL4CommandQueue base %base-spi
supportsMTL4Compiler base %base-spi
supportsMTL4ComputeCommandEncoder base %base-spi
supportsMTL4Counters base %base-spi
supportsMTL4LateBoundRenderTargets base %base-spi
supportsMTL4PSOSpecialization base %base-spi
supportsMTL4PlacementSparse base %base-spi
supportsMTL4RenderCommandEncoder base %base-spi
supportsMTLTextureViewPools base %base-spi
supportsMXU base %base-spi
supportsMXUNarrowTileSizes base %base-spi
supportsMachineLearningCommandEncoders base %base-spi
supportsMemoryOrderAtomics base %base-spi
supportsMemorylessRenderTargets base %base-spi
supportsMeshRenderDynamicLibraries base %base-spi
supportsMeshShaders implemented
supportsMeshShadersInICB base the IOGPU base answers NO, as the AMD 5300M and the Intel 630 do (the M3 Max answers YES; measured, tools/base_answers_probe.m): no mesh pipeline of the device supports indirect command buffers
supportsMipLevelsSmallerThanBlockSize base %spi-unverified
supportsMirrorClampToEdgeSamplerMode implemented
supportsMultiPlaneTensors base %base-spi
supportsMutableTier1ArgumentBuffers base %spi-unverified
supportsNativeHardwareFP16 base %base-spi
supportsNonPrivateDepthStencilTextures base %base-spi
supportsNonPrivateMSAATextures base %base-spi
supportsNonSquareTileShaders implemented
supportsNonUniformThreadgroupSize implemented
supportsNonZeroTextureWriteLOD base %base-spi
supportsNorm16BCubicFiltering base %base-spi
supportsOpenCLTextureWriteSwizzles base %spi-unverified
supportsPVRTC base %base-spi
supportsPackUnpackSmallInteger base %base-spi
supportsPacked32TextureBufferWrites base %spi-unverified
supportsPartialRenderMemoryBarrier base %spi-unverified
supportsPerPlaneCompression base %base-spi
supportsPerformanceStateAssertion base %base-spi
supportsPipelineLibraries base %spi-no-pipeline-libraries
supportsPlacementHeaps base %base-spi
supportsPlacementSparse implemented
supportsPostDepthCoverage base %base-spi
supportsPrimitiveMotionBlur implemented
supportsPrimitiveRestartOverride base %base-spi
supportsPrimitiveType: implemented
supportsProgrammableBlending base %base-spi
supportsProgrammableSamplePositions base %base-spi
supportsPublicXR10Formats base %base-spi
supportsPullModelInterpolation implemented
supportsQuadGroup implemented
supportsQuadReduction base %spi-unverified
supportsQuadShufflesAndBroadcast implemented
supportsQueryTextureLOD implemented
supportsRGBA10A2Gamma base %base-spi
supportsRGBTextureBuffers base %base-spi
supportsRTZRounding base %base-spi
supportsRasterOrderGroups implemented
supportsRasterOrderGroupsColorAttachment base %base-spi
supportsRasterizationRateMapWithLayerCount: implemented
supportsRayTracingAccelerationStructureCPUDeserialization base %base-spi
supportsRayTracingBuffersFromTables base %spi-no-ray-tracing
supportsRayTracingCurves base %spi-no-ray-tracing
supportsRayTracingDirectIntersectionResultAccess base %base-spi
supportsRayTracingExtendedVertexFormats base %spi-no-ray-tracing
supportsRayTracingGPUTableUpdateBuffers base %spi-no-ray-tracing
supportsRayTracingICBs base %spi-no-ray-tracing
supportsRayTracingIndirectInstanceAccelerationStructureBuild base %spi-no-ray-tracing
supportsRayTracingMatrixLayout base %base-spi
supportsRayTracingMultiLevelInstancing base %spi-no-ray-tracing
supportsRayTracingPerComponentMotionInterpolation base %base-spi
supportsRayTracingPerPrimitiveData base %spi-no-ray-tracing
supportsRayTracingTraversalMetrics base %base-spi
supportsRaytracing implemented
supportsRaytracingFromRender implemented
supportsReadWriteBufferArguments base %spi-unverified
supportsReadWriteTextureArguments implemented
supportsReadWriteTextureArgumentsTier2 base %base-spi
supportsReadWriteTextureCubeArguments base %spi-unverified
supportsRelaxedTextureViewRequirements base %spi-unverified
supportsRenderDynamicLibraries implemented
supportsRenderMemoryBarrier base %base-spi
supportsRenderPassWithoutRenderTarget implemented
supportsRenderTargetTextureRotation base %base-spi
supportsRenderTextureWrites implemented
supportsRenderToLinearTextures base %base-spi
supportsResourceDetachBacking base %base-spi
supportsResourceHeaps implemented
supportsSIMDGroup implemented
supportsSIMDGroupMatrix base %base-spi
supportsSIMDGroupParallelForwardProgress base %base-spi
supportsSIMDReduction implemented
supportsSIMDShuffleAndFill base %base-spi
supportsSIMDShufflesAndBroadcast implemented
supportsSRGBwrites base %base-spi
supportsSampleCount: implemented
supportsSamplerAddressModeClampToHalfBorder base %base-spi
supportsSamplerCompareFunction implemented
supportsSamplerReductionMode base %base-spi
supportsSeparateDepthStencil base %base-spi
supportsSeparateVisibilityAndShadingRate base %base-spi
supportsSetThreadgroupPackingDisabled base %base-spi
supportsShaderBarycentricCoordinates implemented
supportsShaderLODAverage base %base-spi
supportsShaderMinLODClamp implemented
supportsSharedFunctionTables base %base-spi
supportsSharedStorageHeapResources base %base-spi
supportsSharedStorageTextures base %base-spi
supportsSharedTextureHandles base %spi-no-shared-textures
supportsSparseDepthAttachments base %base-spi
supportsSparseHeaps base %base-spi
supportsSparseTextures base %base-spi
supportsStackOverflowErrorCode base %base-spi
supportsStatefulDynamicLibraries base %spi-no-dylibs
supportsStencilFeedback implemented
supportsStreamingCodecSignaling base %base-spi
supportsTLS base %base-spi
supportsTensors base %base-spi
supportsTessellation implemented
supportsTexture2DMultisampleArray implemented
supportsTextureAccessPatterns base %base-spi
supportsTextureCubeArray implemented
supportsTextureMultifetch base %base-spi
supportsTextureOutOfBoundsReads base %spi-unverified
supportsTextureSampleCount: implemented
supportsTextureSwizzle implemented
supportsTextureViewMinLOD base %base-spi
supportsTextureWriteRoundingMode: base %base-spi
supportsTileShaders implemented
supportsUnalignedVertexFetch base %base-spi
supportsVariableRateRasterization base %base-spi
supportsVertexAmplification base %base-spi
supportsVertexAmplificationCount: implemented
supportsViewportAndScissorArray implemented
supportsVirtualSubstreams base %base-spi
supportsWritableArrayOfTextures base %spi-unverified
supportsYCBCRFormats base %base-spi
supportsYCBCRFormats12 base %base-spi
supportsYCBCRFormatsPQ base %base-spi
supportsYCBCRFormatsXR base %base-spi
supportsYCBCRPackedFormats12 base %base-spi
supportsYCBCRPackedFormatsPQ base %base-spi
supportsYCBCRPackedFormatsXR base %base-spi
targetDeviceArchitecture base class 2 (the Macs diverge): the IOGPU base answers nil, the lane's answer. Each Mac answers an MTLTargetDeviceArchitecture naming its GPU compiler's target (measured: cpuType 0x1000013 subType 0x1a3 on the M3 Max, 0x1000014 0x1773 on the AMD 5300M, 0x1000015 0x950200 on the Intel UHD 630), an instruction set the host cannot run; nil names none
targetDeviceInfo base %base-spi
tensorSizeAndAlignWithDescriptor: unsupported tensors
threadsPerCompilerProcess base %base-spi
tileSizeWithSparsePageSize:textureType:pixelFormat:sampleCount: implemented
unloadShaderCaches base %base-spi
unmapShaderSampleBuffer metal the device maps no shader sample buffer (its map is RGFX_UNSUPPORTED), so there is none to unmap
validateDynamicLibrary:state:error: base %base-spi
validateDynamicLibraryDescriptor:error: base %base-spi
validateDynamicLibraryURL:error: base %base-spi
vendorName base %base-spi
writeMeshShaderEmulatorDataStructureHeader:meshShaderPSO:scalingFactor: base %base-spi
[RgfxParallelRenderCommandEncoder]
barrierAfterQueueStages:beforeStages: implemented
device implemented
endEncoding implemented
insertDebugSignpost: metal %debug
label implemented
popDebugGroup metal %debug
pushDebugGroup: metal %debug
renderCommandEncoder implemented
setColorStoreAction:atIndex: implemented
setColorStoreActionOptions:atIndex: implemented
setDepthStoreAction: implemented
setDepthStoreActionOptions: implemented
setLabel: implemented
setStencilStoreAction: implemented
setStencilStoreActionOptions: implemented
[RgfxRenderCommandEncoder]
barrierAfterQueueStages:beforeStages: implemented
device implemented
dispatchThreadsPerTile: implemented
drawIndexedPatches:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:indirectBuffer:indirectBufferOffset: implemented
drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance: implemented
drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset: implemented
drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount: implemented
drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance: implemented
drawIndexedPrimitives:indexType:indexBuffer:indexBufferOffset:indirectBuffer:indirectBufferOffset: implemented
drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: partial mesh shading (the host makes no mesh pipeline)
drawMeshThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: partial mesh shading (the host makes no mesh pipeline)
drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: partial mesh shading (the host makes no mesh pipeline)
drawPatches:patchIndexBuffer:patchIndexBufferOffset:indirectBuffer:indirectBufferOffset: implemented
drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance: implemented
drawPrimitives:indirectBuffer:indirectBufferOffset: implemented
drawPrimitives:vertexStart:vertexCount: implemented
drawPrimitives:vertexStart:vertexCount:instanceCount: implemented
drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance: implemented
endEncoding implemented
executeCommandsInBuffer:indirectBuffer:indirectBufferOffset: implemented
executeCommandsInBuffer:withRange: implemented
insertDebugSignpost: metal %debug
label implemented
memoryBarrierWithResources:count:afterStages:beforeStages: implemented
memoryBarrierWithScope:afterStages:beforeStages: implemented
popDebugGroup metal %debug
pushDebugGroup: metal %debug
sampleCountersInBuffer:atSampleIndex:withBarrier: unsupported counter sampling
setBlendColorRed:green:blue:alpha: implemented
setColorAttachmentMap: partial color attachment mapping (no op on the wire)
setColorStoreAction:atIndex: implemented
setColorStoreActionOptions:atIndex: implemented
setCullMode: implemented
setDepthBias:slopeScale:clamp: implemented
setDepthClipMode: implemented
setDepthStencilState: implemented
setDepthStoreAction: implemented
setDepthStoreActionOptions: implemented
setDepthTestMinBound:maxBound: partial depth bounds testing (no op on the wire)
setFragmentAccelerationStructure:atBufferIndex: partial ray tracing
setFragmentBuffer:offset:atIndex: implemented
setFragmentBufferOffset:atIndex: implemented
setFragmentBuffers:offsets:withRange: implemented
setFragmentBytes:length:atIndex: implemented
setFragmentIntersectionFunctionTable:atBufferIndex: partial ray tracing
setFragmentIntersectionFunctionTables:withBufferRange: partial ray tracing
setFragmentSamplerState:atIndex: implemented
setFragmentSamplerState:lodMinClamp:lodMaxClamp:atIndex: implemented
setFragmentSamplerStates:lodMinClamps:lodMaxClamps:withRange: implemented
setFragmentSamplerStates:withRange: implemented
setFragmentTexture:atIndex: implemented
setFragmentTextures:withRange: implemented
setFragmentVisibleFunctionTable:atBufferIndex: partial function pointers
setFragmentVisibleFunctionTables:withBufferRange: partial function pointers
setFrontFacingWinding: implemented
setLabel: implemented
setMeshBuffer:offset:atIndex: partial mesh shading (the host makes no mesh pipeline)
setMeshBufferOffset:atIndex: partial mesh shading (the host makes no mesh pipeline)
setMeshBuffers:offsets:withRange: partial mesh shading (the host makes no mesh pipeline)
setMeshBytes:length:atIndex: partial mesh shading (the host makes no mesh pipeline)
setMeshSamplerState:atIndex: partial mesh shading (the host makes no mesh pipeline)
setMeshSamplerState:lodMinClamp:lodMaxClamp:atIndex: partial mesh shading (the host makes no mesh pipeline)
setMeshSamplerStates:lodMinClamps:lodMaxClamps:withRange: partial mesh shading (the host makes no mesh pipeline)
setMeshSamplerStates:withRange: partial mesh shading (the host makes no mesh pipeline)
setMeshTexture:atIndex: partial mesh shading (the host makes no mesh pipeline)
setMeshTextures:withRange: partial mesh shading (the host makes no mesh pipeline)
setObjectBuffer:offset:atIndex: partial mesh shading (the host makes no mesh pipeline)
setObjectBufferOffset:atIndex: partial mesh shading (the host makes no mesh pipeline)
setObjectBuffers:offsets:withRange: partial mesh shading (the host makes no mesh pipeline)
setObjectBytes:length:atIndex: partial mesh shading (the host makes no mesh pipeline)
setObjectSamplerState:atIndex: partial mesh shading (the host makes no mesh pipeline)
setObjectSamplerState:lodMinClamp:lodMaxClamp:atIndex: partial mesh shading (the host makes no mesh pipeline)
setObjectSamplerStates:lodMinClamps:lodMaxClamps:withRange: partial mesh shading (the host makes no mesh pipeline)
setObjectSamplerStates:withRange: partial mesh shading (the host makes no mesh pipeline)
setObjectTexture:atIndex: partial mesh shading (the host makes no mesh pipeline)
setObjectTextures:withRange: partial mesh shading (the host makes no mesh pipeline)
setObjectThreadgroupMemoryLength:atIndex: partial mesh shading (the host makes no mesh pipeline)
setRenderPipelineState: implemented
setScissorRect: implemented
setScissorRects:count: implemented
setStencilFrontReferenceValue:backReferenceValue: implemented
setStencilReferenceValue: implemented
setStencilStoreAction: implemented
setStencilStoreActionOptions: implemented
setTessellationFactorBuffer:offset:instanceStride: implemented
setTessellationFactorScale: implemented
setThreadgroupMemoryLength:offset:atIndex: implemented
setTileAccelerationStructure:atBufferIndex: partial ray tracing
setTileBuffer:offset:atIndex: implemented
setTileBufferOffset:atIndex: implemented
setTileBuffers:offsets:withRange: implemented
setTileBytes:length:atIndex: implemented
setTileIntersectionFunctionTable:atBufferIndex: partial ray tracing
setTileIntersectionFunctionTables:withBufferRange: partial ray tracing
setTileSamplerState:atIndex: implemented
setTileSamplerState:lodMinClamp:lodMaxClamp:atIndex: implemented
setTileSamplerStates:lodMinClamps:lodMaxClamps:withRange: implemented
setTileSamplerStates:withRange: implemented
setTileTexture:atIndex: implemented
setTileTextures:withRange: implemented
setTileVisibleFunctionTable:atBufferIndex: partial function pointers
setTileVisibleFunctionTables:withBufferRange: partial function pointers
setTriangleFillMode: implemented
setVertexAccelerationStructure:atBufferIndex: partial ray tracing
setVertexAmplificationCount:viewMappings: implemented
setVertexBuffer:offset:atIndex: implemented
setVertexBuffer:offset:attributeStride:atIndex: implemented
setVertexBufferOffset:atIndex: implemented
setVertexBufferOffset:attributeStride:atIndex: implemented
setVertexBuffers:offsets:attributeStrides:withRange: implemented
setVertexBuffers:offsets:withRange: implemented
setVertexBytes:length:atIndex: implemented
setVertexBytes:length:attributeStride:atIndex: implemented
setVertexIntersectionFunctionTable:atBufferIndex: partial ray tracing
setVertexIntersectionFunctionTables:withBufferRange: partial ray tracing
setVertexSamplerState:atIndex: implemented
setVertexSamplerState:lodMinClamp:lodMaxClamp:atIndex: implemented
setVertexSamplerStates:lodMinClamps:lodMaxClamps:withRange: implemented
setVertexSamplerStates:withRange: implemented
setVertexTexture:atIndex: implemented
setVertexTextures:withRange: implemented
setVertexVisibleFunctionTable:atBufferIndex: partial function pointers
setVertexVisibleFunctionTables:withBufferRange: partial function pointers
setViewport: implemented
setViewports:count: implemented
setVisibilityResultMode:offset: implemented
textureBarrier implemented
tileHeight partial the device's own tile size (no host query on the wire)
tileWidth partial the device's own tile size (no host query on the wire)
updateFence:afterStages: implemented
useHeap: implemented
useHeap:stages: implemented
useHeaps:count: implemented
useHeaps:count:stages: implemented
useResource:usage: implemented
useResource:usage:stages: implemented
useResources:count:usage: implemented
useResources:count:usage:stages: implemented
waitForFence:beforeStages: implemented
[RgfxRenderPipelineState]
allocatedSize unsupported a pipeline's allocated size (not in the host's reflection)
functionHandleWithBinaryFunction:stage: unsupported function pointers
functionHandleWithFunction:stage: unsupported function pointers
functionHandleWithName:stage: unsupported function pointers
gpuResourceID implemented
imageblockMemoryLengthForDimensions: unsupported imageblock memory queries (not in the host's reflection)
imageblockSampleLength implemented
maxTotalThreadgroupsPerMeshGrid implemented
maxTotalThreadsPerMeshThreadgroup implemented
maxTotalThreadsPerObjectThreadgroup implemented
maxTotalThreadsPerThreadgroup implemented
meshThreadExecutionWidth implemented
newIntersectionFunctionTableWithDescriptor:stage: unsupported ray tracing
newRenderPipelineDescriptorForSpecialization unsupported Metal 4 pipeline specialization
newRenderPipelineStateWithAdditionalBinaryFunctions:error: unsupported binary functions
newRenderPipelineStateWithBinaryFunctions:error: unsupported binary functions
newVisibleFunctionTableWithDescriptor:stage: unsupported function pointers
objectThreadExecutionWidth implemented
reflection metal %pipeline-reflection
requiredThreadsPerMeshThreadgroup implemented
requiredThreadsPerObjectThreadgroup implemented
requiredThreadsPerTileThreadgroup metal the device makes no tile pipelines (their creators are RGFX_UNSUPPORTED); Metal answers 0, 0, 0 for a render pipeline with no tile function (measured: M3 Max)
shaderValidation metal %no-validation
supportIndirectCommandBuffers implemented
threadgroupSizeMatchesTileSize implemented
[RgfxResource]
device implemented
heap implemented
heapOffset implemented
isAliasable implemented
label implemented
makeAliasable implemented
setLabel: implemented
setOwnerWithIdentity: metal the device accounts its memory (the region's blocks, which the kext owns) to no task, so there is no footprint to move to another; the call succeeds, as Metal's does
setPurgeableState: implemented
[RgfxSampler]
gpuResourceID implemented
[RgfxSharedEvent]
newSharedEventHandle partial shared event handles where the kext or the host does not carry events across processes
notifyListener:atValue:block: implemented
setSignaledValue: implemented
signaledValue implemented
waitUntilSignaledValue:timeoutMS: implemented
[RgfxTexture]
allocatedSize implemented
allowGPUOptimizedContents implemented
arrayLength implemented
buffer implemented
bufferBytesPerRow implemented
bufferOffset implemented
compressionType implemented
cpuCacheMode implemented
depth implemented
firstMipmapInTail metal %no-sparse
getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice: implemented
getBytes:bytesPerRow:fromRegion:mipmapLevel: implemented
gpuResourceID implemented
hazardTrackingMode implemented
heap implemented
heapOffset implemented
height implemented
iosurface implemented
iosurfacePlane implemented
isAliasable implemented
isFramebufferOnly implemented
isShareable metal the device makes no shareable texture (newSharedTextureWithDescriptor: and its handles are RGFX_UNSUPPORTED)
isSparse metal %no-sparse
makeAliasable implemented
minLOD metal no texture of the device has other than the default 0.0 (Metal's default, measured: M3 Max): views keep it, and setMinLOD: (macOS 27) is not answered
mipmapLevelCount implemented
newRemoteTextureViewForDevice: unsupported remote texture views
newSharedTextureHandle unsupported shared texture handles
newTextureViewWithDescriptor: implemented
newTextureViewWithPixelFormat: implemented
newTextureViewWithPixelFormat:textureType:levels:slices: implemented
newTextureViewWithPixelFormat:textureType:levels:slices:swizzle: implemented
parentRelativeLevel implemented
parentRelativeSlice implemented
parentTexture implemented
pixelFormat implemented
remoteStorageTexture metal %no-peers
replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage: implemented
replaceRegion:mipmapLevel:withBytes:bytesPerRow: implemented
resourceOptions implemented
rootResource implemented
sampleCount implemented
setPurgeableState: implemented
sparseTextureTier metal %no-sparse
storageMode implemented
swizzle implemented
tailSizeInBytes metal %no-sparse
textureType implemented
usage implemented
width implemented