• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2019 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 // CompilerMtl.h:
7 //    Defines the class interface for CompilerMtl, implementing CompilerImpl.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_METAL_COMPILERMTL_H_
11 #define LIBANGLE_RENDERER_METAL_COMPILERMTL_H_
12 
13 #include "libANGLE/renderer/CompilerImpl.h"
14 
15 namespace rx
16 {
17 
18 class CompilerMtl : public CompilerImpl
19 {
20   public:
21     CompilerMtl();
22     ~CompilerMtl() override;
23 
24     ShShaderOutput getTranslatorOutputType() const override;
25 
26     static bool useDirectToMSLCompiler();
27 };
28 
29 }  // namespace rx
30 
31 #endif /* LIBANGLE_RENDERER_METAL_COMPILERMTL_H_ */
32