Skip to content

Metal macOS xcode13.0 beta3

Manuel de la Pena edited this page Sep 29, 2021 · 2 revisions

#Metal.framework https://github.com/xamarin/xamarin-macios/pull/12875

diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h	2021-06-13 23:35:41.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h	2021-07-05 08:24:01.000000000 -0400
@@ -59,6 +59,13 @@
         columns[3] = MTLPackedFloat3(0.0f, 0.0f, 0.0f);
     }
     
+    _MTLPackedFloat4x3(MTLPackedFloat3 column0, MTLPackedFloat3 column1, MTLPackedFloat3 column2, MTLPackedFloat3 column3) {
+        columns[0] = column0;
+        columns[1] = column1;
+        columns[2] = column2;
+        columns[3] = column3;
+    }
+    
 #ifndef __METAL_VERSION__
     MTLPackedFloat3 & operator[](int idx) {
         return columns[idx];
diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2021-06-17 14:34:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2021-07-10 09:48:27.000000000 -0400
@@ -698,16 +698,16 @@
 - (void)newLibraryWithSource:(NSString *)source options:(nullable MTLCompileOptions *)options completionHandler:(MTLNewLibraryCompletionHandler)completionHandler;
 
 /*!
- @method newLibraryWithDescriptor:error:
+ @method newLibraryWithStitchedDescriptor:error:
  @abstract Returns a library generated using the graphs in the descriptor.
  */
-- (nullable id <MTLLibrary>)newLibraryWithDescriptor:(MTLStitchedLibraryDescriptor *)descriptor error:(__autoreleasing NSError **)error API_AVAILABLE(macos(12.0), ios(15.0));
+- (nullable id <MTLLibrary>)newLibraryWithStitchedDescriptor:(MTLStitchedLibraryDescriptor *)descriptor error:(__autoreleasing NSError **)error API_AVAILABLE(macos(12.0), ios(15.0));
 
 /*!
- @method newLibraryWithDescriptor:completionHandler:
+ @method newLibraryWithStitchedDescriptor:completionHandler:
  @abstract Generates a new library using the graphs in the descriptor.
  */
-- (void)newLibraryWithDescriptor:(MTLStitchedLibraryDescriptor *)descriptor completionHandler:(MTLNewLibraryCompletionHandler)completionHandler API_AVAILABLE(macos(12.0), ios(15.0));
+- (void)newLibraryWithStitchedDescriptor:(MTLStitchedLibraryDescriptor *)descriptor completionHandler:(MTLNewLibraryCompletionHandler)completionHandler API_AVAILABLE(macos(12.0), ios(15.0));
 
 /*!
  @method newRenderPipelineStateWithDescriptor:error:
diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes	2021-06-13 23:23:52.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes	2021-07-05 08:15:26.000000000 -0400
@@ -699,11 +699,11 @@
   - Selector: 'newLibraryWithSource:options:completionHandler:'
     SwiftName: makeLibrary(source:options:completionHandler:)
     MethodKind: Instance
-  - Selector: 'newLibraryWithDescriptor:error:'
-    SwiftName: makeLibrary(descriptor:)
+  - Selector: 'newLibraryWithStitchedDescriptor:error:'
+    SwiftName: makeLibrary(stitchedDescriptor:)
     MethodKind: Instance
-  - Selector: 'newLibraryWithDescriptor:completionHandler:'
-    SwiftName: makeLibrary(descriptor:completionHandler:)
+  - Selector: 'newLibraryWithStitchedDescriptor:completionHandler:'
+    SwiftName: makeLibrary(stitchedDescriptor:completionHandler:)
     MethodKind: Instance
   - Selector: 'newRenderPipelineStateWithDescriptor:completionHandler:'
     SwiftName: makeRenderPipelineState(descriptor:completionHandler:)
Clone this wiki locally