Giter VIP home page Giter VIP logo

Comments (3)

jeremyg-lunarg avatar jeremyg-lunarg commented on July 23, 2024 1

The "VK_LAYER_KHRONOS_synchronization2" really did the trick. Thank you for an extensive list of informations.

Glad you're making progress!

I just wish the loader can scan at the root application for required the layer .json file and .so/.dll. That would make thing much simpler

I spoke to the Loader maintainers about this and the closest you can get right now is to add your application install directory to the VK_LAYER_PATH environment variable in your application before you try calling vkCreateInstance(). They may look into improving this behavior in the future, but need to be sure it doesn't cause any security concerns or other problems.

from vulkan-extensionlayer.

jeremyg-lunarg avatar jeremyg-lunarg commented on July 23, 2024

You should check out the Loader interface architecture document and the Loader <-> Layer interface document, especially the Layer Discovery section.

Instead of relying on the VK_INSTANCE_LAYERS, environment variable you could add "VK_LAYER_KHRONOS_synchronization2" to ppEnabledLayerNames in your VkInstanceCreateInfo structure.

But you also need to make sure the layer .json file and .so/.dll end up in one of the locations that the loader will search. The best option will vary greatly based on the OS(es) you are targeting and how you distribute. For a practical example, you might want to check out RenderDoc, which includes its own custom layer.

from vulkan-extensionlayer.

maxxnino avatar maxxnino commented on July 23, 2024

The "VK_LAYER_KHRONOS_synchronization2" really did the trick. Thank you for an extensive list of informations. I just wish the loader can scan at the root application for required the layer .json file and .so/.dll. That would make thing much simpler

from vulkan-extensionlayer.

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.