ShaderLang: Add support for length intrinsic

This commit is contained in:
Jérôme Leclercq
2021-05-14 02:02:12 +02:00
parent 24f7b75654
commit 51ecff2912
8 changed files with 65 additions and 7 deletions

View File

@@ -654,6 +654,10 @@ namespace Nz
Append("dot");
break;
case ShaderAst::IntrinsicType::Length:
Append("length");
break;
case ShaderAst::IntrinsicType::SampleTexture:
Append("texture");
break;