xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/CompilerImpl.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker //
2*8975f5c5SAndroid Build Coastguard Worker // Copyright 2014 The ANGLE Project Authors. All rights reserved.
3*8975f5c5SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
4*8975f5c5SAndroid Build Coastguard Worker // found in the LICENSE file.
5*8975f5c5SAndroid Build Coastguard Worker //
6*8975f5c5SAndroid Build Coastguard Worker 
7*8975f5c5SAndroid Build Coastguard Worker // CompilerImpl.h: Defines the rx::CompilerImpl class, an implementation interface
8*8975f5c5SAndroid Build Coastguard Worker //                 for the gl::Compiler object.
9*8975f5c5SAndroid Build Coastguard Worker 
10*8975f5c5SAndroid Build Coastguard Worker #include "GLSLANG/ShaderLang.h"
11*8975f5c5SAndroid Build Coastguard Worker #include "common/angleutils.h"
12*8975f5c5SAndroid Build Coastguard Worker #include "libANGLE/Error.h"
13*8975f5c5SAndroid Build Coastguard Worker 
14*8975f5c5SAndroid Build Coastguard Worker #ifndef LIBANGLE_RENDERER_COMPILERIMPL_H_
15*8975f5c5SAndroid Build Coastguard Worker #    define LIBANGLE_RENDERER_COMPILERIMPL_H_
16*8975f5c5SAndroid Build Coastguard Worker 
17*8975f5c5SAndroid Build Coastguard Worker namespace rx
18*8975f5c5SAndroid Build Coastguard Worker {
19*8975f5c5SAndroid Build Coastguard Worker 
20*8975f5c5SAndroid Build Coastguard Worker class CompilerImpl : angle::NonCopyable
21*8975f5c5SAndroid Build Coastguard Worker {
22*8975f5c5SAndroid Build Coastguard Worker   public:
CompilerImpl()23*8975f5c5SAndroid Build Coastguard Worker     CompilerImpl() {}
~CompilerImpl()24*8975f5c5SAndroid Build Coastguard Worker     virtual ~CompilerImpl() {}
25*8975f5c5SAndroid Build Coastguard Worker 
26*8975f5c5SAndroid Build Coastguard Worker     // TODO(jmadill): Expose translator built-in resources init method.
27*8975f5c5SAndroid Build Coastguard Worker     virtual ShShaderOutput getTranslatorOutputType() const = 0;
28*8975f5c5SAndroid Build Coastguard Worker };
29*8975f5c5SAndroid Build Coastguard Worker 
30*8975f5c5SAndroid Build Coastguard Worker }  // namespace rx
31*8975f5c5SAndroid Build Coastguard Worker 
32*8975f5c5SAndroid Build Coastguard Worker #endif  // LIBANGLE_RENDERER_COMPILERIMPL_H_
33