fn handle_src_texture_init(
state: &mut EncodingState<'_, '_>,
source: &TexelCopyTextureInfo<Arc<Texture>>,
copy_size: &Extent3d,
texture: &Arc<Texture>,
) -> Result<(), TransferError>
Expand description
Prepare a transfer’s source texture.
Ensure the source texture of a transfer is in the right initialization state, and record the state for after the transfer operation.