2

I am learning vulkan and found interesting thing: on my home pc I have VK_LAYER_LUNARG_standard_validation layer but on my work pc I don't have it but have VK_LAYER_LUNARG_core_validation instead. What is the difference between them and what should I use?

1 Answer 1

2

From the table in the layer documentation:

VK_LAYER_LUNARG_core_validation validate the descriptor set, pipeline state, and dynamic state; validate the interfaces between SPIR-V modules and the graphics pipeline; track and validate GPU memory and its binding to objects and command buffers

And then just after the table of layers:

In addition to the above individually specified layers, a built-in meta-layer definition has been provided which simplifies validation for applications. Specifying this short-hand layer definition will load a standard set of validation layers in the optimal order:

 VK_LAYER_LUNARG_standard_validation

In some (early) versions of the VulkanSDK releases, VK_LAYER_LUNARG_standard_validation and VK_LAYER_LUNARG_core_validation, were added (but, not the same version). You should probably just update to latest SDK releases (or at least a later and consistent) version on all your machines.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.