Skip to content
Snippets Groups Projects
  • Ludovico de Nittis's avatar
    c2fd0c62
    pressure-vessel: Reuse the drivers basename · c2fd0c62
    Ludovico de Nittis authored
    
    When creating the JSON manifests, we were simply naming them
    sequentially, as an easy way to avoid conflicts.
    
    However, since Vulkan Loader 1.3.234, it is possible to select which
    driver to use by listing their names in the environment variable
    `VK_LOADER_DRIVERS_SELECT`. This functionality would not work in
    pressure-vessel, unless we keep the original JSON manifest name.
    
    With this commit now we always reuse the JSON manifest basename.
    In the rare events where this could cause a conflict, we create
    unique sub directories to avoid issues.
    
    Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
    c2fd0c62
    History
    pressure-vessel: Reuse the drivers basename
    Ludovico de Nittis authored
    
    When creating the JSON manifests, we were simply naming them
    sequentially, as an easy way to avoid conflicts.
    
    However, since Vulkan Loader 1.3.234, it is possible to select which
    driver to use by listing their names in the environment variable
    `VK_LOADER_DRIVERS_SELECT`. This functionality would not work in
    pressure-vessel, unless we keep the original JSON manifest name.
    
    With this commit now we always reuse the JSON manifest basename.
    In the rare events where this could cause a conflict, we create
    unique sub directories to avoid issues.
    
    Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>