| 1234567891011121314151617181920212223242526272829303132333435 |
- // Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors.
- // All rights reserved.
- // Code licensed under the BSD License.
- // http://www.anki3d.org/LICENSE
- #pragma once
- #include <AnKi/Gr/Shader.h>
- #include <AnKi/Gr/Vulkan/VkCommon.h>
- #include <AnKi/Util/BitSet.h>
- namespace anki {
- /// @addtogroup vulkan
- /// @{
- /// Shader vulkan implementation.
- class ShaderImpl final : public Shader
- {
- public:
- ShaderReflection m_reflection;
- GrDynamicArray<U32> m_spirvBin;
- ShaderImpl(CString name)
- : Shader(name)
- {
- }
- ~ShaderImpl();
- Error init(const ShaderInitInfo& init);
- };
- /// @}
- } // end namespace anki
|