Shader: Add support for max/min intrinsic

This commit is contained in:
Jérôme Leclercq
2021-05-19 20:31:26 +02:00
parent 0339ea346f
commit a7235ab02d
7 changed files with 84 additions and 0 deletions

View File

@@ -822,6 +822,14 @@ namespace Nz
Append("length");
break;
case ShaderAst::IntrinsicType::Max:
Append("max");
break;
case ShaderAst::IntrinsicType::Min:
Append("min");
break;
case ShaderAst::IntrinsicType::SampleTexture:
Append("texture");
break;