pub(crate) fn validate_texture_copy_dst_format(
format: TextureFormat,
aspect: TextureAspect,
) -> Result<(), TransferError>
Expand description
Validate the destination format of a texture copy.
This performs the check from WebGPU’s validating texture buffer copy algorithm that ensures that the format and aspect form a valid texel copy destination as defined in the depth-stencil formats.