Shader: Fix variable shadowing with GLSL

This commit is contained in:
Jérôme Leclercq
2021-07-06 11:43:47 +02:00
parent cb82951c9a
commit ae73f68d8c
3 changed files with 15 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ namespace Nz::ShaderAst
struct Options
{
std::unordered_set<std::string> reservedIdentifiers;
bool makeVariableNameUnique = false;
bool removeOptionDeclaration = true;
};