Giter VIP home page Giter VIP logo

Comments (2)

charles-lunarg avatar charles-lunarg commented on June 30, 2024

I am unsure of the historical decision as to why VK_LAYER_PATH only modifies explicit layer paths, but I am not keen to change it due to potential side effects across the ecosystem.

Still, a VK_IMPLICIT_LAYER_PATH and VK_ADD_IMPLICIT_LAYER_PATH would make sense and I do not think it is impossible to add. I'm no fan of adding more environment variables (there already are too many in my opinion) but they at least close an existing hole.

As a side note, it would be helpful to have some extra debug text in VK_LOADER_DEBUG=all to indicate which types of manifests

Looking at the log, we do print "looking for layer|driver manifests" but I always 'knew' what was being searched for because the paths involved said "explicit_layer.d/Vk_layer_foo.json". Still, that is a useful thing to print.

As for why it works the way it does, it may have to do with the loader's inability to distinguish implicit from explicit layers directly, instead expecting the different layer types to be in separate paths/registries. But I have no solid evidence of that fact.

from vulkan-loader.

charles-lunarg avatar charles-lunarg commented on June 30, 2024

PR #1400 Is a quick addition to add "explicit" or "implicit" to the 'searching for layer manifests' log message.
I think it would be better to open a separate issue to track more detailed logging suggestions, in order to prevent this issue from getting cluttered up.

EDIT: I went ahead and did that - let me know if that summarizes the intent of your suggestion. Cause I believe the root problem was not knowing where the search paths came from, rather than only knowing if any given env-var was the source.

from vulkan-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.