Rework shader module unit tests
This commit is contained in:
13
tests/Engine/Shader/ShaderUtils.hpp
Normal file
13
tests/Engine/Shader/ShaderUtils.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_UNITTESTS_SHADER_SHADERUTILS_HPP
|
||||
#define NAZARA_UNITTESTS_SHADER_SHADERUTILS_HPP
|
||||
|
||||
#include <Nazara/Shader/Ast/Nodes.hpp>
|
||||
#include <string>
|
||||
|
||||
void ExpectingGLSL(Nz::ShaderAst::Statement& shader, std::string_view expectedOutput);
|
||||
void ExpectingNZSL(Nz::ShaderAst::Statement& shader, std::string_view expectedOutput);
|
||||
void ExpectingSpirV(Nz::ShaderAst::Statement& shader, std::string_view expectedOutput);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user