Shader: Fix unit tests

This commit is contained in:
Jérôme Leclercq
2022-03-09 07:26:51 +01:00
parent be9bdc4705
commit 3c290c1d0e
3 changed files with 12 additions and 2 deletions

View File

@@ -67,6 +67,12 @@ namespace Nz::ShaderAst
{
return !std::holds_alternative<std::monostate>(m_value);
}
template<typename T>
void ExpressionValue<T>::Reset()
{
m_value = {};
}
}
#include <Nazara/Shader/DebugOff.hpp>