Understanding LunarG validation layers and their features
The LunarG Vulkan SDK supports the following layers for debugging and validation purposes. In the following points, we have described some of the layers that will help you understand the offered functionalities:
VK_LAYER_GOOGLE_unique_objects
: Non-dispatchable Vulkan objects handles are not required to be unique; a driver may return the same handle for multiple objects that it considers equivalent. This behavior makes tracking the object difficult because it is not clear which object to reference at the time of deletion. This layer packs the Vulkan objects into a unique identifier at the time of creation and unpacks them when the application uses it. This ensures there is proper object lifetime tracking at the time of validation. As per LunarG's recommendation, this layer must be last in the chain of the validation layer, making it closer to the display driver.VK_LAYER_LUNARG_api_dump
: This layer is helpful in knowing the parameter...