Add shader baker to project exporter.
Metal Support contributed by Migeran (https://migeran.com) and Stuart Carnie. Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com> Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
This commit is contained in:
@ -9159,10 +9159,6 @@ Error ShaderLanguage::_parse_shader(const HashMap<StringName, FunctionInfo> &p_f
|
||||
uint64_t max_uniform_buffer_size = 65536;
|
||||
int uniform_buffer_exceeded_line = -1;
|
||||
bool check_device_limit_warnings = check_warnings && HAS_WARNING(ShaderWarning::DEVICE_LIMIT_EXCEEDED_FLAG);
|
||||
// Can be false for internal shaders created in the process of initializing the engine.
|
||||
if (RSG::utilities) {
|
||||
max_uniform_buffer_size = RSG::utilities->get_maximum_uniform_buffer_size();
|
||||
}
|
||||
#endif // DEBUG_ENABLED
|
||||
ShaderNode::Uniform::Scope uniform_scope = ShaderNode::Uniform::SCOPE_LOCAL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user