std140 implementation

This commit is contained in:
ZY4N
2025-03-27 19:47:32 +01:00
parent 70893c083b
commit 6f60cc11c8
45 changed files with 789 additions and 234 deletions

View File

@@ -79,6 +79,11 @@ std::optional<std::pair<zgl::shader_metadata, zgl::shader_handle>> zgl::shader_m
return std::nullopt;
}
void zgl::shader_manager::process(const store_type& shader_sources)
{
m_preprocessor.process(shader_sources);
}
void zgl::shader_manager::get_handles(
const assets::shader_source_store& shader_sources,
std::span<const shading::shader_set_requirements> requirements,
@@ -256,9 +261,3 @@ bool zgl::shader_manager::compile_shader(
return true;
}
void zgl::shader_manager::process(
const assets::data_stores& stores
) {
m_preprocessor.process(stores);
}