-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apple): support disabling metal validation (#2373)
To disable Metal API validation, add the following to your `app.json`: ```js "ios": { "metalAPIValidation": false }, ``` Read more about it here: https://github.com/microsoft/react-native-test-app/wiki/Manifest-(app.json)#ios.metalAPIValidation
- Loading branch information
Showing
7 changed files
with
57 additions
and
5 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,19 @@ | ||
The API Validation layer checks for code that calls the Metal API incorrectly, | ||
including errors in creating resources, encoding Metal commands, and performing | ||
other common tasks. | ||
|
||
> [!NOTE] | ||
> | ||
> The API validation layer has a small, but measureable, impact on CPU | ||
> performance. | ||
For more details, read Apple's documentation on | ||
[Validating your app’s Metal API usage](https://developer.apple.com/documentation/xcode/validating-your-apps-metal-api-usage/). | ||
|
||
<details> | ||
<summary>History</summary> | ||
|
||
- [[4.1.0](https://github.com/microsoft/react-native-test-app/releases/tag/4.1.0)] | ||
Added | ||
|
||
</details> |
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
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