Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- 4
- Extension and Version Dependencies
- Requires Vulkan 1.0
- 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
struct 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.
Note
The VK_EXT_validation_features
extension subsumes all the
functionality provided in the VK_EXT_validation_flags
extension.
New Structures
Extending
InstanceCreateInfo
:
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
See Also
ValidationFeatureDisableEXT
, ValidationFeatureEnableEXT
,
ValidationFeaturesEXT
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.
Synopsis
- data ValidationFeaturesEXT = ValidationFeaturesEXT {}
- newtype ValidationFeatureEnableEXT where
- ValidationFeatureEnableEXT Int32
- pattern VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT :: ValidationFeatureEnableEXT
- pattern VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT :: ValidationFeatureEnableEXT
- pattern VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT :: ValidationFeatureEnableEXT
- pattern VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT :: ValidationFeatureEnableEXT
- pattern VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT :: ValidationFeatureEnableEXT
- newtype ValidationFeatureDisableEXT where
- ValidationFeatureDisableEXT Int32
- pattern VALIDATION_FEATURE_DISABLE_ALL_EXT :: ValidationFeatureDisableEXT
- pattern VALIDATION_FEATURE_DISABLE_SHADERS_EXT :: ValidationFeatureDisableEXT
- pattern VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT :: ValidationFeatureDisableEXT
- pattern VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT :: ValidationFeatureDisableEXT
- pattern VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT :: ValidationFeatureDisableEXT
- pattern VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT :: ValidationFeatureDisableEXT
- pattern VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT :: ValidationFeatureDisableEXT
- type EXT_VALIDATION_FEATURES_SPEC_VERSION = 4
- pattern EXT_VALIDATION_FEATURES_SPEC_VERSION :: forall a. Integral a => a
- type EXT_VALIDATION_FEATURES_EXTENSION_NAME = "VK_EXT_validation_features"
- pattern EXT_VALIDATION_FEATURES_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data ValidationFeaturesEXT Source #
VkValidationFeaturesEXT - Specify validation features to enable or disable for a Vulkan instance
Valid Usage
- If
the
pEnabledValidationFeatures
array containsVALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT
, then it must also containVALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT
- If
the
pEnabledValidationFeatures
array containsVALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT
, then it must not containVALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT
Valid Usage (Implicit)
-
sType
must beSTRUCTURE_TYPE_VALIDATION_FEATURES_EXT
-
If
enabledValidationFeatureCount
is not0
,pEnabledValidationFeatures
must be a valid pointer to an array ofenabledValidationFeatureCount
validValidationFeatureEnableEXT
values -
If
disabledValidationFeatureCount
is not0
,pDisabledValidationFeatures
must be a valid pointer to an array ofdisabledValidationFeatureCount
validValidationFeatureDisableEXT
values
See Also
StructureType
,
ValidationFeatureDisableEXT
, ValidationFeatureEnableEXT
ValidationFeaturesEXT | |
|
Instances
Show ValidationFeaturesEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_validation_features showsPrec :: Int -> ValidationFeaturesEXT -> ShowS # show :: ValidationFeaturesEXT -> String # showList :: [ValidationFeaturesEXT] -> ShowS # | |
FromCStruct ValidationFeaturesEXT Source # | |
ToCStruct ValidationFeaturesEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_validation_features withCStruct :: ValidationFeaturesEXT -> (Ptr ValidationFeaturesEXT -> IO b) -> IO b Source # pokeCStruct :: Ptr ValidationFeaturesEXT -> ValidationFeaturesEXT -> IO b -> IO b Source # withZeroCStruct :: (Ptr ValidationFeaturesEXT -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr ValidationFeaturesEXT -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero ValidationFeaturesEXT Source # | |
newtype ValidationFeatureEnableEXT Source #
pattern VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT :: ValidationFeatureEnableEXT |
|
pattern VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT :: ValidationFeatureEnableEXT |
|
pattern VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT :: ValidationFeatureEnableEXT |
|
pattern VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT :: ValidationFeatureEnableEXT |
|
pattern VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT :: ValidationFeatureEnableEXT |
|
Instances
newtype ValidationFeatureDisableEXT Source #
pattern VALIDATION_FEATURE_DISABLE_ALL_EXT :: ValidationFeatureDisableEXT |
|
pattern VALIDATION_FEATURE_DISABLE_SHADERS_EXT :: ValidationFeatureDisableEXT |
|
pattern VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT :: ValidationFeatureDisableEXT |
|
pattern VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT :: ValidationFeatureDisableEXT |
|
pattern VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT :: ValidationFeatureDisableEXT |
|
pattern VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT :: ValidationFeatureDisableEXT |
|
pattern VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT :: ValidationFeatureDisableEXT |
|
Instances
type EXT_VALIDATION_FEATURES_SPEC_VERSION = 4 Source #
pattern EXT_VALIDATION_FEATURES_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_VALIDATION_FEATURES_EXTENSION_NAME = "VK_EXT_validation_features" Source #
pattern EXT_VALIDATION_FEATURES_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #