瀏覽代碼

Metal: Fix SPIR-V → MSL compilation on iOS targets

Stuart Carnie 6 月之前
父節點
當前提交
5312811c4d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/metal/rendering_device_driver_metal.mm

+ 1 - 0
drivers/metal/rendering_device_driver_metal.mm

@@ -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;