feat: updated engine version to 4.4
This commit is contained in:
parent
d08586768d
commit
ba58baf432
140 changed files with 108317 additions and 14666 deletions
|
|
@ -2045,6 +2045,7 @@ Vector<uint8_t> RenderingDeviceDriverMetal::shader_compile_binary_from_spirv(Vec
|
|||
|
||||
#if TARGET_OS_IPHONE
|
||||
msl_options.ios_use_simdgroup_functions = (*device_properties).features.simdPermute;
|
||||
msl_options.ios_support_base_vertex_instance = true;
|
||||
#endif
|
||||
|
||||
bool disable_argument_buffers = false;
|
||||
|
|
@ -4082,9 +4083,14 @@ RenderingDeviceDriverMetal::RenderingDeviceDriverMetal(RenderingContextDriverMet
|
|||
context_driver(p_context_driver) {
|
||||
DEV_ASSERT(p_context_driver != nullptr);
|
||||
|
||||
#if TARGET_OS_OSX
|
||||
if (String res = OS::get_singleton()->get_environment("GODOT_MTL_SHADER_LOAD_STRATEGY"); res == U"lazy") {
|
||||
_shader_load_strategy = ShaderLoadStrategy::LAZY;
|
||||
}
|
||||
#else
|
||||
// Always use the lazy strategy on other OSs like iOS, tvOS, or visionOS.
|
||||
_shader_load_strategy = ShaderLoadStrategy::LAZY;
|
||||
#endif
|
||||
}
|
||||
|
||||
RenderingDeviceDriverMetal::~RenderingDeviceDriverMetal() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue