From d4163fa7d6ccaa1f7b827c3b33e73ec0fb4b50a4 Mon Sep 17 00:00:00 2001 From: Mars Date: Sun, 17 Nov 2024 21:37:03 -0500 Subject: [PATCH] what --- _sources/generated.json | 20 +++ _sources/generated.nix | 18 ++- file.txt | 279 +++++++++++++++++++++++++++++++++++ flake.nix | 5 +- src/init/vulkan_instance.cpp | 2 + src/util/constants.hpp | 2 +- 6 files changed, 317 insertions(+), 9 deletions(-) create mode 100644 file.txt diff --git a/_sources/generated.json b/_sources/generated.json index 8b6495b..33bdf9d 100644 --- a/_sources/generated.json +++ b/_sources/generated.json @@ -18,5 +18,25 @@ "type": "github" }, "version": "11.0.2" + }, + "imgui": { + "cargoLocks": null, + "date": "2024-11-15", + "extract": null, + "name": "imgui", + "passthru": null, + "pinned": false, + "src": { + "deepClone": false, + "fetchSubmodules": false, + "leaveDotGit": false, + "name": null, + "owner": "ocornut", + "repo": "imgui", + "rev": "8082a849035ab9de2f9e9821f0ef96ead51b930d", + "sha256": "sha256-IAg27igFpypMuGsCyCKAYaqPpvnC+qtfiUp4kZ+CT0Q=", + "type": "github" + }, + "version": "8082a849035ab9de2f9e9821f0ef96ead51b930d" } } \ No newline at end of file diff --git a/_sources/generated.nix b/_sources/generated.nix index af0fe60..e0c5d1e 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -1,10 +1,6 @@ # This file was generated by nvfetcher, please do not modify it manually. +{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }: { - fetchgit, - fetchurl, - fetchFromGitHub, - dockerTools, -}: { fmt = { pname = "fmt"; version = "11.0.2"; @@ -16,4 +12,16 @@ sha256 = "sha256-IKNt4xUoVi750zBti5iJJcCk3zivTt7nU12RIf8pM+0="; }; }; + imgui = { + pname = "imgui"; + version = "8082a849035ab9de2f9e9821f0ef96ead51b930d"; + src = fetchFromGitHub { + owner = "ocornut"; + repo = "imgui"; + rev = "8082a849035ab9de2f9e9821f0ef96ead51b930d"; + fetchSubmodules = false; + sha256 = "sha256-IAg27igFpypMuGsCyCKAYaqPpvnC+qtfiUp4kZ+CT0Q="; + }; + date = "2024-11-15"; + }; } diff --git a/file.txt b/file.txt new file mode 100644 index 0000000..a0a5eff --- /dev/null +++ b/file.txt @@ -0,0 +1,279 @@ +INFO: Vulkan Loader Version 1.3.296 +INFO: Vulkan Loader Version 1.3.290 +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for explicit layer manifest files +LAYER: In following locations: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d +LAYER: Found the following files: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json +INFO: Found manifest file /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json (file version 1.2.0) +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for explicit layer manifest files +LAYER: In following locations: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d +LAYER: Found the following files: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json +INFO: Found manifest file /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json (file version 1.2.0) +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for explicit layer manifest files +LAYER: In following locations: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d +LAYER: Found the following files: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json +INFO: Found manifest file /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json (file version 1.2.0) +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for explicit layer manifest files +LAYER: In following locations: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d +LAYER: Found the following files: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json +INFO: Found manifest file /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json (file version 1.2.0) +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +DRIVER: Searching for driver manifest files +DRIVER: In following locations: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found the following files: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found ICD manifest file /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json, version 1.0.0 +DEBUG | DRIVER: Searching for ICD drivers named /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/lib/libMoltenVK.dylib +DRIVER: Searching for driver manifest files +DRIVER: In following locations: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found the following files: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found ICD manifest file /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json, version 1.0.0 +DEBUG | DRIVER: Searching for ICD drivers named /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/lib/libMoltenVK.dylib +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +DRIVER: Searching for driver manifest files +DRIVER: In following locations: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found the following files: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found ICD manifest file /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json, version 1.0.0 +DEBUG | DRIVER: Searching for ICD drivers named /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/lib/libMoltenVK.dylib +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +INFO: Portability enumeration bit was set, enumerating portability drivers. +LAYER: Searching for implicit layer manifest files +LAYER: In following locations: +LAYER: /Users/marshall/vulkan-test/build/vulkan/implicit_layer.d +LAYER: /Users/marshall/.config/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/etc/xdg/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/etc/xdg/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/etc/xdg/vulkan/implicit_layer.d +LAYER: /Users/lunarg/Dev/macos-sdk-build/Vulkan-Loader/build/install/etc/vulkan/implicit_layer.d +LAYER: /etc/vulkan/implicit_layer.d +LAYER: /Users/marshall/.local/share/vulkan/implicit_layer.d +LAYER: /nix/store/kxrdwph3yw03h27g9h1w8yskf57savdm-vulkan-extension-layer-1.3.296.0/share/vulkan/implicit_layer.d +LAYER: /Users/marshall/.nix-profile/share/vulkan/implicit_layer.d +LAYER: /run/current-system/sw/share/vulkan/implicit_layer.d +LAYER: /nix/var/nix/profiles/default/share/vulkan/implicit_layer.d +LAYER: Found no files +LAYER: Searching for explicit layer manifest files +LAYER: In following locations: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d +LAYER: Found the following files: +LAYER: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json +INFO: Found manifest file /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json (file version 1.2.0) +DRIVER: Searching for driver manifest files +DRIVER: In following locations: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found the following files: +DRIVER: /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json +DRIVER: Found ICD manifest file /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/share/vulkan/icd.d/MoltenVK_icd.json, version 1.0.0 +DEBUG | DRIVER: Searching for ICD drivers named /nix/store/6npkzf33ypdazap6m5iqr2sx041mvnnj-MoltenVK-1.2.11/lib/libMoltenVK.dylib +DEBUG | LAYER: Loading layer library /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/lib/libVkLayer_khronos_validation.dylib +INFO | LAYER: Insert instance layer "VK_LAYER_KHRONOS_validation" (/nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/lib/libVkLayer_khronos_validation.dylib) +LAYER: vkCreateInstance layer callstack setup to: +LAYER: +LAYER: || +LAYER: +LAYER: || +LAYER: VK_LAYER_KHRONOS_validation +LAYER: Type: Explicit +LAYER: Manifest: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/share/vulkan/explicit_layer.d/VkLayer_khronos_validation.json +LAYER: Library: /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/lib/libVkLayer_khronos_validation.dylib +LAYER: || +LAYER: +DEBUG | LAYER: Unloading layer library /nix/store/ihcv7k5smi4bn0ld97003v4gls1g49lg-vulkan-validation-layers-1.3.296.0/lib/libVkLayer_khronos_validation.dylib +Available extensions: + VK_KHR_surface + VK_EXT_metal_surface + VK_EXT_debug_utils + VK_KHR_portability_enumeration + VK_KHR_get_physical_device_properties2 +Available devices: + Apple M2 +Failed to find a suitable GPU! diff --git a/flake.nix b/flake.nix index c2eedea..a498e05 100644 --- a/flake.nix +++ b/flake.nix @@ -41,8 +41,7 @@ }; fmt = mkPkg "fmt"; - - imgui = pkgs.imgui.override { + imgui = (mkPkg "imgui").override { IMGUI_BUILD_GLFW_BINDING = true; IMGUI_BUILD_VULKAN_BINDING = true; }; @@ -116,7 +115,7 @@ meson nil ninja - #nvfetcher + nvfetcher pkg-config unzip diff --git a/src/init/vulkan_instance.cpp b/src/init/vulkan_instance.cpp index b2849e6..22410a3 100644 --- a/src/init/vulkan_instance.cpp +++ b/src/init/vulkan_instance.cpp @@ -1,3 +1,5 @@ +#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1 + #include #include "vulkan_instance.hpp" diff --git a/src/util/constants.hpp b/src/util/constants.hpp index ef907c1..e0064fd 100644 --- a/src/util/constants.hpp +++ b/src/util/constants.hpp @@ -30,7 +30,7 @@ namespace constants { // Device extensions #ifdef __APPLE__ constexpr std::array deviceExtensions = { vk::KHRSwapchainExtensionName, - vk::KHRPortabilitySubsetExtensionName }; + "VK_KHR_portability_subset" }; #else constexpr std::array deviceExtensions = { vk::KHRSwapchainExtensionName }; #endif