Add license to the memory init tracker

This commit is contained in:
Dzmitry Malyshau 2021-03-04 10:36:16 -05:00
parent c3e95273ff
commit 11af3d1286
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::ops::Range; use std::ops::Range;
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]

View File

@ -2216,7 +2216,7 @@ impl Extent3d {
/// This includes padding to the block width and height of the format. /// This includes padding to the block width and height of the format.
/// ///
/// This is the texture extent that you must upload at when uploading to _mipmaps_ of compressed textures. /// This is the texture extent that you must upload at when uploading to _mipmaps_ of compressed textures.
/// ///
/// ```rust /// ```rust
/// # use wgpu_types as wgpu; /// # use wgpu_types as wgpu;
/// let format = wgpu::TextureFormat::Bc1RgbaUnormSrgb; // 4x4 blocks /// let format = wgpu::TextureFormat::Bc1RgbaUnormSrgb; // 4x4 blocks