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 // ShaderVk.h: 7 // Defines the class interface for ShaderVk, implementing ShaderImpl. 8 // 9 10 #ifndef LIBANGLE_RENDERER_VULKAN_SHADERVK_H_ 11 #define LIBANGLE_RENDERER_VULKAN_SHADERVK_H_ 12 13 #include "libANGLE/renderer/ShaderImpl.h" 14 15 namespace rx 16 { 17 18 class ShaderVk : public ShaderImpl 19 { 20 public: 21 ShaderVk(const gl::ShaderState &state); 22 ~ShaderVk() 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_VULKAN_SHADERVK_H_ 34