[Metal] Implement Xcode 16 RC changes. (#21229)

This commit is contained in:
Rolf Bjarne Kvinge 2024-09-13 19:29:18 +02:00 коммит произвёл GitHub
Родитель 99ce14daf7
Коммит e45dca7413
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 17 добавлений и 42 удалений

Просмотреть файл

@ -5553,49 +5553,49 @@ namespace Metal {
[Export ("setVertexBuffer:offset:attributeStride:atIndex:")]
void SetVertexBuffer (IMTLBuffer buffer, nuint offset, nuint stride, nuint index);
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
[Export ("setObjectThreadgroupMemoryLength:atIndex:")]
void SetObjectThreadgroupMemoryLength (nuint length, nuint index);
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
[Export ("setObjectBuffer:offset:atIndex:")]
void SetObjectBuffer (IMTLBuffer buffer, nuint offset, nuint index);
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
[Export ("setMeshBuffer:offset:atIndex:")]
void SetMeshBuffer (IMTLBuffer buffer, nuint offset, nuint index);
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
[Export ("drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:")]
void DrawMeshThreadgroups (MTLSize threadgroupsPerGrid, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup);
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
[Export ("drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:")]
void DrawMeshThreads (MTLSize threadsPerGrid, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup);
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
[Export ("setBarrier")]
void SetBarrier ();
[Mac (14, 0), iOS (17, 0), NoTV, MacCatalyst (17, 0)]
[Mac (14, 0), iOS (17, 0), TV (18, 0), MacCatalyst (17, 0)]
#if NET
[Abstract (GenerateExtensionMethod = true)]
#endif
@ -6170,7 +6170,7 @@ namespace Metal {
[Export ("transformationMatrixBufferOffset")]
nuint TransformationMatrixBufferOffset { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("transformationMatrixLayout")]
MTLMatrixLayout TransformationMatrixLayout { get; set; }
}
@ -6347,15 +6347,15 @@ namespace Metal {
[Export ("motionTransformCount")]
nuint MotionTransformCount { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("instanceTransformationMatrixLayout")]
MTLMatrixLayout InstanceTransformationMatrixLayout { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("motionTransformType")]
MTLTransformType MotionTransformType { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("motionTransformStride")]
nuint MotionTransformStride { get; set; }
}
@ -6949,7 +6949,7 @@ namespace Metal {
[Export ("transformationMatrixBufferOffset")]
nuint TransformationMatrixBufferOffset { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("transformationMatrixLayout")]
MTLMatrixLayout TransformationMatrixLayout { get; set; }
}
@ -7222,15 +7222,15 @@ namespace Metal {
[Export ("descriptor")]
MTLIndirectInstanceAccelerationStructureDescriptor GetDescriptor ();
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("instanceTransformationMatrixLayout")]
MTLMatrixLayout InstanceTransformationMatrixLayout { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("motionTransformType")]
MTLTransformType MotionTransformType { get; set; }
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), NoTV]
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0), TV (18, 0)]
[Export ("motionTransformStride")]
nuint MotionTransformStride { get; set; }
}
@ -7376,14 +7376,14 @@ namespace Metal {
}
[Native]
[Mac (15, 0), NoTV, iOS (18, 0), MacCatalyst (18, 0)]
[Mac (15, 0), TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)]
enum MTLMatrixLayout : long {
ColumnMajor = 0,
RowMajor = 1,
}
[Native]
[Mac (15, 0), NoTV, iOS (18, 0), MacCatalyst (18, 0)]
[Mac (15, 0), TV (18, 0), iOS (18, 0), MacCatalyst (18, 0)]
enum MTLTransformType : long {
PackedFloat4x3 = 0,
Component = 1,

Просмотреть файл

@ -1,25 +0,0 @@
!missing-enum! MTLMatrixLayout not bound
!missing-enum! MTLTransformType not bound
!missing-protocol-member! MTLIndirectRenderCommand::clearBarrier not found
!missing-protocol-member! MTLIndirectRenderCommand::drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: not found
!missing-protocol-member! MTLIndirectRenderCommand::drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup: not found
!missing-protocol-member! MTLIndirectRenderCommand::setBarrier not found
!missing-protocol-member! MTLIndirectRenderCommand::setMeshBuffer:offset:atIndex: not found
!missing-protocol-member! MTLIndirectRenderCommand::setObjectBuffer:offset:atIndex: not found
!missing-protocol-member! MTLIndirectRenderCommand::setObjectThreadgroupMemoryLength:atIndex: not found
!missing-selector! MTLAccelerationStructureMotionTriangleGeometryDescriptor::setTransformationMatrixLayout: not bound
!missing-selector! MTLAccelerationStructureMotionTriangleGeometryDescriptor::transformationMatrixLayout not bound
!missing-selector! MTLAccelerationStructureTriangleGeometryDescriptor::setTransformationMatrixLayout: not bound
!missing-selector! MTLAccelerationStructureTriangleGeometryDescriptor::transformationMatrixLayout not bound
!missing-selector! MTLIndirectInstanceAccelerationStructureDescriptor::instanceTransformationMatrixLayout not bound
!missing-selector! MTLIndirectInstanceAccelerationStructureDescriptor::motionTransformStride not bound
!missing-selector! MTLIndirectInstanceAccelerationStructureDescriptor::motionTransformType not bound
!missing-selector! MTLIndirectInstanceAccelerationStructureDescriptor::setInstanceTransformationMatrixLayout: not bound
!missing-selector! MTLIndirectInstanceAccelerationStructureDescriptor::setMotionTransformStride: not bound
!missing-selector! MTLIndirectInstanceAccelerationStructureDescriptor::setMotionTransformType: not bound
!missing-selector! MTLInstanceAccelerationStructureDescriptor::instanceTransformationMatrixLayout not bound
!missing-selector! MTLInstanceAccelerationStructureDescriptor::motionTransformStride not bound
!missing-selector! MTLInstanceAccelerationStructureDescriptor::motionTransformType not bound
!missing-selector! MTLInstanceAccelerationStructureDescriptor::setInstanceTransformationMatrixLayout: not bound
!missing-selector! MTLInstanceAccelerationStructureDescriptor::setMotionTransformStride: not bound
!missing-selector! MTLInstanceAccelerationStructureDescriptor::setMotionTransformType: not bound