wgpu_core::validation

Function check_texture_format

Source
pub fn check_texture_format(
    format: TextureFormat,
    output: &NumericType,
) -> Result<(), NumericType>
Expand description

Return true if the fragment format is covered by the provided output.