1# Enabling Metal validation layers 2 3To enable Metal's validation layers in both ANGLE's standalone test 4suites as well as in Chromium's GPU process, per [this 5CL](https://chromium-review.googlesource.com/c/chromium/src/+/3584863), 6set the following environment variables: 7 8``` 9MTL_DEBUG_LAYER=1 10MTL_DEBUG_LAYER_VALIDATE_LOAD_ACTIONS=1 11MTL_DEBUG_LAYER_VALIDATE_STORE_ACTIONS=1 12MTL_DEBUG_LAYER_VALIDATE_UNRETAINED_RESOURCES=4 13``` 14