Shader: First working version on both Vulkan & OpenGL (ES)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user