mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Metal: Fix SPIR-V → MSL compilation on iOS targets
This commit is contained in:
parent
3ef055fecb
commit
5312811c4d
1 changed files with 1 additions and 0 deletions
|
@ -2045,6 +2045,7 @@ Vector<uint8_t> RenderingDeviceDriverMetal::shader_compile_binary_from_spirv(Vec
|
||||||
|
|
||||||
#if TARGET_OS_IPHONE
|
#if TARGET_OS_IPHONE
|
||||||
msl_options.ios_use_simdgroup_functions = (*device_properties).features.simdPermute;
|
msl_options.ios_use_simdgroup_functions = (*device_properties).features.simdPermute;
|
||||||
|
msl_options.ios_support_base_vertex_instance = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool disable_argument_buffers = false;
|
bool disable_argument_buffers = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue