The structure contains an array of LayerSettingEXT structure values
that configure specific features of layers.
The VK_EXT_layer_settings extension subsumes all the functionality
provided in the VK_EXT_validation_flags extension and the
VK_EXT_validation_features extension.
One example usage of VK_EXT_layer_settings is as implemented by the
Vulkan Profiles layer.
It allows the profiles layer tests used by the profiles layer C.I. to
programmatically configure the layer for each test without affecting the
C.I. environment, allowing to run multiple tests concurrently.
How should application developers figure out the list of available
settings?
This extension does not provide a reflection API for layer settings.
Layer settings are described in each layer JSON manifest and the
documentation of each layer which implements this extension.
Version History
Revision 1, 2020-06-17 (Mark Lobodzinski)
Initial revision for Validation layer internal usages
Revision 2, 2023-09-26 (Christophe Riccio)
Refactor APIs for any layer usages and public release
VkLayerSettingEXT - Specify a layer capability to configure
Description
When multiple LayerSettingsCreateInfoEXT structures are chained and
the same pSettingName is referenced for the same pLayerName, the
value of the first reference of the layer setting is used.
Valid Usage
If valueCount is not
0, pValuesmust be a valid pointer to an array of valueCount
values of the type indicated by type
Valid Usage (Implicit)
pLayerNamemust be
a null-terminated UTF-8 string
pSettingNamemust be a null-terminated UTF-8 string
pSettingName is a pointer to a null-terminated UTF-8 string naming the
setting to configure. Values of pSettingName that are unknown to the
layer are ignored.