blob: bae83f4a33a7c06bbf534952f494a160ad299667 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//
// Copyright 2022 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ConstantNames:
// Implementation of constant values used by the metal backend.
#include <stdio.h>
#include "GLSLANG/ShaderLang.h"
namespace sh
{
namespace mtl
{
/** extern */
const char kMultisampledRenderingConstName[] = "ANGLEMultisampledRendering";
const char kRasterizerDiscardEnabledConstName[] = "ANGLERasterizerDisabled";
const char kDepthWriteEnabledConstName[] = "ANGLEDepthWriteEnabled";
const char kEmulateAlphaToCoverageConstName[] = "ANGLEEmulateAlphaToCoverage";
const char kWriteHelperSampleMaskConstName[] = "ANGLEWriteHelperSampleMask";
const char kSampleMaskWriteEnabledConstName[] = "ANGLESampleMaskWriteEnabled";
} // namespace mtl
} // namespace sh
|