Shader: Add support for pow intrinsic

This commit is contained in:
Jérôme Leclercq
2021-06-05 01:29:36 +02:00
parent 2d502775a6
commit 50bf26d92f
5 changed files with 48 additions and 1 deletions

View File

@@ -324,6 +324,7 @@ namespace Nz
case ShaderAst::IntrinsicType::Length:
case ShaderAst::IntrinsicType::Max:
case ShaderAst::IntrinsicType::Min:
case ShaderAst::IntrinsicType::Pow:
extInsts.emplace("GLSL.std.450");
break;