Shader/SPIRV: Fix multiple branch handling (by splitting)

This commit is contained in:
Jérôme Leclercq
2021-12-28 11:48:19 +01:00
parent e21b45946f
commit a0f66d9e88
5 changed files with 168 additions and 55 deletions

View File

@@ -43,6 +43,7 @@ namespace Nz::ShaderAst
bool removeCompoundAssignments = false;
bool removeOptionDeclaration = true;
bool removeScalarSwizzling = false;
bool splitMultipleBranches = false;
};
private: