Shader: Move DependencyChecker to a public class

This commit is contained in:
Jérôme Leclercq
2022-02-26 16:08:16 +01:00
parent 9dceced1e9
commit a155aa598e
4 changed files with 268 additions and 198 deletions

View File

@@ -0,0 +1,21 @@
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Shader module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Shader/Ast/DependencyCheckerVisitor.hpp>
#include <Nazara/Shader/Debug.hpp>
namespace Nz::ShaderAst
{
inline auto DependencyCheckerVisitor::GetUsage() const -> const UsageSet&
{
return m_resolvedUsage;
}
void DependencyCheckerVisitor::Resolve()
{
Resolve(m_globalUsage);
}
}
#include <Nazara/Shader/DebugOff.hpp>