Renderer/ShaderAst: Rename Builtin enum to BuiltinEntry

This commit is contained in:
Lynix
2017-01-06 13:47:05 +01:00
parent a60836c45a
commit 8fd152aec0
6 changed files with 10 additions and 10 deletions

View File

@@ -26,13 +26,13 @@ namespace Nz { namespace ShaderBuilder
return std::make_shared<ShaderAst::BinaryOp>(op, left, right);
}
std::shared_ptr<ShaderAst::Variable> BuiltinBuilder::operator()(ShaderAst::Builtin builtin) const
std::shared_ptr<ShaderAst::Variable> BuiltinBuilder::operator()(ShaderAst::BuiltinEntry builtin) const
{
ShaderAst::ExpressionType exprType = ShaderAst::ExpressionType::None;
switch (builtin)
{
case ShaderAst::Builtin::VertexPosition:
case ShaderAst::BuiltinEntry::VertexPosition:
exprType = ShaderAst::ExpressionType::Float4;
break;
}