xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/d3d/CompilerD3D.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 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     ShShaderOutput getTranslatorOutputType() const override;
25 
26   private:
27     ShShaderOutput mTranslatorOutputType;
28 };
29 
30 }  // namespace rx
31 
32 #endif  // LIBANGLE_RENDERER_COMPILERD3D_H_
33