Fix particles shader to use built-ins

This commit is contained in:
Yuri Roubinsky 2020-09-02 22:02:04 +03:00
parent d3ab536a0a
commit 2a00c868de

View file

@ -6979,6 +6979,11 @@ bool ShaderLanguage::has_builtin(const Map<StringName, ShaderLanguage::FunctionI
return true;
}
}
if (p_functions.has("compute")) {
if (p_functions["compute"].built_ins.has(p_name)) {
return true;
}
}
return false;
}