macOS: Enable Metal validation layers

This commit is contained in:
TellowKrinkle
2023-05-29 01:40:35 -05:00
committed by GitHub
parent 1d79e9c66e
commit f80106fec6

View File

@@ -44,6 +44,10 @@ while [ "$#" -ne 0 ]; do
# Set LIBVULKAN_PATH to the MoltenVK dylib within the DolphinQt bundle.
export LIBVULKAN_PATH=$BINARIES/Dolphin.app/Contents/Frameworks/libMoltenVK.dylib
# Enable all the Metal validation
export MTL_DEBUG_LAYER=1
export MTL_SHADER_VALIDATION=1
DUMPDIR=$DOLPHIN_EMU_USERPATH/Dump/Frames
mkdir -p $DUMPDIR