shaderValidation
A value that enables or disables shader validation for the pipeline.
Declaration
var shaderValidation: MTLShaderValidation { get set }Discussion
You can override the value using either of these environment variables: MTL_SHADER_VALIDATION_ENABLE_PIPELINES or MTL_SHADER_VALIDATION_DISABLE_PIPELINES.