• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2016 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 // ShaderNULL.h:
7 //    Defines the class interface for ShaderNULL, implementing ShaderImpl.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_NULL_SHADERNULL_H_
11 #define LIBANGLE_RENDERER_NULL_SHADERNULL_H_
12 
13 #include "libANGLE/renderer/ShaderImpl.h"
14 
15 namespace rx
16 {
17 
18 class ShaderNULL : public ShaderImpl
19 {
20   public:
21     ShaderNULL(const gl::ShaderState &data);
22     ~ShaderNULL() override;
23 
24     std::shared_ptr<WaitableCompileEvent> compile(const gl::Context *context,
25                                                   gl::ShCompilerInstance *compilerInstance,
26                                                   ShCompileOptions options) override;
27 
28     std::string getDebugInfo() const override;
29 };
30 
31 }  // namespace rx
32 
33 #endif  // LIBANGLE_RENDERER_NULL_SHADERNULL_H_
34