Skip to content

Commit 9014202

Browse files
committed
Merge pull request #103337 from stuartcarnie/fix_ios_options
Metal: Fix SPIR-V → MSL compilation on iOS targets
2 parents bb88938 + 5312811 commit 9014202

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/metal/rendering_device_driver_metal.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2045,6 +2045,7 @@ void deserialize(BufReader &p_reader) {
20452045

20462046
#if TARGET_OS_IPHONE
20472047
msl_options.ios_use_simdgroup_functions = (*device_properties).features.simdPermute;
2048+
msl_options.ios_support_base_vertex_instance = true;
20482049
#endif
20492050

20502051
bool disable_argument_buffers = false;

0 commit comments

Comments
 (0)