Skip to content

Metal macOS xcode14.3 beta2

Alex Soto edited this page Feb 28, 2023 · 1 revision

#Metal.framework

diff -ruN /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h
--- /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h	2023-02-11 16:44:54
+++ /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h	2023-02-25 10:27:41
@@ -96,7 +96,7 @@
 - (void)refitAccelerationStructure:(id <MTLAccelerationStructure>)sourceAccelerationStructure
                         descriptor:(MTLAccelerationStructureDescriptor *)descriptor
                        destination:(nullable id <MTLAccelerationStructure>)destinationAccelerationStructure
-                     scratchBuffer:(id <MTLBuffer>)scratchBuffer
+                     scratchBuffer:(nullable id <MTLBuffer>)scratchBuffer
                scratchBufferOffset:(NSUInteger)scratchBufferOffset;
 
 /*!
@@ -129,7 +129,7 @@
 - (void)refitAccelerationStructure:(id <MTLAccelerationStructure>)sourceAccelerationStructure
                         descriptor:(MTLAccelerationStructureDescriptor *)descriptor
                        destination:(nullable id <MTLAccelerationStructure>)destinationAccelerationStructure
-                     scratchBuffer:(id <MTLBuffer>)scratchBuffer
+                     scratchBuffer:(nullable id <MTLBuffer>)scratchBuffer
                scratchBufferOffset:(NSUInteger)scratchBufferOffset
                            options:(MTLAccelerationStructureRefitOptions)options
                            API_AVAILABLE(macos(13.0), ios(16.0));
diff -ruN /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h
--- /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2023-02-11 16:44:53
+++ /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2023-02-24 11:27:34
@@ -1222,19 +1222,5 @@
 @property (readonly) BOOL supportsPrimitiveMotionBlur API_AVAILABLE(macos(11.0), ios(14.0));
 
 
-/*!
- @property shouldMaximizeConcurrentCompilation
- @abstract Allow this device to use additional CPU threads (scaled automatically to the host machine) to be used for compilation tasks. Default is `NO`.
- @discussion Use the `maximumConcurrentCompilationTaskCount` property to determine the current number of concurrent CPU threads that this device is using.
- */
-@property (atomic) BOOL shouldMaximizeConcurrentCompilation API_AVAILABLE(macos(13.3), ios(16.4));
-
-/*!
- @property maximumConcurrentCompilationTaskCount
- @abstract Returns the maximum count of concurrent executing compilation tasks.
- @discussion The property returns a different value depending on the value of the property `shouldMaximizeConcurrentCompilation`.
- */
-@property (readonly) NSUInteger maximumConcurrentCompilationTaskCount API_AVAILABLE(macos(13.3), ios(16.4));
-
 @end
 NS_ASSUME_NONNULL_END
Clone this wiki locally