Merge pull request #41719 from Chaosus/fix_particle_shader
Fix particles shader to use built-ins
This commit is contained in:
commit
7cc1e2062a
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue