blob: 47e075b2e7f424ae335c19771bb15b6b3bdcf13e (
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
28
29
30
31
32
33
|
//
// Copyright 2020 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.
//
// DriverUniformMetal:
// Struct defining the default driver uniforms for direct and SpirV based ANGLE translation
//
#ifndef LIBANGLE_RENDERER_METAL_DRIVERUNIFORMMETAL_H_
#define LIBANGLE_RENDERER_METAL_DRIVERUNIFORMMETAL_H_
#include "compiler/translator/tree_util/DriverUniform.h"
namespace sh
{
class DriverUniformMetal : public DriverUniformExtended
{
public:
DriverUniformMetal(DriverUniformMode mode) : DriverUniformExtended(mode) {}
DriverUniformMetal() : DriverUniformExtended(DriverUniformMode::InterfaceBlock) {}
~DriverUniformMetal() override {}
TIntermTyped *getCoverageMaskField() const;
protected:
TFieldList *createUniformFields(TSymbolTable *symbolTable) override;
};
} // namespace sh
#endif /* LIBANGLE_RENDERER_METAL_DRIVERUNIFORMMETAL_H_ */
|