HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_EXT_validation_features

Name

VK_EXT_validation_features - instance extension

VK_EXT_validation_features

Name String

VK_EXT_validation_features

Extension Type

Instance extension

Registered Extension Number

248

Revision

6

Ratification Status

Ratified

Extension and Version Dependencies

None

Deprecation State
Special Use
Contact

Other Extension Metadata

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

  • Tony Barbour, LunarG

  • John Zulauf, LunarG

Description

This extension provides the ValidationFeaturesEXT structure that can be included in the pNext chain of the InstanceCreateInfo structure passed as the pCreateInfo parameter of createInstance. The structure contains an array of ValidationFeatureEnableEXT enum values that enable specific validation features that are disabled by default. The structure also contains an array of ValidationFeatureDisableEXT enum values that disable specific validation layer features that are enabled by default.

Deprecation by VK_EXT_layer_settings

Functionality in this extension is subsumed into the VK_EXT_layer_settings extension.

New Structures

New Enums

New Enum Constants

Version History

  • Revision 1, 2018-11-14 (Karl Schultz)

    • Initial revision

  • Revision 2, 2019-08-06 (Mark Lobodzinski)

    • Add Best Practices enable

  • Revision 3, 2020-03-04 (Tony Barbour)

    • Add Debug Printf enable

  • Revision 4, 2020-07-29 (John Zulauf)

    • Add Synchronization Validation enable

  • Revision 5, 2021-05-18 (Tony Barbour)

    • Add Shader Validation Cache disable

  • Revision 6, 2023-09-25 (Christophe Riccio)

    • Marked as deprecated by VK_EXT_layer_settings

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

  • 5 types
  • Packagevulkan-3.27
  • Exports20
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_EXT_validation_features.hs

VkValidationFeaturesEXT - Specify validation features to enable or disable for a Vulkan instance

Valid Usage

Valid Usage (Implicit)

  • If enabledValidationFeatureCount is not 0, pEnabledValidationFeatures must be a valid pointer to an array of enabledValidationFeatureCount valid ValidationFeatureEnableEXT values

  • If disabledValidationFeatureCount is not 0, pDisabledValidationFeatures must be a valid pointer to an array of disabledValidationFeatureCount valid ValidationFeatureDisableEXT values

Structure Chaining

Extends the structures

See Also

VK_EXT_validation_features, StructureType, ValidationFeatureDisableEXT, ValidationFeatureEnableEXT

Constructors

Instances4Show, FromCStruct, ToCStruct, Zero
newtypenewtype ValidationFeatureEnableEXT
#

VkValidationFeatureEnableEXT - Specify validation features to enable

Description

  • 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 for PhysicalDeviceLimits::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.

  • 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.

  • VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT specifies that the layers will process debugPrintfEXT operations in shaders and send the resulting output to the debug callback. This feature is disabled by default.

  • VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT specifies that Vulkan synchronization validation is enabled. This feature reports resource access conflicts due to missing or incorrect synchronization operations between actions (Draw, Copy, Dispatch, Blit) reading or writing the same regions of memory. This feature is disabled by default.

See Also

VK_EXT_validation_features, ValidationFeaturesEXT

Instances6Eq, Ord, Read, Show, Storable, Zero
newtypenewtype ValidationFeatureDisableEXT
#

VkValidationFeatureDisableEXT - Specify validation features to disable

Description

See Also

VK_EXT_validation_features, ValidationFeaturesEXT

Instances6Eq, Ord, Read, Show, Storable, Zero