Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

spike: sync MoltenVK patch with the submitted branch (What's New placement)

Gauthier Piarrette81eece781900
diff --git a/spike/patches/moltenvk-shadow-imported-host-memory.patch b/spike/patches/moltenvk-shadow-imported-host-memory.patch
index b773902..d6124d0 100644
--- a/spike/patches/moltenvk-shadow-imported-host-memory.patch
+++ b/spike/patches/moltenvk-shadow-imported-host-memory.patch
@@ -26,18 +26,18 @@ index fdb7b9f..12dec71 100644
+and the device is lost. It costs a copy of all shadowed memory per queue submission, so it should only be
+enabled for applications that need it.
diff --git a/Docs/Whats_New.md b/Docs/Whats_New.md
-index b8b4c0b..3db818f 100644
+index b8b4c0b..0970af9 100644
--- a/Docs/Whats_New.md
+++ b/Docs/Whats_New.md
-@@ -18,6 +18,8 @@ MoltenVK 1.4.3
-
- Released TBD
-
-+- Add `MVK_CONFIG_SHADOW_IMPORTED_HOST_MEMORY` configuration parameter, to back host memory imported
-+ through `VK_EXT_external_memory_host` with a private `MTLBuffer` when no-copy buffers over it fail at execution time.
- - Add support for the following extensions:
+@@ -22,6 +22,8 @@ Released TBD
- `VK_EXT_multi_draw`
- `VK_EXT_nested_command_buffer`
+ - `VK_EXT_ycbcr_2plane_444_formats`
++- Add `MVK_CONFIG_SHADOW_IMPORTED_HOST_MEMORY` configuration parameter, to back host memory imported
++ through `VK_EXT_external_memory_host` with a private `MTLBuffer` when no-copy buffers over it fail at execution time.
+ - Fix inconsistent image `memoryTypeBits` when `VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT` is used.
+ - Fix shader stage interface matching of 16-bit floating point variables.
+ - Fix spurious warning about blending on attachment formats that do not support it.
diff --git a/MoltenVK/MoltenVK/API/mvk_private_api.h b/MoltenVK/MoltenVK/API/mvk_private_api.h
index fdfa71a..9913d43 100644
--- a/MoltenVK/MoltenVK/API/mvk_private_api.h