Shader: Add function parameters and return handling
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user