xref: /aosp_15_r20/external/angle/src/compiler/translator/msl/ConstantNames.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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 // ConstantNames:
7 // Implementation of constant values used by the metal backend.
8 
9 #include <stdio.h>
10 
11 #include "GLSLANG/ShaderLang.h"
12 
13 namespace sh
14 {
15 
16 namespace mtl
17 {
18 /** extern */
19 const char kMultisampledRenderingConstName[]    = "ANGLEMultisampledRendering";
20 const char kRasterizerDiscardEnabledConstName[] = "ANGLERasterizerDisabled";
21 const char kDepthWriteEnabledConstName[]        = "ANGLEDepthWriteEnabled";
22 const char kEmulateAlphaToCoverageConstName[]   = "ANGLEEmulateAlphaToCoverage";
23 const char kWriteHelperSampleMaskConstName[]    = "ANGLEWriteHelperSampleMask";
24 const char kSampleMaskWriteEnabledConstName[]   = "ANGLESampleMaskWriteEnabled";
25 }  // namespace mtl
26 
27 }  // namespace sh
28