[ET-VK][mac] Allow vulkan binaries to work with Vulkan SDK + fixes to enable debugPrintf extension
## Context Add a buck config option to prevent linking against MoltenVK when building for MacOS, instead opting to use volk. This is useful for seeing debug print statments from GLSL code. Also implement some fixes to make things work when using system-installed Vulkan SDK, and some fixes to enable using debug Printf extension on Mac. Specifically, the fixes are as follows: * On newer versions of the Vulkan SDK, a portability instance extension needs to be explicitly enabled, otherwise creating the Vulkan instance will complain about the driver being incompatible. [source](https://stackoverflow.com/questions/58732459/vk-error-incompatible-driver-with-mac-os-and-vulkan-moltenvk) * VkConfig on Mac doesn't show options to enable debugprintf, therefore it has to be enabled programmatically. Differential Revision: [D68650936](https://our.internmc.facebook.com/intern/diff/D68650936/) ghstack-source-id: 263006772 Pull Request resolved: https://github.com/pytorch/executorch/pull/7957 Co-authored-by: Stephen Jia <ssjia@meta.com>
P
pytorchbot committed
06ef7138c97632ff8e4a02dbf70c7fb57ebb88f5
Parent: 2170a84
Committed by GitHub <noreply@github.com>
on 1/27/2025, 9:46:27 PM