NazaraEngine/include/Nazara/Shader/SpirvPrinter.inl

23 lines
544 B
C++

// Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Shader generator"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Shader/SpirvPrinter.hpp>
#include <Nazara/Shader/Debug.hpp>
namespace Nz
{
inline SpirvPrinter::SpirvPrinter() :
m_currentState(nullptr)
{
}
inline std::string SpirvPrinter::Print(const UInt32* codepoints, std::size_t count)
{
Settings settings;
return Print(codepoints, count, settings);
}
}
#include <Nazara/Shader/DebugOff.hpp>