pub unsafe extern "C" fn validator_options_set_relax_block_layout(
    opts: *mut ValidatorOptions,
    toggle: bool
)
Expand description

Records whether the validator should use “relaxed” block layout rules. Relaxed layout rules are described by Vulkan extension VK_KHR_relaxed_block_layout, and they affect uniform blocks, storage blocks, and push constants.

This is enabled by default when targeting Vulkan 1.1 or later. Relaxed layout is more permissive than the default rules in Vulkan 1.0.