Skip to content

MPSCore macOS xcode13.1 rc

Alex Soto edited this page Oct 18, 2021 · 1 revision

#MPSCore.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCommandBuffer.h /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCommandBuffer.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCommandBuffer.h	2021-08-09 03:24:46.000000000 -0400
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Headers/MPSCommandBuffer.h	2021-09-18 08:43:42.000000000 -0400
@@ -161,6 +161,8 @@
 
 /*!
  *  @abstract   Initializes a MPSCommandBuffer object with given MTLCommandBuffer.
+ *              Once we create this MPSCommandBuffer, any methods utilizing it could call commitAndContinue and so the users original commandBuffer may have been committed.
+ *              Please use the rootCommandBuffer method to get the current alive underlying MTLCommandBuffer.
  *  @result     A pointer to the newly initialized MPSCommandBuffer object.
  */
 +(__nonnull instancetype) commandBufferWithCommandBuffer: (nonnull id <MTLCommandBuffer>) commandBuffer;
@@ -174,6 +176,8 @@
 
 /*!
  *  @abstract   Initializes an empty MPSCommandBuffer object with given MTLCommandBuffer.
+ *              Once we create this MPSCommandBuffer, any methods utilizing it could call commitAndContinue and so the users original commandBuffer may have been committed.
+ *              Please use the rootCommandBuffer method to get the current alive underlying MTLCommandBuffer.
  *  @result     A pointer to the newly initialized MPSCommandBuffer object.
  */
 -(nonnull instancetype) initWithCommandBuffer: (nonnull id <MTLCommandBuffer>) commandBuffer
Clone this wiki locally