Shader: First working version on both Vulkan & OpenGL (ES)

This commit is contained in:
Jérôme Leclercq
2021-04-12 15:38:20 +02:00
parent f93a5bbdc1
commit ea99c6a19e
42 changed files with 1803 additions and 1053 deletions

View File

@@ -53,7 +53,7 @@ namespace Nz::ShaderAst
{
ExpressionType subType = extVar.type;
if (IsUniformType(subType))
subType = IdentifierType{ std::get<UniformType>(subType).containedType };
subType = std::get<IdentifierType>(std::get<UniformType>(subType).containedType);
RegisterVariable(extVar.name, std::move(subType));
}