Skip to main content

explicit_layout_available

Function explicit_layout_available 

pub fn explicit_layout_available(device: &Device) -> bool
Expand description

Whether device was opened with VK_EXT_image_drm_format_modifier, so an import can state the producer’s exact layout instead of assuming the driver’s linear one.