Posts

Post marked as solved
2 Replies
912 Views
From the manual https://keith.github.io/xcode-man-pages/MetalValidation.1.html, I figure out that, when I launch my app with thos environment variables, It may work. this is my current environment variables And I really get the API Validation Message from the logs like this: This is my another test , I do not set the Metal_DEBUG_ERROR_MODE, METAL_ERROR_MODE and METAL_ERROR_CHECK_EXTENDED_MODE, just let it as the default value, then I got these results: 1.the app trigger a crash when met with API Validation Failure 2.the Failure message is too simple to fix the bug: Here is my **problem: Can I trigger a crash when the API Validation Fail, and get the API Validation detail message by setting the environment variables? **
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.9k Views
In my game project, there is a functions.data file in then /AppData/Library/Caches/[bundleID]/com.apple.metal/functions.data, when we reboot and launch the game, this file was rest to about 40KB, normaly this file's is about 30MB, this operation was done by the metal, Is there any way to avoid it?
Posted Last updated
.