Definition at line 668 of file ShaderFoundry.cpp.
669{
671
673 if (shader_module) {
674 shader_module->cleanup(
device);
675 }
676 }
677
679 if (state.module) {
680 state.module->cleanup(
device);
681 }
682 }
683
687
689 "Cleaned up shader modules");
690}
#define MF_DEBUG(comp, ctx,...)
vk::PhysicalDevice device
vk::Device get_device() const
Get logical device handle.
std::unordered_map< std::string, ShaderID > m_shader_filepath_cache
std::unordered_map< std::string, std::shared_ptr< Core::VKShaderModule > > m_shader_cache
std::unordered_map< ShaderID, ShaderState > m_shaders
@ ShaderCompilation
Shader compilation tasks (Portal::Graphics::ShaderCompiler)
@ Portal
High-level user-facing API layer.
References device, get_device(), m_shader_cache, m_shader_filepath_cache, m_shaders, MF_DEBUG, MayaFlux::Journal::Portal, and MayaFlux::Journal::ShaderCompilation.
Referenced by shutdown().