1 //
2 // Copyright (c) 2014 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 
7 // CompilerD3D.h: Defines the rx::CompilerD3D class, an implementation of rx::CompilerImpl.
8 
9 #ifndef LIBANGLE_RENDERER_COMPILERD3D_H_
10 #define LIBANGLE_RENDERER_COMPILERD3D_H_
11 
12 #include "libANGLE/renderer/CompilerImpl.h"
13 #include "libANGLE/renderer/d3d/RendererD3D.h"
14 
15 namespace rx
16 {
17 
18 class CompilerD3D : public CompilerImpl
19 {
20   public:
21     CompilerD3D(ShShaderOutput translatorOutputType);
~CompilerD3D()22     ~CompilerD3D() override {}
23 
24     gl::Error release() override;
25     ShShaderOutput getTranslatorOutputType() const override;
26 
27   private:
28     ShShaderOutput mTranslatorOutputType;
29 };
30 
31 }
32 
33 #endif // LIBANGLE_RENDERER_COMPILERD3D_H_
34