mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Add license to the memory init tracker
This commit is contained in:
parent
c3e95273ff
commit
11af3d1286
@ -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)]
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user