-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metal] Implement Xcode 16.0 beta 1-6 changes. (#20895)
Note: there were no changes in beta 3, beta 4 or beta 5.
- Loading branch information
1 parent
02fe91b
commit 6aca92c
Showing
28 changed files
with
1,011 additions
and
1,703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
|
||
using ObjCRuntime; | ||
|
||
#nullable enable | ||
|
||
namespace Metal { | ||
|
||
public partial interface IMTLCommandBuffer { | ||
|
||
/// <summary>Marks the specified residency sets as part of the current command buffer execution.</summary> | ||
/// <param name="residencySets">The residency sets to mark.</param> | ||
public void UseResidencySets (params IMTLResidencySet [] residencySets) | ||
{ | ||
NativeObjectExtensions.CallWithPointerToFirstElementAndCount (residencySets, nameof (residencySets), UseResidencySets); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
|
||
using ObjCRuntime; | ||
|
||
#nullable enable | ||
|
||
namespace Metal { | ||
|
||
public partial interface IMTLCommandQueue { | ||
|
||
/// <summary>Marks the specified residency sets as part of the current command buffer execution.</summary> | ||
/// <param name="residencySets">The residency sets to mark.</param> | ||
public void AddResidencySets (params IMTLResidencySet [] residencySets) | ||
{ | ||
NativeObjectExtensions.CallWithPointerToFirstElementAndCount (residencySets, nameof (residencySets), AddResidencySets); | ||
} | ||
|
||
/// <summary>Removes the specified residency sets from the current command buffer execution.</summary> | ||
/// <param name="residencySets">The residency sets to mark.</param> | ||
public void RemoveResidencySets (params IMTLResidencySet [] residencySets) | ||
{ | ||
NativeObjectExtensions.CallWithPointerToFirstElementAndCount (residencySets, nameof (residencySets), RemoveResidencySets); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
|
||
using ObjCRuntime; | ||
|
||
#nullable enable | ||
|
||
namespace Metal { | ||
|
||
public partial interface IMTLResidencySet { | ||
|
||
/// <summary>Adds allocations to be committed the next time <see cref="Commit" /> is called.</summary> | ||
/// <param name="allocations">The allocations to add.</param> | ||
public void AddAllocations (params IMTLAllocation [] allocations) | ||
{ | ||
NativeObjectExtensions.CallWithPointerToFirstElementAndCount (allocations, nameof (allocations), AddAllocations); | ||
} | ||
|
||
/// <summary>Marks allocations to be removed the next time <see cref="Commit" /> is called.</summary> | ||
/// <param name="allocations">The allocations to remove.</param> | ||
public void RemoveAllocations (params IMTLAllocation [] allocations) | ||
{ | ||
NativeObjectExtensions.CallWithPointerToFirstElementAndCount (allocations, nameof (allocations), RemoveAllocations); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.