truly fixing crash error

This commit is contained in:
2025-05-22 15:50:25 +02:00
parent 92967aac1f
commit 165c5a7a5e
6 changed files with 20 additions and 22 deletions

View File

@@ -74,6 +74,17 @@ namespace Scop
};
std::shared_ptr<Shader> LoadShaderFromFile(const std::filesystem::path& filepath, ShaderType type, ShaderLayout layout);
static const Scop::ShaderLayout DefaultShaderLayout(
{
{ 1,
Scop::ShaderSetLayout({
{ 0, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER },
{ 1, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER }
})
}
}, {}
);
}
#endif