mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 09:25:25 +00:00
Remove deprecated API surface, Pt. 1
- Remove Device.getDefaultQueue() - Remove Extent3D.depth - Remove setIndexBufferWithFormat - Remove TextureUsage::OutputAttachment Change-Id: If1c39b5630c88c3b87b37e317aafe7442419f7d0 Bug: dawn:22 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/50700 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
82ba34a941
commit
76e5a9f6dd
@@ -21,7 +21,7 @@ namespace {
|
||||
wgpu::TextureDescriptor descriptor;
|
||||
descriptor.size.width = kWidth;
|
||||
descriptor.size.height = kHeight;
|
||||
descriptor.size.depth = kDefaultDepth;
|
||||
descriptor.size.depthOrArrayLayers = kDefaultDepth;
|
||||
descriptor.mipLevelCount = kDefaultMipLevels;
|
||||
descriptor.sampleCount = kDefaultSampleCount;
|
||||
descriptor.dimension = wgpu::TextureDimension::e2D;
|
||||
|
||||
Reference in New Issue
Block a user