Enum vulkano::instance::debug::ValidationFeatureEnable
source · #[non_exhaustive]#[repr(i32)]pub enum ValidationFeatureEnable {
GpuAssisted = 0,
GpuAssistedReserveBindingSlot = 1,
BestPractices = 2,
DebugPrintf = 3,
SynchronizationValidation = 4,
}
Expand description
Features of the validation layer to enable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
GpuAssisted = 0
The validation layer will use shader programs running on the GPU to provide additional validation.
This must not be used together with DebugPrintf
.
GpuAssistedReserveBindingSlot = 1
The validation layer will reserve and use one descriptor set slot for its own use.
The limit reported by
max_bound_descriptor_sets
will be reduced by 1.
GpuAssisted
must also be enabled.
BestPractices = 2
The validation layer will report recommendations that are not strictly errors, but that may be considered good Vulkan practice.
DebugPrintf = 3
The validation layer will process debugPrintfEXT
operations in shaders, and send them
to the debug callback.
This must not be used together with GpuAssisted
.
SynchronizationValidation = 4
The validation layer will report errors relating to synchronization, such as data races and the use of synchronization primitives.
Trait Implementations§
source§impl Clone for ValidationFeatureEnable
impl Clone for ValidationFeatureEnable
source§fn clone(&self) -> ValidationFeatureEnable
fn clone(&self) -> ValidationFeatureEnable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ValidationFeatureEnable
impl Debug for ValidationFeatureEnable
source§impl From<ValidationFeatureEnable> for ValidationFeatureEnableEXT
impl From<ValidationFeatureEnable> for ValidationFeatureEnableEXT
source§fn from(val: ValidationFeatureEnable) -> Self
fn from(val: ValidationFeatureEnable) -> Self
source§impl Hash for ValidationFeatureEnable
impl Hash for ValidationFeatureEnable
source§impl PartialEq for ValidationFeatureEnable
impl PartialEq for ValidationFeatureEnable
source§fn eq(&self, other: &ValidationFeatureEnable) -> bool
fn eq(&self, other: &ValidationFeatureEnable) -> bool
self
and other
values to be equal, and is used
by ==
.