: create-device-and-pipeline-via-app-bundle
:
: Create a Vulkan instance while running from inside a .app bundle
: structure. No VK_DRIVER_FILES, no VK_ADD_DRIVER_FILES, no application
: code beyond the ordinary portability-enumeration flag: the loader finds
: Contents/Resources/vulkan/icd.d/ next to this executable entirely on
: its own. Then a compute pipeline, same as tests/basics. On a host with
: no Metal-capable hardware (e.g. CI), only the --probe-hw diagnostic
: below is checked.
:
if $* --probe-hw >! 2>!
{
  $* 2>!
}
else
{
  $* --probe-hw 2>! >>EOO == 1
  no compatible Metal hardware found
  EOO
}
