Co-authored-by: Travis Lange <travislange12@gmail.com>
Validate the MSL version of the baked shader is <= the current version supported by the OS, and return an error so it is recompiled. Closes #109846
Thread
This allows Apple platforms to override the default stack size of a thread in the WorkerThreadPool, which is 512KiB by default. This must be increased, as SPIRV-Cross, used by the Metal driver, can use deeply nested stacks, as can debug builds.
#pragma once
AllowShortFunctionsOnASingleLine