Shader: Add support for max/min intrinsic
This commit is contained in:
@@ -283,6 +283,8 @@ namespace Nz
|
||||
// Require GLSL.std.450
|
||||
case ShaderAst::IntrinsicType::CrossProduct:
|
||||
case ShaderAst::IntrinsicType::Length:
|
||||
case ShaderAst::IntrinsicType::Max:
|
||||
case ShaderAst::IntrinsicType::Min:
|
||||
extInsts.emplace("GLSL.std.450");
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user