Jump to content

Validation layers


Josh
 Share

Recommended Posts

You can control which validation layers get used for debug and release (probably none) builds by modifying Ultra.json:

{
    "project":
    {
        "name": "$PROJECT_NAME",
        "validationLayers":
        {
            "debug":
            [
                "VK_LAYER_LUNARG_standard_validation",
                "VK_LAYER_KHRONOS_validation"
            ],
            "release":
            []
        }
    }
}

I don't know how redundant it is to have both the LunarG and Khronos validation layers. They do reduce framerate quite a lot in debug mode. I'm guessing we probably just need the Khronos one, but I don't know for sure yet.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Ok, it seems that the Ultra.json file is gonna be used outside the project manager. I was experimenting with loading packages and plugins from a json file, but now it makes sense to just put that information here.

Can you explain the reason for supporting multiple layers? Will one cause problems on one type of hardware? 

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

There are many validation layers out there, and they can be used for a lot of different things, not just debugging.

I think I started with the LunarG one and then added the Khronos one when it became available.

When the editor re-saves the project file (ultra.json) it loads, inserts, and saves the info, so it should be fine to store your own info there too.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...