1 // 2 // Copyright 2022 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // TranslatorMetalConstantNames: 7 // Implementation of constant values used in both translator 8 // backends. 9 10 #include <stdio.h> 11 12 #include "GLSLANG/ShaderLang.h" 13 14 namespace sh 15 { 16 17 namespace mtl 18 { 19 /** extern */ 20 const char kCoverageMaskEnabledConstName[] = "ANGLECoverageMaskEnabled"; 21 const char kRasterizerDiscardEnabledConstName[] = "ANGLERasterizerDisabled"; 22 const char kDepthWriteEnabledConstName[] = "ANGLEDepthWriteEnabled"; 23 } // namespace mtl 24 25 } // namespace sh 26