| /* | |
| * Copyright 2023 Google LLC | |
| * | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| */ | |
| #ifndef skgpu_DawnUtilsPriv_DEFINED | |
| #define skgpu_DawnUtilsPriv_DEFINED | |
| #include "webgpu/webgpu_cpp.h" // NO_G3_REWRITE | |
| namespace skgpu { | |
| size_t DawnFormatBytesPerBlock(wgpu::TextureFormat format); | |
| uint32_t DawnFormatChannels(wgpu::TextureFormat format); | |
| void DawnTickDevice(wgpu::Device); | |
| } // namespace skgpu | |
| #endif // skgpu_DawnUtilsPriv_DEFINED |