Shader: Add function parameters and return handling

This commit is contained in:
Jérôme Leclercq
2021-02-28 17:50:32 +01:00
parent 9a0f201433
commit b320b5b44e
39 changed files with 818 additions and 327 deletions

View File

@@ -12,11 +12,21 @@ namespace Nz
{
}
inline std::string SpirvPrinter::Print(const std::vector<UInt32>& codepoints)
{
return Print(codepoints.data(), codepoints.size());
}
inline std::string SpirvPrinter::Print(const UInt32* codepoints, std::size_t count)
{
Settings settings;
return Print(codepoints, count, settings);
}
inline std::string SpirvPrinter::Print(const std::vector<UInt32>& codepoints, const Settings& settings)
{
return Print(codepoints.data(), codepoints.size(), settings);
}
}
#include <Nazara/Shader/DebugOff.hpp>