Enum vulkano::instance::debug::ValidationFeatureEnable
source · #[repr(i32)]
pub enum ValidationFeatureEnable {
GpuAssisted,
GpuAssistedReserveBindingSlot,
BestPractices,
DebugPrintf,
SynchronizationValidation,
}
Expand description
Features of the validation layer to enable.
Variants§
GpuAssisted
The validation layer will use shader programs running on the GPU to provide additional validation.
This must not be used together with DebugPrintf
.
GpuAssistedReserveBindingSlot
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
The validation layer will report recommendations that are not strictly errors, but that may be considered good Vulkan practice.
DebugPrintf
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
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 more