Package org.lwjgl.vulkan
Class EXTValidationFeatures
- java.lang.Object
-
- org.lwjgl.vulkan.EXTValidationFeatures
-
public final class EXTValidationFeatures extends java.lang.Object
This extension provides theVkValidationFeaturesEXT
struct that can be included in thepNext
chain of theVkInstanceCreateInfo
structure passed as thepCreateInfo
parameter ofCreateInstance
. The structure contains an array ofVkValidationFeatureEnableEXT
enum values that enable specific validation features that are disabled by default. The structure also contains an array ofVkValidationFeatureDisableEXT
enum values that disable specific validation layer features that are enabled by default.Note
The
VK_EXT_validation_features
extension subsumes all the functionality provided in theVK_EXT_validation_flags
extension.- Name String
VK_EXT_validation_features
- Extension Type
- Instance extension
- Registered Extension Number
- 248
- Revision
- 2
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Contact
- Karl Schultz karl-lunarg
- Last Modified Date
- 2018-11-14
- IP Status
- No known IP claims.
- Contributors
- Karl Schultz, LunarG
- Dave Houlton, LunarG
- Mark Lobodzinski, LunarG
- Camden Stocker, LunarG
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME
The extension name.static int
VK_EXT_VALIDATION_FEATURES_SPEC_VERSION
The extension specification version.static int
VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT
ExtendsVkStructureType
.static int
VK_VALIDATION_FEATURE_DISABLE_ALL_EXT
VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT
VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT
VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT
VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT
VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT
VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXTVkValidationFeatureDisableEXT - Specify validation features to disablestatic int
VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXTVkValidationFeatureEnableEXT - Specify validation features to enable
-
-
-
Field Detail
-
VK_EXT_VALIDATION_FEATURES_SPEC_VERSION
The extension specification version.
-
VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT
ExtendsVkStructureType
.
-
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT, VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT, VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT
VkValidationFeatureEnableEXT - Specify validation features to enableDescription
VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT
specifies that GPU-assisted validation is enabled. Activating this feature instruments shader programs to generate additional diagnostic data. This feature is disabled by default.VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT
specifies that the validation layers reserve a descriptor set binding slot for their own use. The layer reports a value forVkPhysicalDeviceLimits
::maxBoundDescriptorSets
that is one less than the value reported by the device. If the device supports the binding of only one descriptor set, the validation layer does not perform GPU-assisted validation. This feature is disabled by default. The GPU-assisted validation feature must be enabled in order to use this feature.VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT
specifies that Vulkan best-practices validation is enabled. Activating this feature enables the output of warnings related to common misuse of the API, but which are not explicitly prohibited by the specification. This feature is disabled by default.
See Also
-
VK_VALIDATION_FEATURE_DISABLE_ALL_EXT, VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT, VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT, VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT, VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT, VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT, VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT
VkValidationFeatureDisableEXT - Specify validation features to disableDescription
VALIDATION_FEATURE_DISABLE_ALL_EXT
specifies that all validation checks are disabled.VALIDATION_FEATURE_DISABLE_SHADERS_EXT
specifies that shader validation is disabled. This feature is enabled by default.VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT
specifies that thread safety validation is disabled. This feature is enabled by default.VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT
specifies that stateless parameter validation is disabled. This feature is enabled by default.VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT
specifies that object lifetime validation is disabled. This feature is enabled by default.VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT
specifies that core validation checks are disabled. This feature is enabled by default. If this feature is disabled, the shader validation and GPU-assisted validation features are also disabled.VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT
specifies that protection against duplicate non-dispatchable object handles is disabled. This feature is enabled by default.
See Also
-
-