Fix compilation after merge
This commit is contained in:
parent
4c226eda0c
commit
1e606f3043
|
|
@ -27,7 +27,8 @@ namespace Nz::ShaderAst
|
|||
|
||||
inline const UsageSet& GetUsage() const;
|
||||
|
||||
void Process(Statement& statement, const Config& config = {});
|
||||
inline void Process(Statement& statement);
|
||||
void Process(Statement& statement, const Config& config);
|
||||
|
||||
inline void Resolve();
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,12 @@ namespace Nz::ShaderAst
|
|||
return m_resolvedUsage;
|
||||
}
|
||||
|
||||
inline void DependencyCheckerVisitor::Process(Statement& statement)
|
||||
{
|
||||
Config defaultConfig;
|
||||
return Process(statement, defaultConfig);
|
||||
}
|
||||
|
||||
void DependencyCheckerVisitor::Resolve()
|
||||
{
|
||||
Resolve(m_globalUsage);
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ namespace Nz::ShaderAst
|
|||
Context* m_context;
|
||||
};
|
||||
|
||||
inline StatementPtr EliminateUnusedPass(Statement& ast);
|
||||
inline StatementPtr EliminateUnusedPass(Statement& ast, const DependencyCheckerVisitor::Config& config);
|
||||
inline StatementPtr EliminateUnusedPass(Statement& ast, const DependencyCheckerVisitor::Config& config = {});
|
||||
inline StatementPtr EliminateUnusedPass(Statement& ast, const DependencyCheckerVisitor::UsageSet& usageSet);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue