mameau%CWD%:> █
OFFLINE
$ cat how-does-fsuae-access-vkbasalt.txt

getting those dep hell vibes from this assuming it is correct

- the application flatpack is built dependant on platform runtimes
- the dependent platform runtimes are built with vulkan support through the
  org.freedesktop.Platform.VulkanLayer extension
- flatpak(?) merges the implicit_layer.d dirs into the app flatpak
- vkBasalt has dropped its layer def into the implicit_layer.d dir
- the layer def will trigger when ENABLE_VKBASALT=1 evn var is set as part of
  normal vulkan behaviour


app/net.fsuae.FS-UAE/x86_64/stable
  -> https://invent.kde.org/packaging/flatpak-kde-runtime
    -> org.kde.Sdk/x86_64/5.15-24.08
    -> org.kde.Platform/x86_64/5.15-24.08
      -> "inherit-extensions": [ "org.freedesktop.Platform.GL", "org.freedesktop.Platform.VulkanLayer" ]
          https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/1a8039407f8573725b16eab8779f2b0e1cd01629/elements/flatpak-images/platform.bst
          -> org.freedesktop.Platform.VulkanLayer
              directory: "lib/extensions/vulkan"



org.freedesktop.Platform.VulkanLayer.vkBasalt
  -> /usr/lib/extensions/vulkan/share/vulkan/implicit_layer.d/vkBasalt.json
    -> ENABLE_VKBASALT=1
  -> org.freedesktop.Sdk
  -> org.freedesktop.Platform
      https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/1a8039407f8573725b16eab8779f2b0e1cd01629/elements/flatpak-images/platform.bst
      -> org.freedesktop.Platform.VulkanLayer
          directory: "lib/extensions/vulkan"



from within a running instance of net.fsuae.FS-UAE
  bash-5.2$ find / -iname "*vkbasalt*" 
  /usr/lib/extensions/vulkan/vkBasalt
  /usr/lib/extensions/vulkan/share/vulkan/implicit_layer.d/vkBasalt.json