aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorwildcard <wildcard@eden-emu.dev>2026-02-04 19:15:10 +0100
committercrueter <crueter@eden-emu.dev>2026-02-04 19:15:10 +0100
commit48ba1f3f241123ca4950fed5965fe78bb804849c (patch)
tree738184813f82851bbb7729b7dfbb3534d3935358 /docs
parentd59fcf01bf9a7b3779e537adbbf5be483db8d381 (diff)
[vk, cmake] Bump minimum VulkanTools to 1.4.317 and add UnifiedImageLayouts (#3318)
It seems too easy, the specification does not state anything more to be done for it towork. Requires performance testing on android. Co-authored-by: DraVee <dravee@eden-emu.dev> Co-authored-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3318 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: wildcard <wildcard@eden-emu.dev> Co-committed-by: wildcard <wildcard@eden-emu.dev>
Diffstat (limited to 'docs')
-rw-r--r--docs/CPMUtil/AddDependentPackage.md41
-rw-r--r--docs/CPMUtil/README.md4
2 files changed, 45 insertions, 0 deletions
diff --git a/docs/CPMUtil/AddDependentPackage.md b/docs/CPMUtil/AddDependentPackage.md
new file mode 100644
index 0000000000..bb6651e4b8
--- /dev/null
+++ b/docs/CPMUtil/AddDependentPackage.md
@@ -0,0 +1,41 @@
+# AddDependentPackage
+
+Use `AddDependentPackage` when you have multiple packages that are required to all be from the system, OR bundled. This is useful in cases where e.g. versions must absolutely match.
+
+## Versioning
+
+Versioning must be handled by the package itself.
+
+## Examples
+
+### Vulkan
+
+`cpmfile.json`
+
+```json
+{
+ "vulkan-headers": {
+ "repo": "KhronosGroup/Vulkan-Headers",
+ "package": "VulkanHeaders",
+ "version": "1.4.317",
+ "hash": "26e0ad8fa34ab65a91ca62ddc54cc4410d209a94f64f2817dcdb8061dc621539a4262eab6387e9b9aa421db3dbf2cf8e2a4b041b696d0d03746bae1f25191272",
+ "git_version": "1.4.342",
+ "tag": "v%VERSION%"
+ },
+ "vulkan-utility-libraries": {
+ "repo": "KhronosGroup/Vulkan-Utility-Libraries",
+ "package": "VulkanUtilityLibraries",
+ "hash": "8147370f964fd82c315d6bb89adeda30186098427bf3efaa641d36282d42a263f31e96e4586bfd7ae0410ff015379c19aa4512ba160630444d3d8553afd1ec14",
+ "git_version": "1.4.342",
+ "tag": "v%VERSION%"
+ }
+}
+```
+
+`CMakeLists.txt`:
+
+```cmake
+AddDependentPackages(vulkan-headers vulkan-utility-libraries)
+```
+
+If Vulkan Headers are installed, but NOT Vulkan Utility Libraries, then CPMUtil will throw an error.
diff --git a/docs/CPMUtil/README.md b/docs/CPMUtil/README.md
index ff19cb4f76..dbc5f0922a 100644
--- a/docs/CPMUtil/README.md
+++ b/docs/CPMUtil/README.md
@@ -31,6 +31,10 @@ The core of CPMUtil is the [`AddPackage`](./AddPackage.md) function. [`AddPackag
[`AddJsonPackage`](./AddJsonPackage.md) is the recommended method of usage for CPMUtil.
+## AddDependentPackage
+
+[`AddDependentPackage`](./AddDependentPackage.md) allows you to add multiple packages such that all of them must be from the system OR bundled.
+
## AddQt
[`AddQt`](./AddQt.md) adds a specific version of Qt to your project.