Shader: Add SpirvDecoder

This commit is contained in:
Jérôme Leclercq
2021-04-04 20:29:23 +02:00
parent 5a63eb4d97
commit 09df5f389e
6 changed files with 194 additions and 90 deletions

View File

@@ -0,0 +1,16 @@
// 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/SpirvDecoder.hpp>
#include <Nazara/Shader/Debug.hpp>
namespace Nz
{
inline const UInt32* SpirvDecoder::GetCurrentPtr() const
{
return m_currentCodepoint;
}
}
#include <Nazara/Shader/DebugOff.hpp>