diff --git a/spirv_msl.cpp b/spirv_msl.cpp index 642fcfa59..36fec8ab0 100644 --- a/spirv_msl.cpp +++ b/spirv_msl.cpp @@ -15584,6 +15584,9 @@ const std::unordered_set &CompilerMSL::get_illegal_func_names() { static const unordered_set illegal_func_names = { "main", + "fragment", + "vertex", + "kernel", "saturate", "assert", "fmin3",