Shader/DependencyCheckerVisitor: Update default config

This commit is contained in:
Jérôme Leclercq
2022-03-04 18:32:06 +01:00
parent b6cd85d6fe
commit 073f1dc434
3 changed files with 12 additions and 2 deletions

View File

@@ -12,6 +12,11 @@ namespace Nz::ShaderAst
return m_resolvedUsage;
}
inline void DependencyCheckerVisitor::MarkStructAsUsed(std::size_t structIndex)
{
m_globalUsage.usedStructs.UnboundedSet(structIndex);
}
inline void DependencyCheckerVisitor::Process(Statement& statement)
{
Config defaultConfig;