Skip to content

Add support for new Vulkan-Loader 1.3.207 environment variables

Simon McVittie requested to merge wip/smcv/vk-driver-files into master
  • system-info: Diagnose variables added in Vulkan-Loader 1.3.207

  • pressure-vessel: Set both VK_DRIVER_FILES and VK_ICD_FILENAMES

    VK_DRIVER_FILES was added to recent Vulkan-Loader versions, and takes precedence over VK_ICD_FILENAMES, which is now deprecated. Set both, so that both old and new Vulkan-Loader versions will work as expected.

    Similarly, remove VK_ADD_DRIVER_FILES from the environment: we assume that its contents will have been subsumed into VK_DRIVER_FILES when we built our modified search path.

  • graphics: Respect VK_DRIVER_FILES, VK_ADD_DRIVER_FILES

    These are included in Vulkan-Loader 1.3.207, with a semantic change (ignoring VK_ADD_DRIVER_FILES if VK_DRIVER_FILES or VK_ICD_FILENAMES are set) merged for 1.3.208 but not yet releasd.

    VK_DRIVER_FILES is a direct replacement for VK_ICD_FILENAMES, and is preferred over VK_ICD_FILENAMES.

    VK_ADD_DRIVER_FILES is prepended to the default search path if neither of the overrides was used.

    Resolves: steamrt/tasks#95

  • graphics: Respect VK_ADD_LAYER_PATH

    This was added in Vulkan-Loader 1.3.207. The relationship between VK_ADD_LAYER_PATH and VK_LAYER_PATH is the same as between VK_ADD_DRIVER_FILES and VK_DRIVER_FILES.

  • tests: Exercise VK_ADD_DRIVER_FILES and VK_DRIVER_FILES

  • tests: Exercise VK_ADD_LAYER_PATH

Edited by Simon McVittie

Merge request reports

Loading