Renderer/ShaderBuilder: Fix compilation error when including ShaderBuilder.hpp
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Nz { namespace ShaderBuilder
|
||||
{
|
||||
constexpr BuiltinBuilder() {}
|
||||
|
||||
std::shared_ptr<ShaderAst::Variable> operator()(ShaderAst::BuiltinEntry builtin) const;
|
||||
inline std::shared_ptr<ShaderAst::Variable> operator()(ShaderAst::BuiltinEntry builtin) const;
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Nz { namespace ShaderBuilder
|
||||
return std::make_shared<ShaderAst::BinaryOp>(op, left, right);
|
||||
}
|
||||
|
||||
std::shared_ptr<ShaderAst::Variable> BuiltinBuilder::operator()(ShaderAst::BuiltinEntry builtin) const
|
||||
inline std::shared_ptr<ShaderAst::Variable> BuiltinBuilder::operator()(ShaderAst::BuiltinEntry builtin) const
|
||||
{
|
||||
ShaderAst::ExpressionType exprType = ShaderAst::ExpressionType::Void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user