Renderer/GlslWriter: Add support for Uniform and Parameters variables

This commit is contained in:
Lynix
2017-01-04 12:34:47 +01:00
parent 5c3e67bb26
commit d538a7ddf5
5 changed files with 60 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ namespace Nz { namespace ShaderAst
void Variable::Register(ShaderWriter& visitor)
{
visitor.RegisterVariable(name, type);
visitor.RegisterVariable(kind, name, type);
}
void Variable::Visit(ShaderWriter& visitor)