dawn_sys/generated/
bindings.rs

1/* automatically generated by rust-bindgen 0.71.1 */
2
3pub type int_least8_t = ::core::ffi::c_schar;
4pub type int_least16_t = ::core::ffi::c_short;
5pub type int_least32_t = ::core::ffi::c_int;
6pub type int_least64_t = ::core::ffi::c_longlong;
7pub type uint_least8_t = ::core::ffi::c_uchar;
8pub type uint_least16_t = ::core::ffi::c_ushort;
9pub type uint_least32_t = ::core::ffi::c_uint;
10pub type uint_least64_t = ::core::ffi::c_ulonglong;
11pub type int_fast8_t = ::core::ffi::c_schar;
12pub type int_fast16_t = ::core::ffi::c_int;
13pub type int_fast32_t = ::core::ffi::c_int;
14pub type int_fast64_t = ::core::ffi::c_longlong;
15pub type uint_fast8_t = ::core::ffi::c_uchar;
16pub type uint_fast16_t = ::core::ffi::c_uint;
17pub type uint_fast32_t = ::core::ffi::c_uint;
18pub type uint_fast64_t = ::core::ffi::c_ulonglong;
19pub type intmax_t = ::core::ffi::c_longlong;
20pub type uintmax_t = ::core::ffi::c_ulonglong;
21#[repr(C)]
22#[derive(Debug, Copy, Clone)]
23pub struct WGPUStringView {
24    pub data: *const ::core::ffi::c_char,
25    pub length: usize,
26}
27#[allow(clippy::unnecessary_operation, clippy::identity_op)]
28const _: () = {
29    ["Size of WGPUStringView"][::core::mem::size_of::<WGPUStringView>() - 16usize];
30    ["Alignment of WGPUStringView"][::core::mem::align_of::<WGPUStringView>() - 8usize];
31    ["Offset of field: WGPUStringView::data"]
32        [::core::mem::offset_of!(WGPUStringView, data) - 0usize];
33    ["Offset of field: WGPUStringView::length"]
34        [::core::mem::offset_of!(WGPUStringView, length) - 8usize];
35};
36pub type WGPUFlags = u64;
37pub type WGPUBool = u32;
38#[repr(C)]
39#[derive(Debug, Copy, Clone)]
40pub struct WGPUAdapterImpl {
41    _unused: [u8; 0],
42}
43pub type WGPUAdapter = *mut WGPUAdapterImpl;
44#[repr(C)]
45#[derive(Debug, Copy, Clone)]
46pub struct WGPUBindGroupImpl {
47    _unused: [u8; 0],
48}
49pub type WGPUBindGroup = *mut WGPUBindGroupImpl;
50#[repr(C)]
51#[derive(Debug, Copy, Clone)]
52pub struct WGPUBindGroupLayoutImpl {
53    _unused: [u8; 0],
54}
55pub type WGPUBindGroupLayout = *mut WGPUBindGroupLayoutImpl;
56#[repr(C)]
57#[derive(Debug, Copy, Clone)]
58pub struct WGPUBufferImpl {
59    _unused: [u8; 0],
60}
61pub type WGPUBuffer = *mut WGPUBufferImpl;
62#[repr(C)]
63#[derive(Debug, Copy, Clone)]
64pub struct WGPUCommandBufferImpl {
65    _unused: [u8; 0],
66}
67pub type WGPUCommandBuffer = *mut WGPUCommandBufferImpl;
68#[repr(C)]
69#[derive(Debug, Copy, Clone)]
70pub struct WGPUCommandEncoderImpl {
71    _unused: [u8; 0],
72}
73pub type WGPUCommandEncoder = *mut WGPUCommandEncoderImpl;
74#[repr(C)]
75#[derive(Debug, Copy, Clone)]
76pub struct WGPUComputePassEncoderImpl {
77    _unused: [u8; 0],
78}
79pub type WGPUComputePassEncoder = *mut WGPUComputePassEncoderImpl;
80#[repr(C)]
81#[derive(Debug, Copy, Clone)]
82pub struct WGPUComputePipelineImpl {
83    _unused: [u8; 0],
84}
85pub type WGPUComputePipeline = *mut WGPUComputePipelineImpl;
86#[repr(C)]
87#[derive(Debug, Copy, Clone)]
88pub struct WGPUDeviceImpl {
89    _unused: [u8; 0],
90}
91pub type WGPUDevice = *mut WGPUDeviceImpl;
92#[repr(C)]
93#[derive(Debug, Copy, Clone)]
94pub struct WGPUExternalTextureImpl {
95    _unused: [u8; 0],
96}
97pub type WGPUExternalTexture = *mut WGPUExternalTextureImpl;
98#[repr(C)]
99#[derive(Debug, Copy, Clone)]
100pub struct WGPUInstanceImpl {
101    _unused: [u8; 0],
102}
103pub type WGPUInstance = *mut WGPUInstanceImpl;
104#[repr(C)]
105#[derive(Debug, Copy, Clone)]
106pub struct WGPUPipelineLayoutImpl {
107    _unused: [u8; 0],
108}
109pub type WGPUPipelineLayout = *mut WGPUPipelineLayoutImpl;
110#[repr(C)]
111#[derive(Debug, Copy, Clone)]
112pub struct WGPUQuerySetImpl {
113    _unused: [u8; 0],
114}
115pub type WGPUQuerySet = *mut WGPUQuerySetImpl;
116#[repr(C)]
117#[derive(Debug, Copy, Clone)]
118pub struct WGPUQueueImpl {
119    _unused: [u8; 0],
120}
121pub type WGPUQueue = *mut WGPUQueueImpl;
122#[repr(C)]
123#[derive(Debug, Copy, Clone)]
124pub struct WGPURenderBundleImpl {
125    _unused: [u8; 0],
126}
127pub type WGPURenderBundle = *mut WGPURenderBundleImpl;
128#[repr(C)]
129#[derive(Debug, Copy, Clone)]
130pub struct WGPURenderBundleEncoderImpl {
131    _unused: [u8; 0],
132}
133pub type WGPURenderBundleEncoder = *mut WGPURenderBundleEncoderImpl;
134#[repr(C)]
135#[derive(Debug, Copy, Clone)]
136pub struct WGPURenderPassEncoderImpl {
137    _unused: [u8; 0],
138}
139pub type WGPURenderPassEncoder = *mut WGPURenderPassEncoderImpl;
140#[repr(C)]
141#[derive(Debug, Copy, Clone)]
142pub struct WGPURenderPipelineImpl {
143    _unused: [u8; 0],
144}
145pub type WGPURenderPipeline = *mut WGPURenderPipelineImpl;
146#[repr(C)]
147#[derive(Debug, Copy, Clone)]
148pub struct WGPUSamplerImpl {
149    _unused: [u8; 0],
150}
151pub type WGPUSampler = *mut WGPUSamplerImpl;
152#[repr(C)]
153#[derive(Debug, Copy, Clone)]
154pub struct WGPUShaderModuleImpl {
155    _unused: [u8; 0],
156}
157pub type WGPUShaderModule = *mut WGPUShaderModuleImpl;
158#[repr(C)]
159#[derive(Debug, Copy, Clone)]
160pub struct WGPUSharedBufferMemoryImpl {
161    _unused: [u8; 0],
162}
163pub type WGPUSharedBufferMemory = *mut WGPUSharedBufferMemoryImpl;
164#[repr(C)]
165#[derive(Debug, Copy, Clone)]
166pub struct WGPUSharedFenceImpl {
167    _unused: [u8; 0],
168}
169pub type WGPUSharedFence = *mut WGPUSharedFenceImpl;
170#[repr(C)]
171#[derive(Debug, Copy, Clone)]
172pub struct WGPUSharedTextureMemoryImpl {
173    _unused: [u8; 0],
174}
175pub type WGPUSharedTextureMemory = *mut WGPUSharedTextureMemoryImpl;
176#[repr(C)]
177#[derive(Debug, Copy, Clone)]
178pub struct WGPUSurfaceImpl {
179    _unused: [u8; 0],
180}
181pub type WGPUSurface = *mut WGPUSurfaceImpl;
182#[repr(C)]
183#[derive(Debug, Copy, Clone)]
184pub struct WGPUTextureImpl {
185    _unused: [u8; 0],
186}
187pub type WGPUTexture = *mut WGPUTextureImpl;
188#[repr(C)]
189#[derive(Debug, Copy, Clone)]
190pub struct WGPUTextureViewImpl {
191    _unused: [u8; 0],
192}
193pub type WGPUTextureView = *mut WGPUTextureViewImpl;
194impl WGPUAdapterType {
195    pub const WGPUAdapterType_DiscreteGPU: WGPUAdapterType = WGPUAdapterType(1);
196}
197impl WGPUAdapterType {
198    pub const WGPUAdapterType_IntegratedGPU: WGPUAdapterType = WGPUAdapterType(2);
199}
200impl WGPUAdapterType {
201    pub const WGPUAdapterType_CPU: WGPUAdapterType = WGPUAdapterType(3);
202}
203impl WGPUAdapterType {
204    pub const WGPUAdapterType_Unknown: WGPUAdapterType = WGPUAdapterType(4);
205}
206impl WGPUAdapterType {
207    pub const WGPUAdapterType_Force32: WGPUAdapterType = WGPUAdapterType(2147483647);
208}
209#[repr(transparent)]
210#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
211pub struct WGPUAdapterType(pub ::core::ffi::c_int);
212impl WGPUAddressMode {
213    pub const WGPUAddressMode_Undefined: WGPUAddressMode = WGPUAddressMode(0);
214}
215impl WGPUAddressMode {
216    pub const WGPUAddressMode_ClampToEdge: WGPUAddressMode = WGPUAddressMode(1);
217}
218impl WGPUAddressMode {
219    pub const WGPUAddressMode_Repeat: WGPUAddressMode = WGPUAddressMode(2);
220}
221impl WGPUAddressMode {
222    pub const WGPUAddressMode_MirrorRepeat: WGPUAddressMode = WGPUAddressMode(3);
223}
224impl WGPUAddressMode {
225    pub const WGPUAddressMode_Force32: WGPUAddressMode = WGPUAddressMode(2147483647);
226}
227#[repr(transparent)]
228#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
229pub struct WGPUAddressMode(pub ::core::ffi::c_int);
230impl WGPUAlphaMode {
231    pub const WGPUAlphaMode_Opaque: WGPUAlphaMode = WGPUAlphaMode(1);
232}
233impl WGPUAlphaMode {
234    pub const WGPUAlphaMode_Premultiplied: WGPUAlphaMode = WGPUAlphaMode(2);
235}
236impl WGPUAlphaMode {
237    pub const WGPUAlphaMode_Unpremultiplied: WGPUAlphaMode = WGPUAlphaMode(3);
238}
239impl WGPUAlphaMode {
240    pub const WGPUAlphaMode_Force32: WGPUAlphaMode = WGPUAlphaMode(2147483647);
241}
242#[repr(transparent)]
243#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
244pub struct WGPUAlphaMode(pub ::core::ffi::c_int);
245impl WGPUBackendType {
246    pub const WGPUBackendType_Undefined: WGPUBackendType = WGPUBackendType(0);
247}
248impl WGPUBackendType {
249    pub const WGPUBackendType_Null: WGPUBackendType = WGPUBackendType(1);
250}
251impl WGPUBackendType {
252    pub const WGPUBackendType_WebGPU: WGPUBackendType = WGPUBackendType(2);
253}
254impl WGPUBackendType {
255    pub const WGPUBackendType_D3D11: WGPUBackendType = WGPUBackendType(3);
256}
257impl WGPUBackendType {
258    pub const WGPUBackendType_D3D12: WGPUBackendType = WGPUBackendType(4);
259}
260impl WGPUBackendType {
261    pub const WGPUBackendType_Metal: WGPUBackendType = WGPUBackendType(5);
262}
263impl WGPUBackendType {
264    pub const WGPUBackendType_Vulkan: WGPUBackendType = WGPUBackendType(6);
265}
266impl WGPUBackendType {
267    pub const WGPUBackendType_OpenGL: WGPUBackendType = WGPUBackendType(7);
268}
269impl WGPUBackendType {
270    pub const WGPUBackendType_OpenGLES: WGPUBackendType = WGPUBackendType(8);
271}
272impl WGPUBackendType {
273    pub const WGPUBackendType_Force32: WGPUBackendType = WGPUBackendType(2147483647);
274}
275#[repr(transparent)]
276#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
277pub struct WGPUBackendType(pub ::core::ffi::c_int);
278impl WGPUBlendFactor {
279    pub const WGPUBlendFactor_Undefined: WGPUBlendFactor = WGPUBlendFactor(0);
280}
281impl WGPUBlendFactor {
282    pub const WGPUBlendFactor_Zero: WGPUBlendFactor = WGPUBlendFactor(1);
283}
284impl WGPUBlendFactor {
285    pub const WGPUBlendFactor_One: WGPUBlendFactor = WGPUBlendFactor(2);
286}
287impl WGPUBlendFactor {
288    pub const WGPUBlendFactor_Src: WGPUBlendFactor = WGPUBlendFactor(3);
289}
290impl WGPUBlendFactor {
291    pub const WGPUBlendFactor_OneMinusSrc: WGPUBlendFactor = WGPUBlendFactor(4);
292}
293impl WGPUBlendFactor {
294    pub const WGPUBlendFactor_SrcAlpha: WGPUBlendFactor = WGPUBlendFactor(5);
295}
296impl WGPUBlendFactor {
297    pub const WGPUBlendFactor_OneMinusSrcAlpha: WGPUBlendFactor = WGPUBlendFactor(6);
298}
299impl WGPUBlendFactor {
300    pub const WGPUBlendFactor_Dst: WGPUBlendFactor = WGPUBlendFactor(7);
301}
302impl WGPUBlendFactor {
303    pub const WGPUBlendFactor_OneMinusDst: WGPUBlendFactor = WGPUBlendFactor(8);
304}
305impl WGPUBlendFactor {
306    pub const WGPUBlendFactor_DstAlpha: WGPUBlendFactor = WGPUBlendFactor(9);
307}
308impl WGPUBlendFactor {
309    pub const WGPUBlendFactor_OneMinusDstAlpha: WGPUBlendFactor = WGPUBlendFactor(10);
310}
311impl WGPUBlendFactor {
312    pub const WGPUBlendFactor_SrcAlphaSaturated: WGPUBlendFactor = WGPUBlendFactor(11);
313}
314impl WGPUBlendFactor {
315    pub const WGPUBlendFactor_Constant: WGPUBlendFactor = WGPUBlendFactor(12);
316}
317impl WGPUBlendFactor {
318    pub const WGPUBlendFactor_OneMinusConstant: WGPUBlendFactor = WGPUBlendFactor(13);
319}
320impl WGPUBlendFactor {
321    pub const WGPUBlendFactor_Src1: WGPUBlendFactor = WGPUBlendFactor(14);
322}
323impl WGPUBlendFactor {
324    pub const WGPUBlendFactor_OneMinusSrc1: WGPUBlendFactor = WGPUBlendFactor(15);
325}
326impl WGPUBlendFactor {
327    pub const WGPUBlendFactor_Src1Alpha: WGPUBlendFactor = WGPUBlendFactor(16);
328}
329impl WGPUBlendFactor {
330    pub const WGPUBlendFactor_OneMinusSrc1Alpha: WGPUBlendFactor = WGPUBlendFactor(17);
331}
332impl WGPUBlendFactor {
333    pub const WGPUBlendFactor_Force32: WGPUBlendFactor = WGPUBlendFactor(2147483647);
334}
335#[repr(transparent)]
336#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
337pub struct WGPUBlendFactor(pub ::core::ffi::c_int);
338impl WGPUBlendOperation {
339    pub const WGPUBlendOperation_Undefined: WGPUBlendOperation = WGPUBlendOperation(0);
340}
341impl WGPUBlendOperation {
342    pub const WGPUBlendOperation_Add: WGPUBlendOperation = WGPUBlendOperation(1);
343}
344impl WGPUBlendOperation {
345    pub const WGPUBlendOperation_Subtract: WGPUBlendOperation = WGPUBlendOperation(2);
346}
347impl WGPUBlendOperation {
348    pub const WGPUBlendOperation_ReverseSubtract: WGPUBlendOperation = WGPUBlendOperation(3);
349}
350impl WGPUBlendOperation {
351    pub const WGPUBlendOperation_Min: WGPUBlendOperation = WGPUBlendOperation(4);
352}
353impl WGPUBlendOperation {
354    pub const WGPUBlendOperation_Max: WGPUBlendOperation = WGPUBlendOperation(5);
355}
356impl WGPUBlendOperation {
357    pub const WGPUBlendOperation_Force32: WGPUBlendOperation = WGPUBlendOperation(2147483647);
358}
359#[repr(transparent)]
360#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
361pub struct WGPUBlendOperation(pub ::core::ffi::c_int);
362impl WGPUBufferBindingType {
363    pub const WGPUBufferBindingType_BindingNotUsed: WGPUBufferBindingType =
364        WGPUBufferBindingType(0);
365}
366impl WGPUBufferBindingType {
367    pub const WGPUBufferBindingType_Undefined: WGPUBufferBindingType = WGPUBufferBindingType(1);
368}
369impl WGPUBufferBindingType {
370    pub const WGPUBufferBindingType_Uniform: WGPUBufferBindingType = WGPUBufferBindingType(2);
371}
372impl WGPUBufferBindingType {
373    pub const WGPUBufferBindingType_Storage: WGPUBufferBindingType = WGPUBufferBindingType(3);
374}
375impl WGPUBufferBindingType {
376    pub const WGPUBufferBindingType_ReadOnlyStorage: WGPUBufferBindingType =
377        WGPUBufferBindingType(4);
378}
379impl WGPUBufferBindingType {
380    pub const WGPUBufferBindingType_Force32: WGPUBufferBindingType =
381        WGPUBufferBindingType(2147483647);
382}
383#[repr(transparent)]
384#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
385pub struct WGPUBufferBindingType(pub ::core::ffi::c_int);
386impl WGPUBufferMapState {
387    pub const WGPUBufferMapState_Unmapped: WGPUBufferMapState = WGPUBufferMapState(1);
388}
389impl WGPUBufferMapState {
390    pub const WGPUBufferMapState_Pending: WGPUBufferMapState = WGPUBufferMapState(2);
391}
392impl WGPUBufferMapState {
393    pub const WGPUBufferMapState_Mapped: WGPUBufferMapState = WGPUBufferMapState(3);
394}
395impl WGPUBufferMapState {
396    pub const WGPUBufferMapState_Force32: WGPUBufferMapState = WGPUBufferMapState(2147483647);
397}
398#[repr(transparent)]
399#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
400pub struct WGPUBufferMapState(pub ::core::ffi::c_int);
401impl WGPUCallbackMode {
402    pub const WGPUCallbackMode_WaitAnyOnly: WGPUCallbackMode = WGPUCallbackMode(1);
403}
404impl WGPUCallbackMode {
405    pub const WGPUCallbackMode_AllowProcessEvents: WGPUCallbackMode = WGPUCallbackMode(2);
406}
407impl WGPUCallbackMode {
408    pub const WGPUCallbackMode_AllowSpontaneous: WGPUCallbackMode = WGPUCallbackMode(3);
409}
410impl WGPUCallbackMode {
411    pub const WGPUCallbackMode_Force32: WGPUCallbackMode = WGPUCallbackMode(2147483647);
412}
413#[repr(transparent)]
414#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
415pub struct WGPUCallbackMode(pub ::core::ffi::c_int);
416impl WGPUCompareFunction {
417    pub const WGPUCompareFunction_Undefined: WGPUCompareFunction = WGPUCompareFunction(0);
418}
419impl WGPUCompareFunction {
420    pub const WGPUCompareFunction_Never: WGPUCompareFunction = WGPUCompareFunction(1);
421}
422impl WGPUCompareFunction {
423    pub const WGPUCompareFunction_Less: WGPUCompareFunction = WGPUCompareFunction(2);
424}
425impl WGPUCompareFunction {
426    pub const WGPUCompareFunction_Equal: WGPUCompareFunction = WGPUCompareFunction(3);
427}
428impl WGPUCompareFunction {
429    pub const WGPUCompareFunction_LessEqual: WGPUCompareFunction = WGPUCompareFunction(4);
430}
431impl WGPUCompareFunction {
432    pub const WGPUCompareFunction_Greater: WGPUCompareFunction = WGPUCompareFunction(5);
433}
434impl WGPUCompareFunction {
435    pub const WGPUCompareFunction_NotEqual: WGPUCompareFunction = WGPUCompareFunction(6);
436}
437impl WGPUCompareFunction {
438    pub const WGPUCompareFunction_GreaterEqual: WGPUCompareFunction = WGPUCompareFunction(7);
439}
440impl WGPUCompareFunction {
441    pub const WGPUCompareFunction_Always: WGPUCompareFunction = WGPUCompareFunction(8);
442}
443impl WGPUCompareFunction {
444    pub const WGPUCompareFunction_Force32: WGPUCompareFunction = WGPUCompareFunction(2147483647);
445}
446#[repr(transparent)]
447#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
448pub struct WGPUCompareFunction(pub ::core::ffi::c_int);
449impl WGPUCompilationInfoRequestStatus {
450    pub const WGPUCompilationInfoRequestStatus_Success: WGPUCompilationInfoRequestStatus =
451        WGPUCompilationInfoRequestStatus(1);
452}
453impl WGPUCompilationInfoRequestStatus {
454    pub const WGPUCompilationInfoRequestStatus_CallbackCancelled: WGPUCompilationInfoRequestStatus =
455        WGPUCompilationInfoRequestStatus(2);
456}
457impl WGPUCompilationInfoRequestStatus {
458    pub const WGPUCompilationInfoRequestStatus_Force32: WGPUCompilationInfoRequestStatus =
459        WGPUCompilationInfoRequestStatus(2147483647);
460}
461#[repr(transparent)]
462#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
463pub struct WGPUCompilationInfoRequestStatus(pub ::core::ffi::c_int);
464impl WGPUCompilationMessageType {
465    pub const WGPUCompilationMessageType_Error: WGPUCompilationMessageType =
466        WGPUCompilationMessageType(1);
467}
468impl WGPUCompilationMessageType {
469    pub const WGPUCompilationMessageType_Warning: WGPUCompilationMessageType =
470        WGPUCompilationMessageType(2);
471}
472impl WGPUCompilationMessageType {
473    pub const WGPUCompilationMessageType_Info: WGPUCompilationMessageType =
474        WGPUCompilationMessageType(3);
475}
476impl WGPUCompilationMessageType {
477    pub const WGPUCompilationMessageType_Force32: WGPUCompilationMessageType =
478        WGPUCompilationMessageType(2147483647);
479}
480#[repr(transparent)]
481#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
482pub struct WGPUCompilationMessageType(pub ::core::ffi::c_int);
483impl WGPUCompositeAlphaMode {
484    pub const WGPUCompositeAlphaMode_Auto: WGPUCompositeAlphaMode = WGPUCompositeAlphaMode(0);
485}
486impl WGPUCompositeAlphaMode {
487    pub const WGPUCompositeAlphaMode_Opaque: WGPUCompositeAlphaMode = WGPUCompositeAlphaMode(1);
488}
489impl WGPUCompositeAlphaMode {
490    pub const WGPUCompositeAlphaMode_Premultiplied: WGPUCompositeAlphaMode =
491        WGPUCompositeAlphaMode(2);
492}
493impl WGPUCompositeAlphaMode {
494    pub const WGPUCompositeAlphaMode_Unpremultiplied: WGPUCompositeAlphaMode =
495        WGPUCompositeAlphaMode(3);
496}
497impl WGPUCompositeAlphaMode {
498    pub const WGPUCompositeAlphaMode_Inherit: WGPUCompositeAlphaMode = WGPUCompositeAlphaMode(4);
499}
500impl WGPUCompositeAlphaMode {
501    pub const WGPUCompositeAlphaMode_Force32: WGPUCompositeAlphaMode =
502        WGPUCompositeAlphaMode(2147483647);
503}
504#[repr(transparent)]
505#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
506pub struct WGPUCompositeAlphaMode(pub ::core::ffi::c_int);
507impl WGPUCreatePipelineAsyncStatus {
508    pub const WGPUCreatePipelineAsyncStatus_Success: WGPUCreatePipelineAsyncStatus =
509        WGPUCreatePipelineAsyncStatus(1);
510}
511impl WGPUCreatePipelineAsyncStatus {
512    pub const WGPUCreatePipelineAsyncStatus_CallbackCancelled: WGPUCreatePipelineAsyncStatus =
513        WGPUCreatePipelineAsyncStatus(2);
514}
515impl WGPUCreatePipelineAsyncStatus {
516    pub const WGPUCreatePipelineAsyncStatus_ValidationError: WGPUCreatePipelineAsyncStatus =
517        WGPUCreatePipelineAsyncStatus(3);
518}
519impl WGPUCreatePipelineAsyncStatus {
520    pub const WGPUCreatePipelineAsyncStatus_InternalError: WGPUCreatePipelineAsyncStatus =
521        WGPUCreatePipelineAsyncStatus(4);
522}
523impl WGPUCreatePipelineAsyncStatus {
524    pub const WGPUCreatePipelineAsyncStatus_Force32: WGPUCreatePipelineAsyncStatus =
525        WGPUCreatePipelineAsyncStatus(2147483647);
526}
527#[repr(transparent)]
528#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
529pub struct WGPUCreatePipelineAsyncStatus(pub ::core::ffi::c_int);
530impl WGPUCullMode {
531    pub const WGPUCullMode_Undefined: WGPUCullMode = WGPUCullMode(0);
532}
533impl WGPUCullMode {
534    pub const WGPUCullMode_None: WGPUCullMode = WGPUCullMode(1);
535}
536impl WGPUCullMode {
537    pub const WGPUCullMode_Front: WGPUCullMode = WGPUCullMode(2);
538}
539impl WGPUCullMode {
540    pub const WGPUCullMode_Back: WGPUCullMode = WGPUCullMode(3);
541}
542impl WGPUCullMode {
543    pub const WGPUCullMode_Force32: WGPUCullMode = WGPUCullMode(2147483647);
544}
545#[repr(transparent)]
546#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
547pub struct WGPUCullMode(pub ::core::ffi::c_int);
548impl WGPUDeviceLostReason {
549    pub const WGPUDeviceLostReason_Unknown: WGPUDeviceLostReason = WGPUDeviceLostReason(1);
550}
551impl WGPUDeviceLostReason {
552    pub const WGPUDeviceLostReason_Destroyed: WGPUDeviceLostReason = WGPUDeviceLostReason(2);
553}
554impl WGPUDeviceLostReason {
555    pub const WGPUDeviceLostReason_CallbackCancelled: WGPUDeviceLostReason =
556        WGPUDeviceLostReason(3);
557}
558impl WGPUDeviceLostReason {
559    pub const WGPUDeviceLostReason_FailedCreation: WGPUDeviceLostReason = WGPUDeviceLostReason(4);
560}
561impl WGPUDeviceLostReason {
562    pub const WGPUDeviceLostReason_Force32: WGPUDeviceLostReason = WGPUDeviceLostReason(2147483647);
563}
564#[repr(transparent)]
565#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
566pub struct WGPUDeviceLostReason(pub ::core::ffi::c_int);
567impl WGPUErrorFilter {
568    pub const WGPUErrorFilter_Validation: WGPUErrorFilter = WGPUErrorFilter(1);
569}
570impl WGPUErrorFilter {
571    pub const WGPUErrorFilter_OutOfMemory: WGPUErrorFilter = WGPUErrorFilter(2);
572}
573impl WGPUErrorFilter {
574    pub const WGPUErrorFilter_Internal: WGPUErrorFilter = WGPUErrorFilter(3);
575}
576impl WGPUErrorFilter {
577    pub const WGPUErrorFilter_Force32: WGPUErrorFilter = WGPUErrorFilter(2147483647);
578}
579#[repr(transparent)]
580#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
581pub struct WGPUErrorFilter(pub ::core::ffi::c_int);
582impl WGPUErrorType {
583    pub const WGPUErrorType_NoError: WGPUErrorType = WGPUErrorType(1);
584}
585impl WGPUErrorType {
586    pub const WGPUErrorType_Validation: WGPUErrorType = WGPUErrorType(2);
587}
588impl WGPUErrorType {
589    pub const WGPUErrorType_OutOfMemory: WGPUErrorType = WGPUErrorType(3);
590}
591impl WGPUErrorType {
592    pub const WGPUErrorType_Internal: WGPUErrorType = WGPUErrorType(4);
593}
594impl WGPUErrorType {
595    pub const WGPUErrorType_Unknown: WGPUErrorType = WGPUErrorType(5);
596}
597impl WGPUErrorType {
598    pub const WGPUErrorType_Force32: WGPUErrorType = WGPUErrorType(2147483647);
599}
600#[repr(transparent)]
601#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
602pub struct WGPUErrorType(pub ::core::ffi::c_int);
603impl WGPUExternalTextureRotation {
604    pub const WGPUExternalTextureRotation_Rotate0Degrees: WGPUExternalTextureRotation =
605        WGPUExternalTextureRotation(1);
606}
607impl WGPUExternalTextureRotation {
608    pub const WGPUExternalTextureRotation_Rotate90Degrees: WGPUExternalTextureRotation =
609        WGPUExternalTextureRotation(2);
610}
611impl WGPUExternalTextureRotation {
612    pub const WGPUExternalTextureRotation_Rotate180Degrees: WGPUExternalTextureRotation =
613        WGPUExternalTextureRotation(3);
614}
615impl WGPUExternalTextureRotation {
616    pub const WGPUExternalTextureRotation_Rotate270Degrees: WGPUExternalTextureRotation =
617        WGPUExternalTextureRotation(4);
618}
619impl WGPUExternalTextureRotation {
620    pub const WGPUExternalTextureRotation_Force32: WGPUExternalTextureRotation =
621        WGPUExternalTextureRotation(2147483647);
622}
623#[repr(transparent)]
624#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
625pub struct WGPUExternalTextureRotation(pub ::core::ffi::c_int);
626impl WGPUFeatureLevel {
627    pub const WGPUFeatureLevel_Undefined: WGPUFeatureLevel = WGPUFeatureLevel(0);
628}
629impl WGPUFeatureLevel {
630    pub const WGPUFeatureLevel_Compatibility: WGPUFeatureLevel = WGPUFeatureLevel(1);
631}
632impl WGPUFeatureLevel {
633    pub const WGPUFeatureLevel_Core: WGPUFeatureLevel = WGPUFeatureLevel(2);
634}
635impl WGPUFeatureLevel {
636    pub const WGPUFeatureLevel_Force32: WGPUFeatureLevel = WGPUFeatureLevel(2147483647);
637}
638#[repr(transparent)]
639#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
640pub struct WGPUFeatureLevel(pub ::core::ffi::c_int);
641impl WGPUFeatureName {
642    pub const WGPUFeatureName_DepthClipControl: WGPUFeatureName = WGPUFeatureName(1);
643}
644impl WGPUFeatureName {
645    pub const WGPUFeatureName_Depth32FloatStencil8: WGPUFeatureName = WGPUFeatureName(2);
646}
647impl WGPUFeatureName {
648    pub const WGPUFeatureName_TimestampQuery: WGPUFeatureName = WGPUFeatureName(3);
649}
650impl WGPUFeatureName {
651    pub const WGPUFeatureName_TextureCompressionBC: WGPUFeatureName = WGPUFeatureName(4);
652}
653impl WGPUFeatureName {
654    pub const WGPUFeatureName_TextureCompressionBCSliced3D: WGPUFeatureName = WGPUFeatureName(5);
655}
656impl WGPUFeatureName {
657    pub const WGPUFeatureName_TextureCompressionETC2: WGPUFeatureName = WGPUFeatureName(6);
658}
659impl WGPUFeatureName {
660    pub const WGPUFeatureName_TextureCompressionASTC: WGPUFeatureName = WGPUFeatureName(7);
661}
662impl WGPUFeatureName {
663    pub const WGPUFeatureName_TextureCompressionASTCSliced3D: WGPUFeatureName = WGPUFeatureName(8);
664}
665impl WGPUFeatureName {
666    pub const WGPUFeatureName_IndirectFirstInstance: WGPUFeatureName = WGPUFeatureName(9);
667}
668impl WGPUFeatureName {
669    pub const WGPUFeatureName_ShaderF16: WGPUFeatureName = WGPUFeatureName(10);
670}
671impl WGPUFeatureName {
672    pub const WGPUFeatureName_RG11B10UfloatRenderable: WGPUFeatureName = WGPUFeatureName(11);
673}
674impl WGPUFeatureName {
675    pub const WGPUFeatureName_BGRA8UnormStorage: WGPUFeatureName = WGPUFeatureName(12);
676}
677impl WGPUFeatureName {
678    pub const WGPUFeatureName_Float32Filterable: WGPUFeatureName = WGPUFeatureName(13);
679}
680impl WGPUFeatureName {
681    pub const WGPUFeatureName_Float32Blendable: WGPUFeatureName = WGPUFeatureName(14);
682}
683impl WGPUFeatureName {
684    pub const WGPUFeatureName_ClipDistances: WGPUFeatureName = WGPUFeatureName(15);
685}
686impl WGPUFeatureName {
687    pub const WGPUFeatureName_DualSourceBlending: WGPUFeatureName = WGPUFeatureName(16);
688}
689impl WGPUFeatureName {
690    pub const WGPUFeatureName_Subgroups: WGPUFeatureName = WGPUFeatureName(17);
691}
692impl WGPUFeatureName {
693    pub const WGPUFeatureName_CoreFeaturesAndLimits: WGPUFeatureName = WGPUFeatureName(18);
694}
695impl WGPUFeatureName {
696    pub const WGPUFeatureName_DawnInternalUsages: WGPUFeatureName = WGPUFeatureName(327680);
697}
698impl WGPUFeatureName {
699    pub const WGPUFeatureName_DawnMultiPlanarFormats: WGPUFeatureName = WGPUFeatureName(327681);
700}
701impl WGPUFeatureName {
702    pub const WGPUFeatureName_DawnNative: WGPUFeatureName = WGPUFeatureName(327682);
703}
704impl WGPUFeatureName {
705    pub const WGPUFeatureName_ChromiumExperimentalTimestampQueryInsidePasses: WGPUFeatureName =
706        WGPUFeatureName(327683);
707}
708impl WGPUFeatureName {
709    pub const WGPUFeatureName_ImplicitDeviceSynchronization: WGPUFeatureName =
710        WGPUFeatureName(327684);
711}
712impl WGPUFeatureName {
713    pub const WGPUFeatureName_TransientAttachments: WGPUFeatureName = WGPUFeatureName(327686);
714}
715impl WGPUFeatureName {
716    pub const WGPUFeatureName_MSAARenderToSingleSampled: WGPUFeatureName = WGPUFeatureName(327687);
717}
718impl WGPUFeatureName {
719    pub const WGPUFeatureName_D3D11MultithreadProtected: WGPUFeatureName = WGPUFeatureName(327688);
720}
721impl WGPUFeatureName {
722    pub const WGPUFeatureName_ANGLETextureSharing: WGPUFeatureName = WGPUFeatureName(327689);
723}
724impl WGPUFeatureName {
725    pub const WGPUFeatureName_PixelLocalStorageCoherent: WGPUFeatureName = WGPUFeatureName(327690);
726}
727impl WGPUFeatureName {
728    pub const WGPUFeatureName_PixelLocalStorageNonCoherent: WGPUFeatureName =
729        WGPUFeatureName(327691);
730}
731impl WGPUFeatureName {
732    pub const WGPUFeatureName_Unorm16TextureFormats: WGPUFeatureName = WGPUFeatureName(327692);
733}
734impl WGPUFeatureName {
735    pub const WGPUFeatureName_Snorm16TextureFormats: WGPUFeatureName = WGPUFeatureName(327693);
736}
737impl WGPUFeatureName {
738    pub const WGPUFeatureName_MultiPlanarFormatExtendedUsages: WGPUFeatureName =
739        WGPUFeatureName(327694);
740}
741impl WGPUFeatureName {
742    pub const WGPUFeatureName_MultiPlanarFormatP010: WGPUFeatureName = WGPUFeatureName(327695);
743}
744impl WGPUFeatureName {
745    pub const WGPUFeatureName_HostMappedPointer: WGPUFeatureName = WGPUFeatureName(327696);
746}
747impl WGPUFeatureName {
748    pub const WGPUFeatureName_MultiPlanarRenderTargets: WGPUFeatureName = WGPUFeatureName(327697);
749}
750impl WGPUFeatureName {
751    pub const WGPUFeatureName_MultiPlanarFormatNv12a: WGPUFeatureName = WGPUFeatureName(327698);
752}
753impl WGPUFeatureName {
754    pub const WGPUFeatureName_FramebufferFetch: WGPUFeatureName = WGPUFeatureName(327699);
755}
756impl WGPUFeatureName {
757    pub const WGPUFeatureName_BufferMapExtendedUsages: WGPUFeatureName = WGPUFeatureName(327700);
758}
759impl WGPUFeatureName {
760    pub const WGPUFeatureName_AdapterPropertiesMemoryHeaps: WGPUFeatureName =
761        WGPUFeatureName(327701);
762}
763impl WGPUFeatureName {
764    pub const WGPUFeatureName_AdapterPropertiesD3D: WGPUFeatureName = WGPUFeatureName(327702);
765}
766impl WGPUFeatureName {
767    pub const WGPUFeatureName_AdapterPropertiesVk: WGPUFeatureName = WGPUFeatureName(327703);
768}
769impl WGPUFeatureName {
770    pub const WGPUFeatureName_R8UnormStorage: WGPUFeatureName = WGPUFeatureName(327704);
771}
772impl WGPUFeatureName {
773    pub const WGPUFeatureName_DawnFormatCapabilities: WGPUFeatureName = WGPUFeatureName(327705);
774}
775impl WGPUFeatureName {
776    pub const WGPUFeatureName_DawnDrmFormatCapabilities: WGPUFeatureName = WGPUFeatureName(327706);
777}
778impl WGPUFeatureName {
779    pub const WGPUFeatureName_Norm16TextureFormats: WGPUFeatureName = WGPUFeatureName(327707);
780}
781impl WGPUFeatureName {
782    pub const WGPUFeatureName_MultiPlanarFormatNv16: WGPUFeatureName = WGPUFeatureName(327708);
783}
784impl WGPUFeatureName {
785    pub const WGPUFeatureName_MultiPlanarFormatNv24: WGPUFeatureName = WGPUFeatureName(327709);
786}
787impl WGPUFeatureName {
788    pub const WGPUFeatureName_MultiPlanarFormatP210: WGPUFeatureName = WGPUFeatureName(327710);
789}
790impl WGPUFeatureName {
791    pub const WGPUFeatureName_MultiPlanarFormatP410: WGPUFeatureName = WGPUFeatureName(327711);
792}
793impl WGPUFeatureName {
794    pub const WGPUFeatureName_SharedTextureMemoryVkDedicatedAllocation: WGPUFeatureName =
795        WGPUFeatureName(327712);
796}
797impl WGPUFeatureName {
798    pub const WGPUFeatureName_SharedTextureMemoryAHardwareBuffer: WGPUFeatureName =
799        WGPUFeatureName(327713);
800}
801impl WGPUFeatureName {
802    pub const WGPUFeatureName_SharedTextureMemoryDmaBuf: WGPUFeatureName = WGPUFeatureName(327714);
803}
804impl WGPUFeatureName {
805    pub const WGPUFeatureName_SharedTextureMemoryOpaqueFD: WGPUFeatureName =
806        WGPUFeatureName(327715);
807}
808impl WGPUFeatureName {
809    pub const WGPUFeatureName_SharedTextureMemoryZirconHandle: WGPUFeatureName =
810        WGPUFeatureName(327716);
811}
812impl WGPUFeatureName {
813    pub const WGPUFeatureName_SharedTextureMemoryDXGISharedHandle: WGPUFeatureName =
814        WGPUFeatureName(327717);
815}
816impl WGPUFeatureName {
817    pub const WGPUFeatureName_SharedTextureMemoryD3D11Texture2D: WGPUFeatureName =
818        WGPUFeatureName(327718);
819}
820impl WGPUFeatureName {
821    pub const WGPUFeatureName_SharedTextureMemoryIOSurface: WGPUFeatureName =
822        WGPUFeatureName(327719);
823}
824impl WGPUFeatureName {
825    pub const WGPUFeatureName_SharedTextureMemoryEGLImage: WGPUFeatureName =
826        WGPUFeatureName(327720);
827}
828impl WGPUFeatureName {
829    pub const WGPUFeatureName_SharedFenceVkSemaphoreOpaqueFD: WGPUFeatureName =
830        WGPUFeatureName(327721);
831}
832impl WGPUFeatureName {
833    pub const WGPUFeatureName_SharedFenceSyncFD: WGPUFeatureName = WGPUFeatureName(327722);
834}
835impl WGPUFeatureName {
836    pub const WGPUFeatureName_SharedFenceVkSemaphoreZirconHandle: WGPUFeatureName =
837        WGPUFeatureName(327723);
838}
839impl WGPUFeatureName {
840    pub const WGPUFeatureName_SharedFenceDXGISharedHandle: WGPUFeatureName =
841        WGPUFeatureName(327724);
842}
843impl WGPUFeatureName {
844    pub const WGPUFeatureName_SharedFenceMTLSharedEvent: WGPUFeatureName = WGPUFeatureName(327725);
845}
846impl WGPUFeatureName {
847    pub const WGPUFeatureName_SharedBufferMemoryD3D12Resource: WGPUFeatureName =
848        WGPUFeatureName(327726);
849}
850impl WGPUFeatureName {
851    pub const WGPUFeatureName_StaticSamplers: WGPUFeatureName = WGPUFeatureName(327727);
852}
853impl WGPUFeatureName {
854    pub const WGPUFeatureName_YCbCrVulkanSamplers: WGPUFeatureName = WGPUFeatureName(327728);
855}
856impl WGPUFeatureName {
857    pub const WGPUFeatureName_ShaderModuleCompilationOptions: WGPUFeatureName =
858        WGPUFeatureName(327729);
859}
860impl WGPUFeatureName {
861    pub const WGPUFeatureName_DawnLoadResolveTexture: WGPUFeatureName = WGPUFeatureName(327730);
862}
863impl WGPUFeatureName {
864    pub const WGPUFeatureName_DawnPartialLoadResolveTexture: WGPUFeatureName =
865        WGPUFeatureName(327731);
866}
867impl WGPUFeatureName {
868    pub const WGPUFeatureName_MultiDrawIndirect: WGPUFeatureName = WGPUFeatureName(327732);
869}
870impl WGPUFeatureName {
871    pub const WGPUFeatureName_DawnTexelCopyBufferRowAlignment: WGPUFeatureName =
872        WGPUFeatureName(327733);
873}
874impl WGPUFeatureName {
875    pub const WGPUFeatureName_FlexibleTextureViews: WGPUFeatureName = WGPUFeatureName(327734);
876}
877impl WGPUFeatureName {
878    pub const WGPUFeatureName_ChromiumExperimentalSubgroupMatrix: WGPUFeatureName =
879        WGPUFeatureName(327735);
880}
881impl WGPUFeatureName {
882    pub const WGPUFeatureName_SharedFenceEGLSync: WGPUFeatureName = WGPUFeatureName(327736);
883}
884impl WGPUFeatureName {
885    pub const WGPUFeatureName_DawnDeviceAllocatorControl: WGPUFeatureName = WGPUFeatureName(327737);
886}
887impl WGPUFeatureName {
888    pub const WGPUFeatureName_Force32: WGPUFeatureName = WGPUFeatureName(2147483647);
889}
890#[repr(transparent)]
891#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
892pub struct WGPUFeatureName(pub ::core::ffi::c_int);
893impl WGPUFilterMode {
894    pub const WGPUFilterMode_Undefined: WGPUFilterMode = WGPUFilterMode(0);
895}
896impl WGPUFilterMode {
897    pub const WGPUFilterMode_Nearest: WGPUFilterMode = WGPUFilterMode(1);
898}
899impl WGPUFilterMode {
900    pub const WGPUFilterMode_Linear: WGPUFilterMode = WGPUFilterMode(2);
901}
902impl WGPUFilterMode {
903    pub const WGPUFilterMode_Force32: WGPUFilterMode = WGPUFilterMode(2147483647);
904}
905#[repr(transparent)]
906#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
907pub struct WGPUFilterMode(pub ::core::ffi::c_int);
908impl WGPUFrontFace {
909    pub const WGPUFrontFace_Undefined: WGPUFrontFace = WGPUFrontFace(0);
910}
911impl WGPUFrontFace {
912    pub const WGPUFrontFace_CCW: WGPUFrontFace = WGPUFrontFace(1);
913}
914impl WGPUFrontFace {
915    pub const WGPUFrontFace_CW: WGPUFrontFace = WGPUFrontFace(2);
916}
917impl WGPUFrontFace {
918    pub const WGPUFrontFace_Force32: WGPUFrontFace = WGPUFrontFace(2147483647);
919}
920#[repr(transparent)]
921#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
922pub struct WGPUFrontFace(pub ::core::ffi::c_int);
923impl WGPUIndexFormat {
924    pub const WGPUIndexFormat_Undefined: WGPUIndexFormat = WGPUIndexFormat(0);
925}
926impl WGPUIndexFormat {
927    pub const WGPUIndexFormat_Uint16: WGPUIndexFormat = WGPUIndexFormat(1);
928}
929impl WGPUIndexFormat {
930    pub const WGPUIndexFormat_Uint32: WGPUIndexFormat = WGPUIndexFormat(2);
931}
932impl WGPUIndexFormat {
933    pub const WGPUIndexFormat_Force32: WGPUIndexFormat = WGPUIndexFormat(2147483647);
934}
935#[repr(transparent)]
936#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
937pub struct WGPUIndexFormat(pub ::core::ffi::c_int);
938impl WGPULoadOp {
939    pub const WGPULoadOp_Undefined: WGPULoadOp = WGPULoadOp(0);
940}
941impl WGPULoadOp {
942    pub const WGPULoadOp_Load: WGPULoadOp = WGPULoadOp(1);
943}
944impl WGPULoadOp {
945    pub const WGPULoadOp_Clear: WGPULoadOp = WGPULoadOp(2);
946}
947impl WGPULoadOp {
948    pub const WGPULoadOp_ExpandResolveTexture: WGPULoadOp = WGPULoadOp(327683);
949}
950impl WGPULoadOp {
951    pub const WGPULoadOp_Force32: WGPULoadOp = WGPULoadOp(2147483647);
952}
953#[repr(transparent)]
954#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
955pub struct WGPULoadOp(pub ::core::ffi::c_int);
956impl WGPULoggingType {
957    pub const WGPULoggingType_Verbose: WGPULoggingType = WGPULoggingType(1);
958}
959impl WGPULoggingType {
960    pub const WGPULoggingType_Info: WGPULoggingType = WGPULoggingType(2);
961}
962impl WGPULoggingType {
963    pub const WGPULoggingType_Warning: WGPULoggingType = WGPULoggingType(3);
964}
965impl WGPULoggingType {
966    pub const WGPULoggingType_Error: WGPULoggingType = WGPULoggingType(4);
967}
968impl WGPULoggingType {
969    pub const WGPULoggingType_Force32: WGPULoggingType = WGPULoggingType(2147483647);
970}
971#[repr(transparent)]
972#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
973pub struct WGPULoggingType(pub ::core::ffi::c_int);
974impl WGPUMapAsyncStatus {
975    pub const WGPUMapAsyncStatus_Success: WGPUMapAsyncStatus = WGPUMapAsyncStatus(1);
976}
977impl WGPUMapAsyncStatus {
978    pub const WGPUMapAsyncStatus_CallbackCancelled: WGPUMapAsyncStatus = WGPUMapAsyncStatus(2);
979}
980impl WGPUMapAsyncStatus {
981    pub const WGPUMapAsyncStatus_Error: WGPUMapAsyncStatus = WGPUMapAsyncStatus(3);
982}
983impl WGPUMapAsyncStatus {
984    pub const WGPUMapAsyncStatus_Aborted: WGPUMapAsyncStatus = WGPUMapAsyncStatus(4);
985}
986impl WGPUMapAsyncStatus {
987    pub const WGPUMapAsyncStatus_Force32: WGPUMapAsyncStatus = WGPUMapAsyncStatus(2147483647);
988}
989#[repr(transparent)]
990#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
991pub struct WGPUMapAsyncStatus(pub ::core::ffi::c_int);
992impl WGPUMipmapFilterMode {
993    pub const WGPUMipmapFilterMode_Undefined: WGPUMipmapFilterMode = WGPUMipmapFilterMode(0);
994}
995impl WGPUMipmapFilterMode {
996    pub const WGPUMipmapFilterMode_Nearest: WGPUMipmapFilterMode = WGPUMipmapFilterMode(1);
997}
998impl WGPUMipmapFilterMode {
999    pub const WGPUMipmapFilterMode_Linear: WGPUMipmapFilterMode = WGPUMipmapFilterMode(2);
1000}
1001impl WGPUMipmapFilterMode {
1002    pub const WGPUMipmapFilterMode_Force32: WGPUMipmapFilterMode = WGPUMipmapFilterMode(2147483647);
1003}
1004#[repr(transparent)]
1005#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1006pub struct WGPUMipmapFilterMode(pub ::core::ffi::c_int);
1007impl WGPUOptionalBool {
1008    pub const WGPUOptionalBool_False: WGPUOptionalBool = WGPUOptionalBool(0);
1009}
1010impl WGPUOptionalBool {
1011    pub const WGPUOptionalBool_True: WGPUOptionalBool = WGPUOptionalBool(1);
1012}
1013impl WGPUOptionalBool {
1014    pub const WGPUOptionalBool_Undefined: WGPUOptionalBool = WGPUOptionalBool(2);
1015}
1016impl WGPUOptionalBool {
1017    pub const WGPUOptionalBool_Force32: WGPUOptionalBool = WGPUOptionalBool(2147483647);
1018}
1019#[repr(transparent)]
1020#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1021pub struct WGPUOptionalBool(pub ::core::ffi::c_int);
1022impl WGPUPopErrorScopeStatus {
1023    pub const WGPUPopErrorScopeStatus_Success: WGPUPopErrorScopeStatus = WGPUPopErrorScopeStatus(1);
1024}
1025impl WGPUPopErrorScopeStatus {
1026    pub const WGPUPopErrorScopeStatus_CallbackCancelled: WGPUPopErrorScopeStatus =
1027        WGPUPopErrorScopeStatus(2);
1028}
1029impl WGPUPopErrorScopeStatus {
1030    pub const WGPUPopErrorScopeStatus_Error: WGPUPopErrorScopeStatus = WGPUPopErrorScopeStatus(3);
1031}
1032impl WGPUPopErrorScopeStatus {
1033    pub const WGPUPopErrorScopeStatus_Force32: WGPUPopErrorScopeStatus =
1034        WGPUPopErrorScopeStatus(2147483647);
1035}
1036#[repr(transparent)]
1037#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1038pub struct WGPUPopErrorScopeStatus(pub ::core::ffi::c_int);
1039impl WGPUPowerPreference {
1040    pub const WGPUPowerPreference_Undefined: WGPUPowerPreference = WGPUPowerPreference(0);
1041}
1042impl WGPUPowerPreference {
1043    pub const WGPUPowerPreference_LowPower: WGPUPowerPreference = WGPUPowerPreference(1);
1044}
1045impl WGPUPowerPreference {
1046    pub const WGPUPowerPreference_HighPerformance: WGPUPowerPreference = WGPUPowerPreference(2);
1047}
1048impl WGPUPowerPreference {
1049    pub const WGPUPowerPreference_Force32: WGPUPowerPreference = WGPUPowerPreference(2147483647);
1050}
1051#[repr(transparent)]
1052#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1053pub struct WGPUPowerPreference(pub ::core::ffi::c_int);
1054impl WGPUPredefinedColorSpace {
1055    pub const WGPUPredefinedColorSpace_SRGB: WGPUPredefinedColorSpace = WGPUPredefinedColorSpace(1);
1056}
1057impl WGPUPredefinedColorSpace {
1058    pub const WGPUPredefinedColorSpace_DisplayP3: WGPUPredefinedColorSpace =
1059        WGPUPredefinedColorSpace(2);
1060}
1061impl WGPUPredefinedColorSpace {
1062    pub const WGPUPredefinedColorSpace_Force32: WGPUPredefinedColorSpace =
1063        WGPUPredefinedColorSpace(2147483647);
1064}
1065#[repr(transparent)]
1066#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1067pub struct WGPUPredefinedColorSpace(pub ::core::ffi::c_int);
1068impl WGPUPresentMode {
1069    pub const WGPUPresentMode_Undefined: WGPUPresentMode = WGPUPresentMode(0);
1070}
1071impl WGPUPresentMode {
1072    pub const WGPUPresentMode_Fifo: WGPUPresentMode = WGPUPresentMode(1);
1073}
1074impl WGPUPresentMode {
1075    pub const WGPUPresentMode_FifoRelaxed: WGPUPresentMode = WGPUPresentMode(2);
1076}
1077impl WGPUPresentMode {
1078    pub const WGPUPresentMode_Immediate: WGPUPresentMode = WGPUPresentMode(3);
1079}
1080impl WGPUPresentMode {
1081    pub const WGPUPresentMode_Mailbox: WGPUPresentMode = WGPUPresentMode(4);
1082}
1083impl WGPUPresentMode {
1084    pub const WGPUPresentMode_Force32: WGPUPresentMode = WGPUPresentMode(2147483647);
1085}
1086#[repr(transparent)]
1087#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1088pub struct WGPUPresentMode(pub ::core::ffi::c_int);
1089impl WGPUPrimitiveTopology {
1090    pub const WGPUPrimitiveTopology_Undefined: WGPUPrimitiveTopology = WGPUPrimitiveTopology(0);
1091}
1092impl WGPUPrimitiveTopology {
1093    pub const WGPUPrimitiveTopology_PointList: WGPUPrimitiveTopology = WGPUPrimitiveTopology(1);
1094}
1095impl WGPUPrimitiveTopology {
1096    pub const WGPUPrimitiveTopology_LineList: WGPUPrimitiveTopology = WGPUPrimitiveTopology(2);
1097}
1098impl WGPUPrimitiveTopology {
1099    pub const WGPUPrimitiveTopology_LineStrip: WGPUPrimitiveTopology = WGPUPrimitiveTopology(3);
1100}
1101impl WGPUPrimitiveTopology {
1102    pub const WGPUPrimitiveTopology_TriangleList: WGPUPrimitiveTopology = WGPUPrimitiveTopology(4);
1103}
1104impl WGPUPrimitiveTopology {
1105    pub const WGPUPrimitiveTopology_TriangleStrip: WGPUPrimitiveTopology = WGPUPrimitiveTopology(5);
1106}
1107impl WGPUPrimitiveTopology {
1108    pub const WGPUPrimitiveTopology_Force32: WGPUPrimitiveTopology =
1109        WGPUPrimitiveTopology(2147483647);
1110}
1111#[repr(transparent)]
1112#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1113pub struct WGPUPrimitiveTopology(pub ::core::ffi::c_int);
1114impl WGPUQueryType {
1115    pub const WGPUQueryType_Occlusion: WGPUQueryType = WGPUQueryType(1);
1116}
1117impl WGPUQueryType {
1118    pub const WGPUQueryType_Timestamp: WGPUQueryType = WGPUQueryType(2);
1119}
1120impl WGPUQueryType {
1121    pub const WGPUQueryType_Force32: WGPUQueryType = WGPUQueryType(2147483647);
1122}
1123#[repr(transparent)]
1124#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1125pub struct WGPUQueryType(pub ::core::ffi::c_int);
1126impl WGPUQueueWorkDoneStatus {
1127    pub const WGPUQueueWorkDoneStatus_Success: WGPUQueueWorkDoneStatus = WGPUQueueWorkDoneStatus(1);
1128}
1129impl WGPUQueueWorkDoneStatus {
1130    pub const WGPUQueueWorkDoneStatus_CallbackCancelled: WGPUQueueWorkDoneStatus =
1131        WGPUQueueWorkDoneStatus(2);
1132}
1133impl WGPUQueueWorkDoneStatus {
1134    pub const WGPUQueueWorkDoneStatus_Error: WGPUQueueWorkDoneStatus = WGPUQueueWorkDoneStatus(3);
1135}
1136impl WGPUQueueWorkDoneStatus {
1137    pub const WGPUQueueWorkDoneStatus_Force32: WGPUQueueWorkDoneStatus =
1138        WGPUQueueWorkDoneStatus(2147483647);
1139}
1140#[repr(transparent)]
1141#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1142pub struct WGPUQueueWorkDoneStatus(pub ::core::ffi::c_int);
1143impl WGPURequestAdapterStatus {
1144    pub const WGPURequestAdapterStatus_Success: WGPURequestAdapterStatus =
1145        WGPURequestAdapterStatus(1);
1146}
1147impl WGPURequestAdapterStatus {
1148    pub const WGPURequestAdapterStatus_CallbackCancelled: WGPURequestAdapterStatus =
1149        WGPURequestAdapterStatus(2);
1150}
1151impl WGPURequestAdapterStatus {
1152    pub const WGPURequestAdapterStatus_Unavailable: WGPURequestAdapterStatus =
1153        WGPURequestAdapterStatus(3);
1154}
1155impl WGPURequestAdapterStatus {
1156    pub const WGPURequestAdapterStatus_Error: WGPURequestAdapterStatus =
1157        WGPURequestAdapterStatus(4);
1158}
1159impl WGPURequestAdapterStatus {
1160    pub const WGPURequestAdapterStatus_Force32: WGPURequestAdapterStatus =
1161        WGPURequestAdapterStatus(2147483647);
1162}
1163#[repr(transparent)]
1164#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1165pub struct WGPURequestAdapterStatus(pub ::core::ffi::c_int);
1166impl WGPURequestDeviceStatus {
1167    pub const WGPURequestDeviceStatus_Success: WGPURequestDeviceStatus = WGPURequestDeviceStatus(1);
1168}
1169impl WGPURequestDeviceStatus {
1170    pub const WGPURequestDeviceStatus_CallbackCancelled: WGPURequestDeviceStatus =
1171        WGPURequestDeviceStatus(2);
1172}
1173impl WGPURequestDeviceStatus {
1174    pub const WGPURequestDeviceStatus_Error: WGPURequestDeviceStatus = WGPURequestDeviceStatus(3);
1175}
1176impl WGPURequestDeviceStatus {
1177    pub const WGPURequestDeviceStatus_Force32: WGPURequestDeviceStatus =
1178        WGPURequestDeviceStatus(2147483647);
1179}
1180#[repr(transparent)]
1181#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1182pub struct WGPURequestDeviceStatus(pub ::core::ffi::c_int);
1183impl WGPUSamplerBindingType {
1184    pub const WGPUSamplerBindingType_BindingNotUsed: WGPUSamplerBindingType =
1185        WGPUSamplerBindingType(0);
1186}
1187impl WGPUSamplerBindingType {
1188    pub const WGPUSamplerBindingType_Undefined: WGPUSamplerBindingType = WGPUSamplerBindingType(1);
1189}
1190impl WGPUSamplerBindingType {
1191    pub const WGPUSamplerBindingType_Filtering: WGPUSamplerBindingType = WGPUSamplerBindingType(2);
1192}
1193impl WGPUSamplerBindingType {
1194    pub const WGPUSamplerBindingType_NonFiltering: WGPUSamplerBindingType =
1195        WGPUSamplerBindingType(3);
1196}
1197impl WGPUSamplerBindingType {
1198    pub const WGPUSamplerBindingType_Comparison: WGPUSamplerBindingType = WGPUSamplerBindingType(4);
1199}
1200impl WGPUSamplerBindingType {
1201    pub const WGPUSamplerBindingType_Force32: WGPUSamplerBindingType =
1202        WGPUSamplerBindingType(2147483647);
1203}
1204#[repr(transparent)]
1205#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1206pub struct WGPUSamplerBindingType(pub ::core::ffi::c_int);
1207impl WGPUSharedFenceType {
1208    pub const WGPUSharedFenceType_VkSemaphoreOpaqueFD: WGPUSharedFenceType = WGPUSharedFenceType(1);
1209}
1210impl WGPUSharedFenceType {
1211    pub const WGPUSharedFenceType_SyncFD: WGPUSharedFenceType = WGPUSharedFenceType(2);
1212}
1213impl WGPUSharedFenceType {
1214    pub const WGPUSharedFenceType_VkSemaphoreZirconHandle: WGPUSharedFenceType =
1215        WGPUSharedFenceType(3);
1216}
1217impl WGPUSharedFenceType {
1218    pub const WGPUSharedFenceType_DXGISharedHandle: WGPUSharedFenceType = WGPUSharedFenceType(4);
1219}
1220impl WGPUSharedFenceType {
1221    pub const WGPUSharedFenceType_MTLSharedEvent: WGPUSharedFenceType = WGPUSharedFenceType(5);
1222}
1223impl WGPUSharedFenceType {
1224    pub const WGPUSharedFenceType_EGLSync: WGPUSharedFenceType = WGPUSharedFenceType(6);
1225}
1226impl WGPUSharedFenceType {
1227    pub const WGPUSharedFenceType_Force32: WGPUSharedFenceType = WGPUSharedFenceType(2147483647);
1228}
1229#[repr(transparent)]
1230#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1231pub struct WGPUSharedFenceType(pub ::core::ffi::c_int);
1232impl WGPUStatus {
1233    pub const WGPUStatus_Success: WGPUStatus = WGPUStatus(1);
1234}
1235impl WGPUStatus {
1236    pub const WGPUStatus_Error: WGPUStatus = WGPUStatus(2);
1237}
1238impl WGPUStatus {
1239    pub const WGPUStatus_Force32: WGPUStatus = WGPUStatus(2147483647);
1240}
1241#[repr(transparent)]
1242#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1243pub struct WGPUStatus(pub ::core::ffi::c_int);
1244impl WGPUStencilOperation {
1245    pub const WGPUStencilOperation_Undefined: WGPUStencilOperation = WGPUStencilOperation(0);
1246}
1247impl WGPUStencilOperation {
1248    pub const WGPUStencilOperation_Keep: WGPUStencilOperation = WGPUStencilOperation(1);
1249}
1250impl WGPUStencilOperation {
1251    pub const WGPUStencilOperation_Zero: WGPUStencilOperation = WGPUStencilOperation(2);
1252}
1253impl WGPUStencilOperation {
1254    pub const WGPUStencilOperation_Replace: WGPUStencilOperation = WGPUStencilOperation(3);
1255}
1256impl WGPUStencilOperation {
1257    pub const WGPUStencilOperation_Invert: WGPUStencilOperation = WGPUStencilOperation(4);
1258}
1259impl WGPUStencilOperation {
1260    pub const WGPUStencilOperation_IncrementClamp: WGPUStencilOperation = WGPUStencilOperation(5);
1261}
1262impl WGPUStencilOperation {
1263    pub const WGPUStencilOperation_DecrementClamp: WGPUStencilOperation = WGPUStencilOperation(6);
1264}
1265impl WGPUStencilOperation {
1266    pub const WGPUStencilOperation_IncrementWrap: WGPUStencilOperation = WGPUStencilOperation(7);
1267}
1268impl WGPUStencilOperation {
1269    pub const WGPUStencilOperation_DecrementWrap: WGPUStencilOperation = WGPUStencilOperation(8);
1270}
1271impl WGPUStencilOperation {
1272    pub const WGPUStencilOperation_Force32: WGPUStencilOperation = WGPUStencilOperation(2147483647);
1273}
1274#[repr(transparent)]
1275#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1276pub struct WGPUStencilOperation(pub ::core::ffi::c_int);
1277impl WGPUStorageTextureAccess {
1278    pub const WGPUStorageTextureAccess_BindingNotUsed: WGPUStorageTextureAccess =
1279        WGPUStorageTextureAccess(0);
1280}
1281impl WGPUStorageTextureAccess {
1282    pub const WGPUStorageTextureAccess_Undefined: WGPUStorageTextureAccess =
1283        WGPUStorageTextureAccess(1);
1284}
1285impl WGPUStorageTextureAccess {
1286    pub const WGPUStorageTextureAccess_WriteOnly: WGPUStorageTextureAccess =
1287        WGPUStorageTextureAccess(2);
1288}
1289impl WGPUStorageTextureAccess {
1290    pub const WGPUStorageTextureAccess_ReadOnly: WGPUStorageTextureAccess =
1291        WGPUStorageTextureAccess(3);
1292}
1293impl WGPUStorageTextureAccess {
1294    pub const WGPUStorageTextureAccess_ReadWrite: WGPUStorageTextureAccess =
1295        WGPUStorageTextureAccess(4);
1296}
1297impl WGPUStorageTextureAccess {
1298    pub const WGPUStorageTextureAccess_Force32: WGPUStorageTextureAccess =
1299        WGPUStorageTextureAccess(2147483647);
1300}
1301#[repr(transparent)]
1302#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1303pub struct WGPUStorageTextureAccess(pub ::core::ffi::c_int);
1304impl WGPUStoreOp {
1305    pub const WGPUStoreOp_Undefined: WGPUStoreOp = WGPUStoreOp(0);
1306}
1307impl WGPUStoreOp {
1308    pub const WGPUStoreOp_Store: WGPUStoreOp = WGPUStoreOp(1);
1309}
1310impl WGPUStoreOp {
1311    pub const WGPUStoreOp_Discard: WGPUStoreOp = WGPUStoreOp(2);
1312}
1313impl WGPUStoreOp {
1314    pub const WGPUStoreOp_Force32: WGPUStoreOp = WGPUStoreOp(2147483647);
1315}
1316#[repr(transparent)]
1317#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1318pub struct WGPUStoreOp(pub ::core::ffi::c_int);
1319impl WGPUSType {
1320    pub const WGPUSType_ShaderSourceSPIRV: WGPUSType = WGPUSType(1);
1321}
1322impl WGPUSType {
1323    pub const WGPUSType_ShaderSourceWGSL: WGPUSType = WGPUSType(2);
1324}
1325impl WGPUSType {
1326    pub const WGPUSType_RenderPassMaxDrawCount: WGPUSType = WGPUSType(3);
1327}
1328impl WGPUSType {
1329    pub const WGPUSType_SurfaceSourceMetalLayer: WGPUSType = WGPUSType(4);
1330}
1331impl WGPUSType {
1332    pub const WGPUSType_SurfaceSourceWindowsHWND: WGPUSType = WGPUSType(5);
1333}
1334impl WGPUSType {
1335    pub const WGPUSType_SurfaceSourceXlibWindow: WGPUSType = WGPUSType(6);
1336}
1337impl WGPUSType {
1338    pub const WGPUSType_SurfaceSourceWaylandSurface: WGPUSType = WGPUSType(7);
1339}
1340impl WGPUSType {
1341    pub const WGPUSType_SurfaceSourceAndroidNativeWindow: WGPUSType = WGPUSType(8);
1342}
1343impl WGPUSType {
1344    pub const WGPUSType_SurfaceSourceXCBWindow: WGPUSType = WGPUSType(9);
1345}
1346impl WGPUSType {
1347    pub const WGPUSType_SurfaceColorManagement: WGPUSType = WGPUSType(10);
1348}
1349impl WGPUSType {
1350    pub const WGPUSType_RequestAdapterWebXROptions: WGPUSType = WGPUSType(11);
1351}
1352impl WGPUSType {
1353    pub const WGPUSType_AdapterPropertiesSubgroups: WGPUSType = WGPUSType(12);
1354}
1355impl WGPUSType {
1356    pub const WGPUSType_BindGroupLayoutEntryArraySize: WGPUSType = WGPUSType(13);
1357}
1358impl WGPUSType {
1359    pub const WGPUSType_TextureBindingViewDimensionDescriptor: WGPUSType = WGPUSType(131072);
1360}
1361impl WGPUSType {
1362    pub const WGPUSType_EmscriptenSurfaceSourceCanvasHTMLSelector: WGPUSType = WGPUSType(262144);
1363}
1364impl WGPUSType {
1365    pub const WGPUSType_SurfaceDescriptorFromWindowsCoreWindow: WGPUSType = WGPUSType(327680);
1366}
1367impl WGPUSType {
1368    pub const WGPUSType_ExternalTextureBindingEntry: WGPUSType = WGPUSType(327681);
1369}
1370impl WGPUSType {
1371    pub const WGPUSType_ExternalTextureBindingLayout: WGPUSType = WGPUSType(327682);
1372}
1373impl WGPUSType {
1374    pub const WGPUSType_SurfaceDescriptorFromWindowsUWPSwapChainPanel: WGPUSType =
1375        WGPUSType(327683);
1376}
1377impl WGPUSType {
1378    pub const WGPUSType_DawnTextureInternalUsageDescriptor: WGPUSType = WGPUSType(327684);
1379}
1380impl WGPUSType {
1381    pub const WGPUSType_DawnEncoderInternalUsageDescriptor: WGPUSType = WGPUSType(327685);
1382}
1383impl WGPUSType {
1384    pub const WGPUSType_DawnInstanceDescriptor: WGPUSType = WGPUSType(327686);
1385}
1386impl WGPUSType {
1387    pub const WGPUSType_DawnCacheDeviceDescriptor: WGPUSType = WGPUSType(327687);
1388}
1389impl WGPUSType {
1390    pub const WGPUSType_DawnAdapterPropertiesPowerPreference: WGPUSType = WGPUSType(327688);
1391}
1392impl WGPUSType {
1393    pub const WGPUSType_DawnBufferDescriptorErrorInfoFromWireClient: WGPUSType = WGPUSType(327689);
1394}
1395impl WGPUSType {
1396    pub const WGPUSType_DawnTogglesDescriptor: WGPUSType = WGPUSType(327690);
1397}
1398impl WGPUSType {
1399    pub const WGPUSType_DawnShaderModuleSPIRVOptionsDescriptor: WGPUSType = WGPUSType(327691);
1400}
1401impl WGPUSType {
1402    pub const WGPUSType_RequestAdapterOptionsLUID: WGPUSType = WGPUSType(327692);
1403}
1404impl WGPUSType {
1405    pub const WGPUSType_RequestAdapterOptionsGetGLProc: WGPUSType = WGPUSType(327693);
1406}
1407impl WGPUSType {
1408    pub const WGPUSType_RequestAdapterOptionsD3D11Device: WGPUSType = WGPUSType(327694);
1409}
1410impl WGPUSType {
1411    pub const WGPUSType_DawnRenderPassColorAttachmentRenderToSingleSampled: WGPUSType =
1412        WGPUSType(327695);
1413}
1414impl WGPUSType {
1415    pub const WGPUSType_RenderPassPixelLocalStorage: WGPUSType = WGPUSType(327696);
1416}
1417impl WGPUSType {
1418    pub const WGPUSType_PipelineLayoutPixelLocalStorage: WGPUSType = WGPUSType(327697);
1419}
1420impl WGPUSType {
1421    pub const WGPUSType_BufferHostMappedPointer: WGPUSType = WGPUSType(327698);
1422}
1423impl WGPUSType {
1424    pub const WGPUSType_AdapterPropertiesMemoryHeaps: WGPUSType = WGPUSType(327699);
1425}
1426impl WGPUSType {
1427    pub const WGPUSType_AdapterPropertiesD3D: WGPUSType = WGPUSType(327700);
1428}
1429impl WGPUSType {
1430    pub const WGPUSType_AdapterPropertiesVk: WGPUSType = WGPUSType(327701);
1431}
1432impl WGPUSType {
1433    pub const WGPUSType_DawnWireWGSLControl: WGPUSType = WGPUSType(327702);
1434}
1435impl WGPUSType {
1436    pub const WGPUSType_DawnWGSLBlocklist: WGPUSType = WGPUSType(327703);
1437}
1438impl WGPUSType {
1439    pub const WGPUSType_DawnDrmFormatCapabilities: WGPUSType = WGPUSType(327704);
1440}
1441impl WGPUSType {
1442    pub const WGPUSType_ShaderModuleCompilationOptions: WGPUSType = WGPUSType(327705);
1443}
1444impl WGPUSType {
1445    pub const WGPUSType_ColorTargetStateExpandResolveTextureDawn: WGPUSType = WGPUSType(327706);
1446}
1447impl WGPUSType {
1448    pub const WGPUSType_RenderPassDescriptorExpandResolveRect: WGPUSType = WGPUSType(327707);
1449}
1450impl WGPUSType {
1451    pub const WGPUSType_SharedTextureMemoryVkDedicatedAllocationDescriptor: WGPUSType =
1452        WGPUSType(327708);
1453}
1454impl WGPUSType {
1455    pub const WGPUSType_SharedTextureMemoryAHardwareBufferDescriptor: WGPUSType = WGPUSType(327709);
1456}
1457impl WGPUSType {
1458    pub const WGPUSType_SharedTextureMemoryDmaBufDescriptor: WGPUSType = WGPUSType(327710);
1459}
1460impl WGPUSType {
1461    pub const WGPUSType_SharedTextureMemoryOpaqueFDDescriptor: WGPUSType = WGPUSType(327711);
1462}
1463impl WGPUSType {
1464    pub const WGPUSType_SharedTextureMemoryZirconHandleDescriptor: WGPUSType = WGPUSType(327712);
1465}
1466impl WGPUSType {
1467    pub const WGPUSType_SharedTextureMemoryDXGISharedHandleDescriptor: WGPUSType =
1468        WGPUSType(327713);
1469}
1470impl WGPUSType {
1471    pub const WGPUSType_SharedTextureMemoryD3D11Texture2DDescriptor: WGPUSType = WGPUSType(327714);
1472}
1473impl WGPUSType {
1474    pub const WGPUSType_SharedTextureMemoryIOSurfaceDescriptor: WGPUSType = WGPUSType(327715);
1475}
1476impl WGPUSType {
1477    pub const WGPUSType_SharedTextureMemoryEGLImageDescriptor: WGPUSType = WGPUSType(327716);
1478}
1479impl WGPUSType {
1480    pub const WGPUSType_SharedTextureMemoryInitializedBeginState: WGPUSType = WGPUSType(327717);
1481}
1482impl WGPUSType {
1483    pub const WGPUSType_SharedTextureMemoryInitializedEndState: WGPUSType = WGPUSType(327718);
1484}
1485impl WGPUSType {
1486    pub const WGPUSType_SharedTextureMemoryVkImageLayoutBeginState: WGPUSType = WGPUSType(327719);
1487}
1488impl WGPUSType {
1489    pub const WGPUSType_SharedTextureMemoryVkImageLayoutEndState: WGPUSType = WGPUSType(327720);
1490}
1491impl WGPUSType {
1492    pub const WGPUSType_SharedTextureMemoryD3DSwapchainBeginState: WGPUSType = WGPUSType(327721);
1493}
1494impl WGPUSType {
1495    pub const WGPUSType_SharedFenceVkSemaphoreOpaqueFDDescriptor: WGPUSType = WGPUSType(327722);
1496}
1497impl WGPUSType {
1498    pub const WGPUSType_SharedFenceVkSemaphoreOpaqueFDExportInfo: WGPUSType = WGPUSType(327723);
1499}
1500impl WGPUSType {
1501    pub const WGPUSType_SharedFenceSyncFDDescriptor: WGPUSType = WGPUSType(327724);
1502}
1503impl WGPUSType {
1504    pub const WGPUSType_SharedFenceSyncFDExportInfo: WGPUSType = WGPUSType(327725);
1505}
1506impl WGPUSType {
1507    pub const WGPUSType_SharedFenceVkSemaphoreZirconHandleDescriptor: WGPUSType = WGPUSType(327726);
1508}
1509impl WGPUSType {
1510    pub const WGPUSType_SharedFenceVkSemaphoreZirconHandleExportInfo: WGPUSType = WGPUSType(327727);
1511}
1512impl WGPUSType {
1513    pub const WGPUSType_SharedFenceDXGISharedHandleDescriptor: WGPUSType = WGPUSType(327728);
1514}
1515impl WGPUSType {
1516    pub const WGPUSType_SharedFenceDXGISharedHandleExportInfo: WGPUSType = WGPUSType(327729);
1517}
1518impl WGPUSType {
1519    pub const WGPUSType_SharedFenceMTLSharedEventDescriptor: WGPUSType = WGPUSType(327730);
1520}
1521impl WGPUSType {
1522    pub const WGPUSType_SharedFenceMTLSharedEventExportInfo: WGPUSType = WGPUSType(327731);
1523}
1524impl WGPUSType {
1525    pub const WGPUSType_SharedBufferMemoryD3D12ResourceDescriptor: WGPUSType = WGPUSType(327732);
1526}
1527impl WGPUSType {
1528    pub const WGPUSType_StaticSamplerBindingLayout: WGPUSType = WGPUSType(327733);
1529}
1530impl WGPUSType {
1531    pub const WGPUSType_YCbCrVkDescriptor: WGPUSType = WGPUSType(327734);
1532}
1533impl WGPUSType {
1534    pub const WGPUSType_SharedTextureMemoryAHardwareBufferProperties: WGPUSType = WGPUSType(327735);
1535}
1536impl WGPUSType {
1537    pub const WGPUSType_AHardwareBufferProperties: WGPUSType = WGPUSType(327736);
1538}
1539impl WGPUSType {
1540    pub const WGPUSType_DawnTexelCopyBufferRowAlignmentLimits: WGPUSType = WGPUSType(327738);
1541}
1542impl WGPUSType {
1543    pub const WGPUSType_AdapterPropertiesSubgroupMatrixConfigs: WGPUSType = WGPUSType(327739);
1544}
1545impl WGPUSType {
1546    pub const WGPUSType_SharedFenceEGLSyncDescriptor: WGPUSType = WGPUSType(327740);
1547}
1548impl WGPUSType {
1549    pub const WGPUSType_SharedFenceEGLSyncExportInfo: WGPUSType = WGPUSType(327741);
1550}
1551impl WGPUSType {
1552    pub const WGPUSType_DawnInjectedInvalidSType: WGPUSType = WGPUSType(327742);
1553}
1554impl WGPUSType {
1555    pub const WGPUSType_DawnCompilationMessageUtf16: WGPUSType = WGPUSType(327743);
1556}
1557impl WGPUSType {
1558    pub const WGPUSType_DawnFakeBufferOOMForTesting: WGPUSType = WGPUSType(327744);
1559}
1560impl WGPUSType {
1561    pub const WGPUSType_SurfaceDescriptorFromWindowsWinUISwapChainPanel: WGPUSType =
1562        WGPUSType(327745);
1563}
1564impl WGPUSType {
1565    pub const WGPUSType_DawnDeviceAllocatorControl: WGPUSType = WGPUSType(327746);
1566}
1567impl WGPUSType {
1568    pub const WGPUSType_DawnHostMappedPointerLimits: WGPUSType = WGPUSType(327747);
1569}
1570impl WGPUSType {
1571    pub const WGPUSType_RenderPassDescriptorResolveRect: WGPUSType = WGPUSType(327748);
1572}
1573impl WGPUSType {
1574    pub const WGPUSType_Force32: WGPUSType = WGPUSType(2147483647);
1575}
1576#[repr(transparent)]
1577#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1578pub struct WGPUSType(pub ::core::ffi::c_int);
1579impl WGPUSubgroupMatrixComponentType {
1580    pub const WGPUSubgroupMatrixComponentType_F32: WGPUSubgroupMatrixComponentType =
1581        WGPUSubgroupMatrixComponentType(1);
1582}
1583impl WGPUSubgroupMatrixComponentType {
1584    pub const WGPUSubgroupMatrixComponentType_F16: WGPUSubgroupMatrixComponentType =
1585        WGPUSubgroupMatrixComponentType(2);
1586}
1587impl WGPUSubgroupMatrixComponentType {
1588    pub const WGPUSubgroupMatrixComponentType_U32: WGPUSubgroupMatrixComponentType =
1589        WGPUSubgroupMatrixComponentType(3);
1590}
1591impl WGPUSubgroupMatrixComponentType {
1592    pub const WGPUSubgroupMatrixComponentType_I32: WGPUSubgroupMatrixComponentType =
1593        WGPUSubgroupMatrixComponentType(4);
1594}
1595impl WGPUSubgroupMatrixComponentType {
1596    pub const WGPUSubgroupMatrixComponentType_Force32: WGPUSubgroupMatrixComponentType =
1597        WGPUSubgroupMatrixComponentType(2147483647);
1598}
1599#[repr(transparent)]
1600#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1601pub struct WGPUSubgroupMatrixComponentType(pub ::core::ffi::c_int);
1602impl WGPUSurfaceGetCurrentTextureStatus {
1603    pub const WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal:
1604        WGPUSurfaceGetCurrentTextureStatus = WGPUSurfaceGetCurrentTextureStatus(1);
1605}
1606impl WGPUSurfaceGetCurrentTextureStatus {
1607    pub const WGPUSurfaceGetCurrentTextureStatus_SuccessSuboptimal:
1608        WGPUSurfaceGetCurrentTextureStatus = WGPUSurfaceGetCurrentTextureStatus(2);
1609}
1610impl WGPUSurfaceGetCurrentTextureStatus {
1611    pub const WGPUSurfaceGetCurrentTextureStatus_Timeout: WGPUSurfaceGetCurrentTextureStatus =
1612        WGPUSurfaceGetCurrentTextureStatus(3);
1613}
1614impl WGPUSurfaceGetCurrentTextureStatus {
1615    pub const WGPUSurfaceGetCurrentTextureStatus_Outdated: WGPUSurfaceGetCurrentTextureStatus =
1616        WGPUSurfaceGetCurrentTextureStatus(4);
1617}
1618impl WGPUSurfaceGetCurrentTextureStatus {
1619    pub const WGPUSurfaceGetCurrentTextureStatus_Lost: WGPUSurfaceGetCurrentTextureStatus =
1620        WGPUSurfaceGetCurrentTextureStatus(5);
1621}
1622impl WGPUSurfaceGetCurrentTextureStatus {
1623    pub const WGPUSurfaceGetCurrentTextureStatus_Error: WGPUSurfaceGetCurrentTextureStatus =
1624        WGPUSurfaceGetCurrentTextureStatus(6);
1625}
1626impl WGPUSurfaceGetCurrentTextureStatus {
1627    pub const WGPUSurfaceGetCurrentTextureStatus_Force32: WGPUSurfaceGetCurrentTextureStatus =
1628        WGPUSurfaceGetCurrentTextureStatus(2147483647);
1629}
1630#[repr(transparent)]
1631#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1632pub struct WGPUSurfaceGetCurrentTextureStatus(pub ::core::ffi::c_int);
1633impl WGPUTextureAspect {
1634    pub const WGPUTextureAspect_Undefined: WGPUTextureAspect = WGPUTextureAspect(0);
1635}
1636impl WGPUTextureAspect {
1637    pub const WGPUTextureAspect_All: WGPUTextureAspect = WGPUTextureAspect(1);
1638}
1639impl WGPUTextureAspect {
1640    pub const WGPUTextureAspect_StencilOnly: WGPUTextureAspect = WGPUTextureAspect(2);
1641}
1642impl WGPUTextureAspect {
1643    pub const WGPUTextureAspect_DepthOnly: WGPUTextureAspect = WGPUTextureAspect(3);
1644}
1645impl WGPUTextureAspect {
1646    pub const WGPUTextureAspect_Plane0Only: WGPUTextureAspect = WGPUTextureAspect(327680);
1647}
1648impl WGPUTextureAspect {
1649    pub const WGPUTextureAspect_Plane1Only: WGPUTextureAspect = WGPUTextureAspect(327681);
1650}
1651impl WGPUTextureAspect {
1652    pub const WGPUTextureAspect_Plane2Only: WGPUTextureAspect = WGPUTextureAspect(327682);
1653}
1654impl WGPUTextureAspect {
1655    pub const WGPUTextureAspect_Force32: WGPUTextureAspect = WGPUTextureAspect(2147483647);
1656}
1657#[repr(transparent)]
1658#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1659pub struct WGPUTextureAspect(pub ::core::ffi::c_int);
1660impl WGPUTextureDimension {
1661    pub const WGPUTextureDimension_Undefined: WGPUTextureDimension = WGPUTextureDimension(0);
1662}
1663impl WGPUTextureDimension {
1664    pub const WGPUTextureDimension_1D: WGPUTextureDimension = WGPUTextureDimension(1);
1665}
1666impl WGPUTextureDimension {
1667    pub const WGPUTextureDimension_2D: WGPUTextureDimension = WGPUTextureDimension(2);
1668}
1669impl WGPUTextureDimension {
1670    pub const WGPUTextureDimension_3D: WGPUTextureDimension = WGPUTextureDimension(3);
1671}
1672impl WGPUTextureDimension {
1673    pub const WGPUTextureDimension_Force32: WGPUTextureDimension = WGPUTextureDimension(2147483647);
1674}
1675#[repr(transparent)]
1676#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1677pub struct WGPUTextureDimension(pub ::core::ffi::c_int);
1678impl WGPUTextureFormat {
1679    pub const WGPUTextureFormat_Undefined: WGPUTextureFormat = WGPUTextureFormat(0);
1680}
1681impl WGPUTextureFormat {
1682    pub const WGPUTextureFormat_R8Unorm: WGPUTextureFormat = WGPUTextureFormat(1);
1683}
1684impl WGPUTextureFormat {
1685    pub const WGPUTextureFormat_R8Snorm: WGPUTextureFormat = WGPUTextureFormat(2);
1686}
1687impl WGPUTextureFormat {
1688    pub const WGPUTextureFormat_R8Uint: WGPUTextureFormat = WGPUTextureFormat(3);
1689}
1690impl WGPUTextureFormat {
1691    pub const WGPUTextureFormat_R8Sint: WGPUTextureFormat = WGPUTextureFormat(4);
1692}
1693impl WGPUTextureFormat {
1694    pub const WGPUTextureFormat_R16Uint: WGPUTextureFormat = WGPUTextureFormat(5);
1695}
1696impl WGPUTextureFormat {
1697    pub const WGPUTextureFormat_R16Sint: WGPUTextureFormat = WGPUTextureFormat(6);
1698}
1699impl WGPUTextureFormat {
1700    pub const WGPUTextureFormat_R16Float: WGPUTextureFormat = WGPUTextureFormat(7);
1701}
1702impl WGPUTextureFormat {
1703    pub const WGPUTextureFormat_RG8Unorm: WGPUTextureFormat = WGPUTextureFormat(8);
1704}
1705impl WGPUTextureFormat {
1706    pub const WGPUTextureFormat_RG8Snorm: WGPUTextureFormat = WGPUTextureFormat(9);
1707}
1708impl WGPUTextureFormat {
1709    pub const WGPUTextureFormat_RG8Uint: WGPUTextureFormat = WGPUTextureFormat(10);
1710}
1711impl WGPUTextureFormat {
1712    pub const WGPUTextureFormat_RG8Sint: WGPUTextureFormat = WGPUTextureFormat(11);
1713}
1714impl WGPUTextureFormat {
1715    pub const WGPUTextureFormat_R32Float: WGPUTextureFormat = WGPUTextureFormat(12);
1716}
1717impl WGPUTextureFormat {
1718    pub const WGPUTextureFormat_R32Uint: WGPUTextureFormat = WGPUTextureFormat(13);
1719}
1720impl WGPUTextureFormat {
1721    pub const WGPUTextureFormat_R32Sint: WGPUTextureFormat = WGPUTextureFormat(14);
1722}
1723impl WGPUTextureFormat {
1724    pub const WGPUTextureFormat_RG16Uint: WGPUTextureFormat = WGPUTextureFormat(15);
1725}
1726impl WGPUTextureFormat {
1727    pub const WGPUTextureFormat_RG16Sint: WGPUTextureFormat = WGPUTextureFormat(16);
1728}
1729impl WGPUTextureFormat {
1730    pub const WGPUTextureFormat_RG16Float: WGPUTextureFormat = WGPUTextureFormat(17);
1731}
1732impl WGPUTextureFormat {
1733    pub const WGPUTextureFormat_RGBA8Unorm: WGPUTextureFormat = WGPUTextureFormat(18);
1734}
1735impl WGPUTextureFormat {
1736    pub const WGPUTextureFormat_RGBA8UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(19);
1737}
1738impl WGPUTextureFormat {
1739    pub const WGPUTextureFormat_RGBA8Snorm: WGPUTextureFormat = WGPUTextureFormat(20);
1740}
1741impl WGPUTextureFormat {
1742    pub const WGPUTextureFormat_RGBA8Uint: WGPUTextureFormat = WGPUTextureFormat(21);
1743}
1744impl WGPUTextureFormat {
1745    pub const WGPUTextureFormat_RGBA8Sint: WGPUTextureFormat = WGPUTextureFormat(22);
1746}
1747impl WGPUTextureFormat {
1748    pub const WGPUTextureFormat_BGRA8Unorm: WGPUTextureFormat = WGPUTextureFormat(23);
1749}
1750impl WGPUTextureFormat {
1751    pub const WGPUTextureFormat_BGRA8UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(24);
1752}
1753impl WGPUTextureFormat {
1754    pub const WGPUTextureFormat_RGB10A2Uint: WGPUTextureFormat = WGPUTextureFormat(25);
1755}
1756impl WGPUTextureFormat {
1757    pub const WGPUTextureFormat_RGB10A2Unorm: WGPUTextureFormat = WGPUTextureFormat(26);
1758}
1759impl WGPUTextureFormat {
1760    pub const WGPUTextureFormat_RG11B10Ufloat: WGPUTextureFormat = WGPUTextureFormat(27);
1761}
1762impl WGPUTextureFormat {
1763    pub const WGPUTextureFormat_RGB9E5Ufloat: WGPUTextureFormat = WGPUTextureFormat(28);
1764}
1765impl WGPUTextureFormat {
1766    pub const WGPUTextureFormat_RG32Float: WGPUTextureFormat = WGPUTextureFormat(29);
1767}
1768impl WGPUTextureFormat {
1769    pub const WGPUTextureFormat_RG32Uint: WGPUTextureFormat = WGPUTextureFormat(30);
1770}
1771impl WGPUTextureFormat {
1772    pub const WGPUTextureFormat_RG32Sint: WGPUTextureFormat = WGPUTextureFormat(31);
1773}
1774impl WGPUTextureFormat {
1775    pub const WGPUTextureFormat_RGBA16Uint: WGPUTextureFormat = WGPUTextureFormat(32);
1776}
1777impl WGPUTextureFormat {
1778    pub const WGPUTextureFormat_RGBA16Sint: WGPUTextureFormat = WGPUTextureFormat(33);
1779}
1780impl WGPUTextureFormat {
1781    pub const WGPUTextureFormat_RGBA16Float: WGPUTextureFormat = WGPUTextureFormat(34);
1782}
1783impl WGPUTextureFormat {
1784    pub const WGPUTextureFormat_RGBA32Float: WGPUTextureFormat = WGPUTextureFormat(35);
1785}
1786impl WGPUTextureFormat {
1787    pub const WGPUTextureFormat_RGBA32Uint: WGPUTextureFormat = WGPUTextureFormat(36);
1788}
1789impl WGPUTextureFormat {
1790    pub const WGPUTextureFormat_RGBA32Sint: WGPUTextureFormat = WGPUTextureFormat(37);
1791}
1792impl WGPUTextureFormat {
1793    pub const WGPUTextureFormat_Stencil8: WGPUTextureFormat = WGPUTextureFormat(38);
1794}
1795impl WGPUTextureFormat {
1796    pub const WGPUTextureFormat_Depth16Unorm: WGPUTextureFormat = WGPUTextureFormat(39);
1797}
1798impl WGPUTextureFormat {
1799    pub const WGPUTextureFormat_Depth24Plus: WGPUTextureFormat = WGPUTextureFormat(40);
1800}
1801impl WGPUTextureFormat {
1802    pub const WGPUTextureFormat_Depth24PlusStencil8: WGPUTextureFormat = WGPUTextureFormat(41);
1803}
1804impl WGPUTextureFormat {
1805    pub const WGPUTextureFormat_Depth32Float: WGPUTextureFormat = WGPUTextureFormat(42);
1806}
1807impl WGPUTextureFormat {
1808    pub const WGPUTextureFormat_Depth32FloatStencil8: WGPUTextureFormat = WGPUTextureFormat(43);
1809}
1810impl WGPUTextureFormat {
1811    pub const WGPUTextureFormat_BC1RGBAUnorm: WGPUTextureFormat = WGPUTextureFormat(44);
1812}
1813impl WGPUTextureFormat {
1814    pub const WGPUTextureFormat_BC1RGBAUnormSrgb: WGPUTextureFormat = WGPUTextureFormat(45);
1815}
1816impl WGPUTextureFormat {
1817    pub const WGPUTextureFormat_BC2RGBAUnorm: WGPUTextureFormat = WGPUTextureFormat(46);
1818}
1819impl WGPUTextureFormat {
1820    pub const WGPUTextureFormat_BC2RGBAUnormSrgb: WGPUTextureFormat = WGPUTextureFormat(47);
1821}
1822impl WGPUTextureFormat {
1823    pub const WGPUTextureFormat_BC3RGBAUnorm: WGPUTextureFormat = WGPUTextureFormat(48);
1824}
1825impl WGPUTextureFormat {
1826    pub const WGPUTextureFormat_BC3RGBAUnormSrgb: WGPUTextureFormat = WGPUTextureFormat(49);
1827}
1828impl WGPUTextureFormat {
1829    pub const WGPUTextureFormat_BC4RUnorm: WGPUTextureFormat = WGPUTextureFormat(50);
1830}
1831impl WGPUTextureFormat {
1832    pub const WGPUTextureFormat_BC4RSnorm: WGPUTextureFormat = WGPUTextureFormat(51);
1833}
1834impl WGPUTextureFormat {
1835    pub const WGPUTextureFormat_BC5RGUnorm: WGPUTextureFormat = WGPUTextureFormat(52);
1836}
1837impl WGPUTextureFormat {
1838    pub const WGPUTextureFormat_BC5RGSnorm: WGPUTextureFormat = WGPUTextureFormat(53);
1839}
1840impl WGPUTextureFormat {
1841    pub const WGPUTextureFormat_BC6HRGBUfloat: WGPUTextureFormat = WGPUTextureFormat(54);
1842}
1843impl WGPUTextureFormat {
1844    pub const WGPUTextureFormat_BC6HRGBFloat: WGPUTextureFormat = WGPUTextureFormat(55);
1845}
1846impl WGPUTextureFormat {
1847    pub const WGPUTextureFormat_BC7RGBAUnorm: WGPUTextureFormat = WGPUTextureFormat(56);
1848}
1849impl WGPUTextureFormat {
1850    pub const WGPUTextureFormat_BC7RGBAUnormSrgb: WGPUTextureFormat = WGPUTextureFormat(57);
1851}
1852impl WGPUTextureFormat {
1853    pub const WGPUTextureFormat_ETC2RGB8Unorm: WGPUTextureFormat = WGPUTextureFormat(58);
1854}
1855impl WGPUTextureFormat {
1856    pub const WGPUTextureFormat_ETC2RGB8UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(59);
1857}
1858impl WGPUTextureFormat {
1859    pub const WGPUTextureFormat_ETC2RGB8A1Unorm: WGPUTextureFormat = WGPUTextureFormat(60);
1860}
1861impl WGPUTextureFormat {
1862    pub const WGPUTextureFormat_ETC2RGB8A1UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(61);
1863}
1864impl WGPUTextureFormat {
1865    pub const WGPUTextureFormat_ETC2RGBA8Unorm: WGPUTextureFormat = WGPUTextureFormat(62);
1866}
1867impl WGPUTextureFormat {
1868    pub const WGPUTextureFormat_ETC2RGBA8UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(63);
1869}
1870impl WGPUTextureFormat {
1871    pub const WGPUTextureFormat_EACR11Unorm: WGPUTextureFormat = WGPUTextureFormat(64);
1872}
1873impl WGPUTextureFormat {
1874    pub const WGPUTextureFormat_EACR11Snorm: WGPUTextureFormat = WGPUTextureFormat(65);
1875}
1876impl WGPUTextureFormat {
1877    pub const WGPUTextureFormat_EACRG11Unorm: WGPUTextureFormat = WGPUTextureFormat(66);
1878}
1879impl WGPUTextureFormat {
1880    pub const WGPUTextureFormat_EACRG11Snorm: WGPUTextureFormat = WGPUTextureFormat(67);
1881}
1882impl WGPUTextureFormat {
1883    pub const WGPUTextureFormat_ASTC4x4Unorm: WGPUTextureFormat = WGPUTextureFormat(68);
1884}
1885impl WGPUTextureFormat {
1886    pub const WGPUTextureFormat_ASTC4x4UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(69);
1887}
1888impl WGPUTextureFormat {
1889    pub const WGPUTextureFormat_ASTC5x4Unorm: WGPUTextureFormat = WGPUTextureFormat(70);
1890}
1891impl WGPUTextureFormat {
1892    pub const WGPUTextureFormat_ASTC5x4UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(71);
1893}
1894impl WGPUTextureFormat {
1895    pub const WGPUTextureFormat_ASTC5x5Unorm: WGPUTextureFormat = WGPUTextureFormat(72);
1896}
1897impl WGPUTextureFormat {
1898    pub const WGPUTextureFormat_ASTC5x5UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(73);
1899}
1900impl WGPUTextureFormat {
1901    pub const WGPUTextureFormat_ASTC6x5Unorm: WGPUTextureFormat = WGPUTextureFormat(74);
1902}
1903impl WGPUTextureFormat {
1904    pub const WGPUTextureFormat_ASTC6x5UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(75);
1905}
1906impl WGPUTextureFormat {
1907    pub const WGPUTextureFormat_ASTC6x6Unorm: WGPUTextureFormat = WGPUTextureFormat(76);
1908}
1909impl WGPUTextureFormat {
1910    pub const WGPUTextureFormat_ASTC6x6UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(77);
1911}
1912impl WGPUTextureFormat {
1913    pub const WGPUTextureFormat_ASTC8x5Unorm: WGPUTextureFormat = WGPUTextureFormat(78);
1914}
1915impl WGPUTextureFormat {
1916    pub const WGPUTextureFormat_ASTC8x5UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(79);
1917}
1918impl WGPUTextureFormat {
1919    pub const WGPUTextureFormat_ASTC8x6Unorm: WGPUTextureFormat = WGPUTextureFormat(80);
1920}
1921impl WGPUTextureFormat {
1922    pub const WGPUTextureFormat_ASTC8x6UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(81);
1923}
1924impl WGPUTextureFormat {
1925    pub const WGPUTextureFormat_ASTC8x8Unorm: WGPUTextureFormat = WGPUTextureFormat(82);
1926}
1927impl WGPUTextureFormat {
1928    pub const WGPUTextureFormat_ASTC8x8UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(83);
1929}
1930impl WGPUTextureFormat {
1931    pub const WGPUTextureFormat_ASTC10x5Unorm: WGPUTextureFormat = WGPUTextureFormat(84);
1932}
1933impl WGPUTextureFormat {
1934    pub const WGPUTextureFormat_ASTC10x5UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(85);
1935}
1936impl WGPUTextureFormat {
1937    pub const WGPUTextureFormat_ASTC10x6Unorm: WGPUTextureFormat = WGPUTextureFormat(86);
1938}
1939impl WGPUTextureFormat {
1940    pub const WGPUTextureFormat_ASTC10x6UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(87);
1941}
1942impl WGPUTextureFormat {
1943    pub const WGPUTextureFormat_ASTC10x8Unorm: WGPUTextureFormat = WGPUTextureFormat(88);
1944}
1945impl WGPUTextureFormat {
1946    pub const WGPUTextureFormat_ASTC10x8UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(89);
1947}
1948impl WGPUTextureFormat {
1949    pub const WGPUTextureFormat_ASTC10x10Unorm: WGPUTextureFormat = WGPUTextureFormat(90);
1950}
1951impl WGPUTextureFormat {
1952    pub const WGPUTextureFormat_ASTC10x10UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(91);
1953}
1954impl WGPUTextureFormat {
1955    pub const WGPUTextureFormat_ASTC12x10Unorm: WGPUTextureFormat = WGPUTextureFormat(92);
1956}
1957impl WGPUTextureFormat {
1958    pub const WGPUTextureFormat_ASTC12x10UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(93);
1959}
1960impl WGPUTextureFormat {
1961    pub const WGPUTextureFormat_ASTC12x12Unorm: WGPUTextureFormat = WGPUTextureFormat(94);
1962}
1963impl WGPUTextureFormat {
1964    pub const WGPUTextureFormat_ASTC12x12UnormSrgb: WGPUTextureFormat = WGPUTextureFormat(95);
1965}
1966impl WGPUTextureFormat {
1967    pub const WGPUTextureFormat_R16Unorm: WGPUTextureFormat = WGPUTextureFormat(327680);
1968}
1969impl WGPUTextureFormat {
1970    pub const WGPUTextureFormat_RG16Unorm: WGPUTextureFormat = WGPUTextureFormat(327681);
1971}
1972impl WGPUTextureFormat {
1973    pub const WGPUTextureFormat_RGBA16Unorm: WGPUTextureFormat = WGPUTextureFormat(327682);
1974}
1975impl WGPUTextureFormat {
1976    pub const WGPUTextureFormat_R16Snorm: WGPUTextureFormat = WGPUTextureFormat(327683);
1977}
1978impl WGPUTextureFormat {
1979    pub const WGPUTextureFormat_RG16Snorm: WGPUTextureFormat = WGPUTextureFormat(327684);
1980}
1981impl WGPUTextureFormat {
1982    pub const WGPUTextureFormat_RGBA16Snorm: WGPUTextureFormat = WGPUTextureFormat(327685);
1983}
1984impl WGPUTextureFormat {
1985    pub const WGPUTextureFormat_R8BG8Biplanar420Unorm: WGPUTextureFormat =
1986        WGPUTextureFormat(327686);
1987}
1988impl WGPUTextureFormat {
1989    pub const WGPUTextureFormat_R10X6BG10X6Biplanar420Unorm: WGPUTextureFormat =
1990        WGPUTextureFormat(327687);
1991}
1992impl WGPUTextureFormat {
1993    pub const WGPUTextureFormat_R8BG8A8Triplanar420Unorm: WGPUTextureFormat =
1994        WGPUTextureFormat(327688);
1995}
1996impl WGPUTextureFormat {
1997    pub const WGPUTextureFormat_R8BG8Biplanar422Unorm: WGPUTextureFormat =
1998        WGPUTextureFormat(327689);
1999}
2000impl WGPUTextureFormat {
2001    pub const WGPUTextureFormat_R8BG8Biplanar444Unorm: WGPUTextureFormat =
2002        WGPUTextureFormat(327690);
2003}
2004impl WGPUTextureFormat {
2005    pub const WGPUTextureFormat_R10X6BG10X6Biplanar422Unorm: WGPUTextureFormat =
2006        WGPUTextureFormat(327691);
2007}
2008impl WGPUTextureFormat {
2009    pub const WGPUTextureFormat_R10X6BG10X6Biplanar444Unorm: WGPUTextureFormat =
2010        WGPUTextureFormat(327692);
2011}
2012impl WGPUTextureFormat {
2013    pub const WGPUTextureFormat_External: WGPUTextureFormat = WGPUTextureFormat(327693);
2014}
2015impl WGPUTextureFormat {
2016    pub const WGPUTextureFormat_Force32: WGPUTextureFormat = WGPUTextureFormat(2147483647);
2017}
2018#[repr(transparent)]
2019#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2020pub struct WGPUTextureFormat(pub ::core::ffi::c_int);
2021impl WGPUTextureSampleType {
2022    pub const WGPUTextureSampleType_BindingNotUsed: WGPUTextureSampleType =
2023        WGPUTextureSampleType(0);
2024}
2025impl WGPUTextureSampleType {
2026    pub const WGPUTextureSampleType_Undefined: WGPUTextureSampleType = WGPUTextureSampleType(1);
2027}
2028impl WGPUTextureSampleType {
2029    pub const WGPUTextureSampleType_Float: WGPUTextureSampleType = WGPUTextureSampleType(2);
2030}
2031impl WGPUTextureSampleType {
2032    pub const WGPUTextureSampleType_UnfilterableFloat: WGPUTextureSampleType =
2033        WGPUTextureSampleType(3);
2034}
2035impl WGPUTextureSampleType {
2036    pub const WGPUTextureSampleType_Depth: WGPUTextureSampleType = WGPUTextureSampleType(4);
2037}
2038impl WGPUTextureSampleType {
2039    pub const WGPUTextureSampleType_Sint: WGPUTextureSampleType = WGPUTextureSampleType(5);
2040}
2041impl WGPUTextureSampleType {
2042    pub const WGPUTextureSampleType_Uint: WGPUTextureSampleType = WGPUTextureSampleType(6);
2043}
2044impl WGPUTextureSampleType {
2045    pub const WGPUTextureSampleType_Force32: WGPUTextureSampleType =
2046        WGPUTextureSampleType(2147483647);
2047}
2048#[repr(transparent)]
2049#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2050pub struct WGPUTextureSampleType(pub ::core::ffi::c_int);
2051impl WGPUTextureViewDimension {
2052    pub const WGPUTextureViewDimension_Undefined: WGPUTextureViewDimension =
2053        WGPUTextureViewDimension(0);
2054}
2055impl WGPUTextureViewDimension {
2056    pub const WGPUTextureViewDimension_1D: WGPUTextureViewDimension = WGPUTextureViewDimension(1);
2057}
2058impl WGPUTextureViewDimension {
2059    pub const WGPUTextureViewDimension_2D: WGPUTextureViewDimension = WGPUTextureViewDimension(2);
2060}
2061impl WGPUTextureViewDimension {
2062    pub const WGPUTextureViewDimension_2DArray: WGPUTextureViewDimension =
2063        WGPUTextureViewDimension(3);
2064}
2065impl WGPUTextureViewDimension {
2066    pub const WGPUTextureViewDimension_Cube: WGPUTextureViewDimension = WGPUTextureViewDimension(4);
2067}
2068impl WGPUTextureViewDimension {
2069    pub const WGPUTextureViewDimension_CubeArray: WGPUTextureViewDimension =
2070        WGPUTextureViewDimension(5);
2071}
2072impl WGPUTextureViewDimension {
2073    pub const WGPUTextureViewDimension_3D: WGPUTextureViewDimension = WGPUTextureViewDimension(6);
2074}
2075impl WGPUTextureViewDimension {
2076    pub const WGPUTextureViewDimension_Force32: WGPUTextureViewDimension =
2077        WGPUTextureViewDimension(2147483647);
2078}
2079#[repr(transparent)]
2080#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2081pub struct WGPUTextureViewDimension(pub ::core::ffi::c_int);
2082impl WGPUToneMappingMode {
2083    pub const WGPUToneMappingMode_Standard: WGPUToneMappingMode = WGPUToneMappingMode(1);
2084}
2085impl WGPUToneMappingMode {
2086    pub const WGPUToneMappingMode_Extended: WGPUToneMappingMode = WGPUToneMappingMode(2);
2087}
2088impl WGPUToneMappingMode {
2089    pub const WGPUToneMappingMode_Force32: WGPUToneMappingMode = WGPUToneMappingMode(2147483647);
2090}
2091#[repr(transparent)]
2092#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2093pub struct WGPUToneMappingMode(pub ::core::ffi::c_int);
2094impl WGPUVertexFormat {
2095    pub const WGPUVertexFormat_Uint8: WGPUVertexFormat = WGPUVertexFormat(1);
2096}
2097impl WGPUVertexFormat {
2098    pub const WGPUVertexFormat_Uint8x2: WGPUVertexFormat = WGPUVertexFormat(2);
2099}
2100impl WGPUVertexFormat {
2101    pub const WGPUVertexFormat_Uint8x4: WGPUVertexFormat = WGPUVertexFormat(3);
2102}
2103impl WGPUVertexFormat {
2104    pub const WGPUVertexFormat_Sint8: WGPUVertexFormat = WGPUVertexFormat(4);
2105}
2106impl WGPUVertexFormat {
2107    pub const WGPUVertexFormat_Sint8x2: WGPUVertexFormat = WGPUVertexFormat(5);
2108}
2109impl WGPUVertexFormat {
2110    pub const WGPUVertexFormat_Sint8x4: WGPUVertexFormat = WGPUVertexFormat(6);
2111}
2112impl WGPUVertexFormat {
2113    pub const WGPUVertexFormat_Unorm8: WGPUVertexFormat = WGPUVertexFormat(7);
2114}
2115impl WGPUVertexFormat {
2116    pub const WGPUVertexFormat_Unorm8x2: WGPUVertexFormat = WGPUVertexFormat(8);
2117}
2118impl WGPUVertexFormat {
2119    pub const WGPUVertexFormat_Unorm8x4: WGPUVertexFormat = WGPUVertexFormat(9);
2120}
2121impl WGPUVertexFormat {
2122    pub const WGPUVertexFormat_Snorm8: WGPUVertexFormat = WGPUVertexFormat(10);
2123}
2124impl WGPUVertexFormat {
2125    pub const WGPUVertexFormat_Snorm8x2: WGPUVertexFormat = WGPUVertexFormat(11);
2126}
2127impl WGPUVertexFormat {
2128    pub const WGPUVertexFormat_Snorm8x4: WGPUVertexFormat = WGPUVertexFormat(12);
2129}
2130impl WGPUVertexFormat {
2131    pub const WGPUVertexFormat_Uint16: WGPUVertexFormat = WGPUVertexFormat(13);
2132}
2133impl WGPUVertexFormat {
2134    pub const WGPUVertexFormat_Uint16x2: WGPUVertexFormat = WGPUVertexFormat(14);
2135}
2136impl WGPUVertexFormat {
2137    pub const WGPUVertexFormat_Uint16x4: WGPUVertexFormat = WGPUVertexFormat(15);
2138}
2139impl WGPUVertexFormat {
2140    pub const WGPUVertexFormat_Sint16: WGPUVertexFormat = WGPUVertexFormat(16);
2141}
2142impl WGPUVertexFormat {
2143    pub const WGPUVertexFormat_Sint16x2: WGPUVertexFormat = WGPUVertexFormat(17);
2144}
2145impl WGPUVertexFormat {
2146    pub const WGPUVertexFormat_Sint16x4: WGPUVertexFormat = WGPUVertexFormat(18);
2147}
2148impl WGPUVertexFormat {
2149    pub const WGPUVertexFormat_Unorm16: WGPUVertexFormat = WGPUVertexFormat(19);
2150}
2151impl WGPUVertexFormat {
2152    pub const WGPUVertexFormat_Unorm16x2: WGPUVertexFormat = WGPUVertexFormat(20);
2153}
2154impl WGPUVertexFormat {
2155    pub const WGPUVertexFormat_Unorm16x4: WGPUVertexFormat = WGPUVertexFormat(21);
2156}
2157impl WGPUVertexFormat {
2158    pub const WGPUVertexFormat_Snorm16: WGPUVertexFormat = WGPUVertexFormat(22);
2159}
2160impl WGPUVertexFormat {
2161    pub const WGPUVertexFormat_Snorm16x2: WGPUVertexFormat = WGPUVertexFormat(23);
2162}
2163impl WGPUVertexFormat {
2164    pub const WGPUVertexFormat_Snorm16x4: WGPUVertexFormat = WGPUVertexFormat(24);
2165}
2166impl WGPUVertexFormat {
2167    pub const WGPUVertexFormat_Float16: WGPUVertexFormat = WGPUVertexFormat(25);
2168}
2169impl WGPUVertexFormat {
2170    pub const WGPUVertexFormat_Float16x2: WGPUVertexFormat = WGPUVertexFormat(26);
2171}
2172impl WGPUVertexFormat {
2173    pub const WGPUVertexFormat_Float16x4: WGPUVertexFormat = WGPUVertexFormat(27);
2174}
2175impl WGPUVertexFormat {
2176    pub const WGPUVertexFormat_Float32: WGPUVertexFormat = WGPUVertexFormat(28);
2177}
2178impl WGPUVertexFormat {
2179    pub const WGPUVertexFormat_Float32x2: WGPUVertexFormat = WGPUVertexFormat(29);
2180}
2181impl WGPUVertexFormat {
2182    pub const WGPUVertexFormat_Float32x3: WGPUVertexFormat = WGPUVertexFormat(30);
2183}
2184impl WGPUVertexFormat {
2185    pub const WGPUVertexFormat_Float32x4: WGPUVertexFormat = WGPUVertexFormat(31);
2186}
2187impl WGPUVertexFormat {
2188    pub const WGPUVertexFormat_Uint32: WGPUVertexFormat = WGPUVertexFormat(32);
2189}
2190impl WGPUVertexFormat {
2191    pub const WGPUVertexFormat_Uint32x2: WGPUVertexFormat = WGPUVertexFormat(33);
2192}
2193impl WGPUVertexFormat {
2194    pub const WGPUVertexFormat_Uint32x3: WGPUVertexFormat = WGPUVertexFormat(34);
2195}
2196impl WGPUVertexFormat {
2197    pub const WGPUVertexFormat_Uint32x4: WGPUVertexFormat = WGPUVertexFormat(35);
2198}
2199impl WGPUVertexFormat {
2200    pub const WGPUVertexFormat_Sint32: WGPUVertexFormat = WGPUVertexFormat(36);
2201}
2202impl WGPUVertexFormat {
2203    pub const WGPUVertexFormat_Sint32x2: WGPUVertexFormat = WGPUVertexFormat(37);
2204}
2205impl WGPUVertexFormat {
2206    pub const WGPUVertexFormat_Sint32x3: WGPUVertexFormat = WGPUVertexFormat(38);
2207}
2208impl WGPUVertexFormat {
2209    pub const WGPUVertexFormat_Sint32x4: WGPUVertexFormat = WGPUVertexFormat(39);
2210}
2211impl WGPUVertexFormat {
2212    pub const WGPUVertexFormat_Unorm10_10_10_2: WGPUVertexFormat = WGPUVertexFormat(40);
2213}
2214impl WGPUVertexFormat {
2215    pub const WGPUVertexFormat_Unorm8x4BGRA: WGPUVertexFormat = WGPUVertexFormat(41);
2216}
2217impl WGPUVertexFormat {
2218    pub const WGPUVertexFormat_Force32: WGPUVertexFormat = WGPUVertexFormat(2147483647);
2219}
2220#[repr(transparent)]
2221#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2222pub struct WGPUVertexFormat(pub ::core::ffi::c_int);
2223impl WGPUVertexStepMode {
2224    pub const WGPUVertexStepMode_Undefined: WGPUVertexStepMode = WGPUVertexStepMode(0);
2225}
2226impl WGPUVertexStepMode {
2227    pub const WGPUVertexStepMode_Vertex: WGPUVertexStepMode = WGPUVertexStepMode(1);
2228}
2229impl WGPUVertexStepMode {
2230    pub const WGPUVertexStepMode_Instance: WGPUVertexStepMode = WGPUVertexStepMode(2);
2231}
2232impl WGPUVertexStepMode {
2233    pub const WGPUVertexStepMode_Force32: WGPUVertexStepMode = WGPUVertexStepMode(2147483647);
2234}
2235#[repr(transparent)]
2236#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2237pub struct WGPUVertexStepMode(pub ::core::ffi::c_int);
2238impl WGPUWaitStatus {
2239    pub const WGPUWaitStatus_Success: WGPUWaitStatus = WGPUWaitStatus(1);
2240}
2241impl WGPUWaitStatus {
2242    pub const WGPUWaitStatus_TimedOut: WGPUWaitStatus = WGPUWaitStatus(2);
2243}
2244impl WGPUWaitStatus {
2245    pub const WGPUWaitStatus_Error: WGPUWaitStatus = WGPUWaitStatus(3);
2246}
2247impl WGPUWaitStatus {
2248    pub const WGPUWaitStatus_Force32: WGPUWaitStatus = WGPUWaitStatus(2147483647);
2249}
2250#[repr(transparent)]
2251#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2252pub struct WGPUWaitStatus(pub ::core::ffi::c_int);
2253impl WGPUWGSLLanguageFeatureName {
2254    pub const WGPUWGSLLanguageFeatureName_ReadonlyAndReadwriteStorageTextures:
2255        WGPUWGSLLanguageFeatureName = WGPUWGSLLanguageFeatureName(1);
2256}
2257impl WGPUWGSLLanguageFeatureName {
2258    pub const WGPUWGSLLanguageFeatureName_Packed4x8IntegerDotProduct: WGPUWGSLLanguageFeatureName =
2259        WGPUWGSLLanguageFeatureName(2);
2260}
2261impl WGPUWGSLLanguageFeatureName {
2262    pub const WGPUWGSLLanguageFeatureName_UnrestrictedPointerParameters:
2263        WGPUWGSLLanguageFeatureName = WGPUWGSLLanguageFeatureName(3);
2264}
2265impl WGPUWGSLLanguageFeatureName {
2266    pub const WGPUWGSLLanguageFeatureName_PointerCompositeAccess: WGPUWGSLLanguageFeatureName =
2267        WGPUWGSLLanguageFeatureName(4);
2268}
2269impl WGPUWGSLLanguageFeatureName {
2270    pub const WGPUWGSLLanguageFeatureName_SizedBindingArray: WGPUWGSLLanguageFeatureName =
2271        WGPUWGSLLanguageFeatureName(5);
2272}
2273impl WGPUWGSLLanguageFeatureName {
2274    pub const WGPUWGSLLanguageFeatureName_ChromiumTestingUnimplemented:
2275        WGPUWGSLLanguageFeatureName = WGPUWGSLLanguageFeatureName(327680);
2276}
2277impl WGPUWGSLLanguageFeatureName {
2278    pub const WGPUWGSLLanguageFeatureName_ChromiumTestingUnsafeExperimental:
2279        WGPUWGSLLanguageFeatureName = WGPUWGSLLanguageFeatureName(327681);
2280}
2281impl WGPUWGSLLanguageFeatureName {
2282    pub const WGPUWGSLLanguageFeatureName_ChromiumTestingExperimental: WGPUWGSLLanguageFeatureName =
2283        WGPUWGSLLanguageFeatureName(327682);
2284}
2285impl WGPUWGSLLanguageFeatureName {
2286    pub const WGPUWGSLLanguageFeatureName_ChromiumTestingShippedWithKillswitch:
2287        WGPUWGSLLanguageFeatureName = WGPUWGSLLanguageFeatureName(327683);
2288}
2289impl WGPUWGSLLanguageFeatureName {
2290    pub const WGPUWGSLLanguageFeatureName_ChromiumTestingShipped: WGPUWGSLLanguageFeatureName =
2291        WGPUWGSLLanguageFeatureName(327684);
2292}
2293impl WGPUWGSLLanguageFeatureName {
2294    pub const WGPUWGSLLanguageFeatureName_Force32: WGPUWGSLLanguageFeatureName =
2295        WGPUWGSLLanguageFeatureName(2147483647);
2296}
2297#[repr(transparent)]
2298#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2299pub struct WGPUWGSLLanguageFeatureName(pub ::core::ffi::c_int);
2300pub type WGPUBufferUsage = WGPUFlags;
2301pub const WGPUBufferUsage_None: WGPUBufferUsage = 0;
2302pub const WGPUBufferUsage_MapRead: WGPUBufferUsage = 1;
2303pub const WGPUBufferUsage_MapWrite: WGPUBufferUsage = 2;
2304pub const WGPUBufferUsage_CopySrc: WGPUBufferUsage = 4;
2305pub const WGPUBufferUsage_CopyDst: WGPUBufferUsage = 8;
2306pub const WGPUBufferUsage_Index: WGPUBufferUsage = 16;
2307pub const WGPUBufferUsage_Vertex: WGPUBufferUsage = 32;
2308pub const WGPUBufferUsage_Uniform: WGPUBufferUsage = 64;
2309pub const WGPUBufferUsage_Storage: WGPUBufferUsage = 128;
2310pub const WGPUBufferUsage_Indirect: WGPUBufferUsage = 256;
2311pub const WGPUBufferUsage_QueryResolve: WGPUBufferUsage = 512;
2312pub type WGPUColorWriteMask = WGPUFlags;
2313pub const WGPUColorWriteMask_None: WGPUColorWriteMask = 0;
2314pub const WGPUColorWriteMask_Red: WGPUColorWriteMask = 1;
2315pub const WGPUColorWriteMask_Green: WGPUColorWriteMask = 2;
2316pub const WGPUColorWriteMask_Blue: WGPUColorWriteMask = 4;
2317pub const WGPUColorWriteMask_Alpha: WGPUColorWriteMask = 8;
2318pub const WGPUColorWriteMask_All: WGPUColorWriteMask = 15;
2319pub type WGPUHeapProperty = WGPUFlags;
2320pub const WGPUHeapProperty_None: WGPUHeapProperty = 0;
2321pub const WGPUHeapProperty_DeviceLocal: WGPUHeapProperty = 1;
2322pub const WGPUHeapProperty_HostVisible: WGPUHeapProperty = 2;
2323pub const WGPUHeapProperty_HostCoherent: WGPUHeapProperty = 4;
2324pub const WGPUHeapProperty_HostUncached: WGPUHeapProperty = 8;
2325pub const WGPUHeapProperty_HostCached: WGPUHeapProperty = 16;
2326pub type WGPUMapMode = WGPUFlags;
2327pub const WGPUMapMode_None: WGPUMapMode = 0;
2328pub const WGPUMapMode_Read: WGPUMapMode = 1;
2329pub const WGPUMapMode_Write: WGPUMapMode = 2;
2330pub type WGPUShaderStage = WGPUFlags;
2331pub const WGPUShaderStage_None: WGPUShaderStage = 0;
2332pub const WGPUShaderStage_Vertex: WGPUShaderStage = 1;
2333pub const WGPUShaderStage_Fragment: WGPUShaderStage = 2;
2334pub const WGPUShaderStage_Compute: WGPUShaderStage = 4;
2335pub type WGPUTextureUsage = WGPUFlags;
2336pub const WGPUTextureUsage_None: WGPUTextureUsage = 0;
2337pub const WGPUTextureUsage_CopySrc: WGPUTextureUsage = 1;
2338pub const WGPUTextureUsage_CopyDst: WGPUTextureUsage = 2;
2339pub const WGPUTextureUsage_TextureBinding: WGPUTextureUsage = 4;
2340pub const WGPUTextureUsage_StorageBinding: WGPUTextureUsage = 8;
2341pub const WGPUTextureUsage_RenderAttachment: WGPUTextureUsage = 16;
2342pub const WGPUTextureUsage_TransientAttachment: WGPUTextureUsage = 32;
2343pub const WGPUTextureUsage_StorageAttachment: WGPUTextureUsage = 64;
2344pub type WGPUCallback =
2345    ::core::option::Option<unsafe extern "C" fn(userdata: *mut ::core::ffi::c_void)>;
2346pub type WGPUDawnLoadCacheDataFunction = ::core::option::Option<
2347    unsafe extern "C" fn(
2348        key: *const ::core::ffi::c_void,
2349        keySize: usize,
2350        value: *mut ::core::ffi::c_void,
2351        valueSize: usize,
2352        userdata: *mut ::core::ffi::c_void,
2353    ) -> usize,
2354>;
2355pub type WGPUDawnStoreCacheDataFunction = ::core::option::Option<
2356    unsafe extern "C" fn(
2357        key: *const ::core::ffi::c_void,
2358        keySize: usize,
2359        value: *const ::core::ffi::c_void,
2360        valueSize: usize,
2361        userdata: *mut ::core::ffi::c_void,
2362    ),
2363>;
2364pub type WGPUProc = ::core::option::Option<unsafe extern "C" fn()>;
2365pub type WGPUBufferMapCallback = ::core::option::Option<
2366    unsafe extern "C" fn(
2367        status: WGPUMapAsyncStatus,
2368        message: WGPUStringView,
2369        userdata1: *mut ::core::ffi::c_void,
2370        userdata2: *mut ::core::ffi::c_void,
2371    ),
2372>;
2373pub type WGPUCompilationInfoCallback = ::core::option::Option<
2374    unsafe extern "C" fn(
2375        status: WGPUCompilationInfoRequestStatus,
2376        compilationInfo: *const WGPUCompilationInfo,
2377        userdata1: *mut ::core::ffi::c_void,
2378        userdata2: *mut ::core::ffi::c_void,
2379    ),
2380>;
2381pub type WGPUCreateComputePipelineAsyncCallback = ::core::option::Option<
2382    unsafe extern "C" fn(
2383        status: WGPUCreatePipelineAsyncStatus,
2384        pipeline: WGPUComputePipeline,
2385        message: WGPUStringView,
2386        userdata1: *mut ::core::ffi::c_void,
2387        userdata2: *mut ::core::ffi::c_void,
2388    ),
2389>;
2390pub type WGPUCreateRenderPipelineAsyncCallback = ::core::option::Option<
2391    unsafe extern "C" fn(
2392        status: WGPUCreatePipelineAsyncStatus,
2393        pipeline: WGPURenderPipeline,
2394        message: WGPUStringView,
2395        userdata1: *mut ::core::ffi::c_void,
2396        userdata2: *mut ::core::ffi::c_void,
2397    ),
2398>;
2399pub type WGPUDeviceLostCallback = ::core::option::Option<
2400    unsafe extern "C" fn(
2401        device: *const WGPUDevice,
2402        reason: WGPUDeviceLostReason,
2403        message: WGPUStringView,
2404        userdata1: *mut ::core::ffi::c_void,
2405        userdata2: *mut ::core::ffi::c_void,
2406    ),
2407>;
2408pub type WGPULoggingCallback = ::core::option::Option<
2409    unsafe extern "C" fn(
2410        type_: WGPULoggingType,
2411        message: WGPUStringView,
2412        userdata1: *mut ::core::ffi::c_void,
2413        userdata2: *mut ::core::ffi::c_void,
2414    ),
2415>;
2416pub type WGPUPopErrorScopeCallback = ::core::option::Option<
2417    unsafe extern "C" fn(
2418        status: WGPUPopErrorScopeStatus,
2419        type_: WGPUErrorType,
2420        message: WGPUStringView,
2421        userdata1: *mut ::core::ffi::c_void,
2422        userdata2: *mut ::core::ffi::c_void,
2423    ),
2424>;
2425pub type WGPUQueueWorkDoneCallback = ::core::option::Option<
2426    unsafe extern "C" fn(
2427        status: WGPUQueueWorkDoneStatus,
2428        userdata1: *mut ::core::ffi::c_void,
2429        userdata2: *mut ::core::ffi::c_void,
2430    ),
2431>;
2432pub type WGPURequestAdapterCallback = ::core::option::Option<
2433    unsafe extern "C" fn(
2434        status: WGPURequestAdapterStatus,
2435        adapter: WGPUAdapter,
2436        message: WGPUStringView,
2437        userdata1: *mut ::core::ffi::c_void,
2438        userdata2: *mut ::core::ffi::c_void,
2439    ),
2440>;
2441pub type WGPURequestDeviceCallback = ::core::option::Option<
2442    unsafe extern "C" fn(
2443        status: WGPURequestDeviceStatus,
2444        device: WGPUDevice,
2445        message: WGPUStringView,
2446        userdata1: *mut ::core::ffi::c_void,
2447        userdata2: *mut ::core::ffi::c_void,
2448    ),
2449>;
2450pub type WGPUUncapturedErrorCallback = ::core::option::Option<
2451    unsafe extern "C" fn(
2452        device: *const WGPUDevice,
2453        type_: WGPUErrorType,
2454        message: WGPUStringView,
2455        userdata1: *mut ::core::ffi::c_void,
2456        userdata2: *mut ::core::ffi::c_void,
2457    ),
2458>;
2459#[repr(C)]
2460#[derive(Debug, Copy, Clone)]
2461pub struct WGPUChainedStruct {
2462    pub next: *mut WGPUChainedStruct,
2463    pub sType: WGPUSType,
2464}
2465#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2466const _: () = {
2467    ["Size of WGPUChainedStruct"][::core::mem::size_of::<WGPUChainedStruct>() - 16usize];
2468    ["Alignment of WGPUChainedStruct"][::core::mem::align_of::<WGPUChainedStruct>() - 8usize];
2469    ["Offset of field: WGPUChainedStruct::next"]
2470        [::core::mem::offset_of!(WGPUChainedStruct, next) - 0usize];
2471    ["Offset of field: WGPUChainedStruct::sType"]
2472        [::core::mem::offset_of!(WGPUChainedStruct, sType) - 8usize];
2473};
2474#[repr(C)]
2475#[derive(Debug, Copy, Clone)]
2476pub struct WGPUBufferMapCallbackInfo {
2477    pub nextInChain: *mut WGPUChainedStruct,
2478    pub mode: WGPUCallbackMode,
2479    pub callback: WGPUBufferMapCallback,
2480    pub userdata1: *mut ::core::ffi::c_void,
2481    pub userdata2: *mut ::core::ffi::c_void,
2482}
2483#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2484const _: () = {
2485    ["Size of WGPUBufferMapCallbackInfo"]
2486        [::core::mem::size_of::<WGPUBufferMapCallbackInfo>() - 40usize];
2487    ["Alignment of WGPUBufferMapCallbackInfo"]
2488        [::core::mem::align_of::<WGPUBufferMapCallbackInfo>() - 8usize];
2489    ["Offset of field: WGPUBufferMapCallbackInfo::nextInChain"]
2490        [::core::mem::offset_of!(WGPUBufferMapCallbackInfo, nextInChain) - 0usize];
2491    ["Offset of field: WGPUBufferMapCallbackInfo::mode"]
2492        [::core::mem::offset_of!(WGPUBufferMapCallbackInfo, mode) - 8usize];
2493    ["Offset of field: WGPUBufferMapCallbackInfo::callback"]
2494        [::core::mem::offset_of!(WGPUBufferMapCallbackInfo, callback) - 16usize];
2495    ["Offset of field: WGPUBufferMapCallbackInfo::userdata1"]
2496        [::core::mem::offset_of!(WGPUBufferMapCallbackInfo, userdata1) - 24usize];
2497    ["Offset of field: WGPUBufferMapCallbackInfo::userdata2"]
2498        [::core::mem::offset_of!(WGPUBufferMapCallbackInfo, userdata2) - 32usize];
2499};
2500#[repr(C)]
2501#[derive(Debug, Copy, Clone)]
2502pub struct WGPUCompilationInfoCallbackInfo {
2503    pub nextInChain: *mut WGPUChainedStruct,
2504    pub mode: WGPUCallbackMode,
2505    pub callback: WGPUCompilationInfoCallback,
2506    pub userdata1: *mut ::core::ffi::c_void,
2507    pub userdata2: *mut ::core::ffi::c_void,
2508}
2509#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2510const _: () = {
2511    ["Size of WGPUCompilationInfoCallbackInfo"]
2512        [::core::mem::size_of::<WGPUCompilationInfoCallbackInfo>() - 40usize];
2513    ["Alignment of WGPUCompilationInfoCallbackInfo"]
2514        [::core::mem::align_of::<WGPUCompilationInfoCallbackInfo>() - 8usize];
2515    ["Offset of field: WGPUCompilationInfoCallbackInfo::nextInChain"]
2516        [::core::mem::offset_of!(WGPUCompilationInfoCallbackInfo, nextInChain) - 0usize];
2517    ["Offset of field: WGPUCompilationInfoCallbackInfo::mode"]
2518        [::core::mem::offset_of!(WGPUCompilationInfoCallbackInfo, mode) - 8usize];
2519    ["Offset of field: WGPUCompilationInfoCallbackInfo::callback"]
2520        [::core::mem::offset_of!(WGPUCompilationInfoCallbackInfo, callback) - 16usize];
2521    ["Offset of field: WGPUCompilationInfoCallbackInfo::userdata1"]
2522        [::core::mem::offset_of!(WGPUCompilationInfoCallbackInfo, userdata1) - 24usize];
2523    ["Offset of field: WGPUCompilationInfoCallbackInfo::userdata2"]
2524        [::core::mem::offset_of!(WGPUCompilationInfoCallbackInfo, userdata2) - 32usize];
2525};
2526#[repr(C)]
2527#[derive(Debug, Copy, Clone)]
2528pub struct WGPUCreateComputePipelineAsyncCallbackInfo {
2529    pub nextInChain: *mut WGPUChainedStruct,
2530    pub mode: WGPUCallbackMode,
2531    pub callback: WGPUCreateComputePipelineAsyncCallback,
2532    pub userdata1: *mut ::core::ffi::c_void,
2533    pub userdata2: *mut ::core::ffi::c_void,
2534}
2535#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2536const _: () = {
2537    ["Size of WGPUCreateComputePipelineAsyncCallbackInfo"]
2538        [::core::mem::size_of::<WGPUCreateComputePipelineAsyncCallbackInfo>() - 40usize];
2539    ["Alignment of WGPUCreateComputePipelineAsyncCallbackInfo"]
2540        [::core::mem::align_of::<WGPUCreateComputePipelineAsyncCallbackInfo>() - 8usize];
2541    ["Offset of field: WGPUCreateComputePipelineAsyncCallbackInfo::nextInChain"]
2542        [::core::mem::offset_of!(WGPUCreateComputePipelineAsyncCallbackInfo, nextInChain) - 0usize];
2543    ["Offset of field: WGPUCreateComputePipelineAsyncCallbackInfo::mode"]
2544        [::core::mem::offset_of!(WGPUCreateComputePipelineAsyncCallbackInfo, mode) - 8usize];
2545    ["Offset of field: WGPUCreateComputePipelineAsyncCallbackInfo::callback"]
2546        [::core::mem::offset_of!(WGPUCreateComputePipelineAsyncCallbackInfo, callback) - 16usize];
2547    ["Offset of field: WGPUCreateComputePipelineAsyncCallbackInfo::userdata1"]
2548        [::core::mem::offset_of!(WGPUCreateComputePipelineAsyncCallbackInfo, userdata1) - 24usize];
2549    ["Offset of field: WGPUCreateComputePipelineAsyncCallbackInfo::userdata2"]
2550        [::core::mem::offset_of!(WGPUCreateComputePipelineAsyncCallbackInfo, userdata2) - 32usize];
2551};
2552#[repr(C)]
2553#[derive(Debug, Copy, Clone)]
2554pub struct WGPUCreateRenderPipelineAsyncCallbackInfo {
2555    pub nextInChain: *mut WGPUChainedStruct,
2556    pub mode: WGPUCallbackMode,
2557    pub callback: WGPUCreateRenderPipelineAsyncCallback,
2558    pub userdata1: *mut ::core::ffi::c_void,
2559    pub userdata2: *mut ::core::ffi::c_void,
2560}
2561#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2562const _: () = {
2563    ["Size of WGPUCreateRenderPipelineAsyncCallbackInfo"]
2564        [::core::mem::size_of::<WGPUCreateRenderPipelineAsyncCallbackInfo>() - 40usize];
2565    ["Alignment of WGPUCreateRenderPipelineAsyncCallbackInfo"]
2566        [::core::mem::align_of::<WGPUCreateRenderPipelineAsyncCallbackInfo>() - 8usize];
2567    ["Offset of field: WGPUCreateRenderPipelineAsyncCallbackInfo::nextInChain"]
2568        [::core::mem::offset_of!(WGPUCreateRenderPipelineAsyncCallbackInfo, nextInChain) - 0usize];
2569    ["Offset of field: WGPUCreateRenderPipelineAsyncCallbackInfo::mode"]
2570        [::core::mem::offset_of!(WGPUCreateRenderPipelineAsyncCallbackInfo, mode) - 8usize];
2571    ["Offset of field: WGPUCreateRenderPipelineAsyncCallbackInfo::callback"]
2572        [::core::mem::offset_of!(WGPUCreateRenderPipelineAsyncCallbackInfo, callback) - 16usize];
2573    ["Offset of field: WGPUCreateRenderPipelineAsyncCallbackInfo::userdata1"]
2574        [::core::mem::offset_of!(WGPUCreateRenderPipelineAsyncCallbackInfo, userdata1) - 24usize];
2575    ["Offset of field: WGPUCreateRenderPipelineAsyncCallbackInfo::userdata2"]
2576        [::core::mem::offset_of!(WGPUCreateRenderPipelineAsyncCallbackInfo, userdata2) - 32usize];
2577};
2578#[repr(C)]
2579#[derive(Debug, Copy, Clone)]
2580pub struct WGPUDeviceLostCallbackInfo {
2581    pub nextInChain: *mut WGPUChainedStruct,
2582    pub mode: WGPUCallbackMode,
2583    pub callback: WGPUDeviceLostCallback,
2584    pub userdata1: *mut ::core::ffi::c_void,
2585    pub userdata2: *mut ::core::ffi::c_void,
2586}
2587#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2588const _: () = {
2589    ["Size of WGPUDeviceLostCallbackInfo"]
2590        [::core::mem::size_of::<WGPUDeviceLostCallbackInfo>() - 40usize];
2591    ["Alignment of WGPUDeviceLostCallbackInfo"]
2592        [::core::mem::align_of::<WGPUDeviceLostCallbackInfo>() - 8usize];
2593    ["Offset of field: WGPUDeviceLostCallbackInfo::nextInChain"]
2594        [::core::mem::offset_of!(WGPUDeviceLostCallbackInfo, nextInChain) - 0usize];
2595    ["Offset of field: WGPUDeviceLostCallbackInfo::mode"]
2596        [::core::mem::offset_of!(WGPUDeviceLostCallbackInfo, mode) - 8usize];
2597    ["Offset of field: WGPUDeviceLostCallbackInfo::callback"]
2598        [::core::mem::offset_of!(WGPUDeviceLostCallbackInfo, callback) - 16usize];
2599    ["Offset of field: WGPUDeviceLostCallbackInfo::userdata1"]
2600        [::core::mem::offset_of!(WGPUDeviceLostCallbackInfo, userdata1) - 24usize];
2601    ["Offset of field: WGPUDeviceLostCallbackInfo::userdata2"]
2602        [::core::mem::offset_of!(WGPUDeviceLostCallbackInfo, userdata2) - 32usize];
2603};
2604#[repr(C)]
2605#[derive(Debug, Copy, Clone)]
2606pub struct WGPULoggingCallbackInfo {
2607    pub nextInChain: *mut WGPUChainedStruct,
2608    pub callback: WGPULoggingCallback,
2609    pub userdata1: *mut ::core::ffi::c_void,
2610    pub userdata2: *mut ::core::ffi::c_void,
2611}
2612#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2613const _: () = {
2614    ["Size of WGPULoggingCallbackInfo"]
2615        [::core::mem::size_of::<WGPULoggingCallbackInfo>() - 32usize];
2616    ["Alignment of WGPULoggingCallbackInfo"]
2617        [::core::mem::align_of::<WGPULoggingCallbackInfo>() - 8usize];
2618    ["Offset of field: WGPULoggingCallbackInfo::nextInChain"]
2619        [::core::mem::offset_of!(WGPULoggingCallbackInfo, nextInChain) - 0usize];
2620    ["Offset of field: WGPULoggingCallbackInfo::callback"]
2621        [::core::mem::offset_of!(WGPULoggingCallbackInfo, callback) - 8usize];
2622    ["Offset of field: WGPULoggingCallbackInfo::userdata1"]
2623        [::core::mem::offset_of!(WGPULoggingCallbackInfo, userdata1) - 16usize];
2624    ["Offset of field: WGPULoggingCallbackInfo::userdata2"]
2625        [::core::mem::offset_of!(WGPULoggingCallbackInfo, userdata2) - 24usize];
2626};
2627#[repr(C)]
2628#[derive(Debug, Copy, Clone)]
2629pub struct WGPUPopErrorScopeCallbackInfo {
2630    pub nextInChain: *mut WGPUChainedStruct,
2631    pub mode: WGPUCallbackMode,
2632    pub callback: WGPUPopErrorScopeCallback,
2633    pub userdata1: *mut ::core::ffi::c_void,
2634    pub userdata2: *mut ::core::ffi::c_void,
2635}
2636#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2637const _: () = {
2638    ["Size of WGPUPopErrorScopeCallbackInfo"]
2639        [::core::mem::size_of::<WGPUPopErrorScopeCallbackInfo>() - 40usize];
2640    ["Alignment of WGPUPopErrorScopeCallbackInfo"]
2641        [::core::mem::align_of::<WGPUPopErrorScopeCallbackInfo>() - 8usize];
2642    ["Offset of field: WGPUPopErrorScopeCallbackInfo::nextInChain"]
2643        [::core::mem::offset_of!(WGPUPopErrorScopeCallbackInfo, nextInChain) - 0usize];
2644    ["Offset of field: WGPUPopErrorScopeCallbackInfo::mode"]
2645        [::core::mem::offset_of!(WGPUPopErrorScopeCallbackInfo, mode) - 8usize];
2646    ["Offset of field: WGPUPopErrorScopeCallbackInfo::callback"]
2647        [::core::mem::offset_of!(WGPUPopErrorScopeCallbackInfo, callback) - 16usize];
2648    ["Offset of field: WGPUPopErrorScopeCallbackInfo::userdata1"]
2649        [::core::mem::offset_of!(WGPUPopErrorScopeCallbackInfo, userdata1) - 24usize];
2650    ["Offset of field: WGPUPopErrorScopeCallbackInfo::userdata2"]
2651        [::core::mem::offset_of!(WGPUPopErrorScopeCallbackInfo, userdata2) - 32usize];
2652};
2653#[repr(C)]
2654#[derive(Debug, Copy, Clone)]
2655pub struct WGPUQueueWorkDoneCallbackInfo {
2656    pub nextInChain: *mut WGPUChainedStruct,
2657    pub mode: WGPUCallbackMode,
2658    pub callback: WGPUQueueWorkDoneCallback,
2659    pub userdata1: *mut ::core::ffi::c_void,
2660    pub userdata2: *mut ::core::ffi::c_void,
2661}
2662#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2663const _: () = {
2664    ["Size of WGPUQueueWorkDoneCallbackInfo"]
2665        [::core::mem::size_of::<WGPUQueueWorkDoneCallbackInfo>() - 40usize];
2666    ["Alignment of WGPUQueueWorkDoneCallbackInfo"]
2667        [::core::mem::align_of::<WGPUQueueWorkDoneCallbackInfo>() - 8usize];
2668    ["Offset of field: WGPUQueueWorkDoneCallbackInfo::nextInChain"]
2669        [::core::mem::offset_of!(WGPUQueueWorkDoneCallbackInfo, nextInChain) - 0usize];
2670    ["Offset of field: WGPUQueueWorkDoneCallbackInfo::mode"]
2671        [::core::mem::offset_of!(WGPUQueueWorkDoneCallbackInfo, mode) - 8usize];
2672    ["Offset of field: WGPUQueueWorkDoneCallbackInfo::callback"]
2673        [::core::mem::offset_of!(WGPUQueueWorkDoneCallbackInfo, callback) - 16usize];
2674    ["Offset of field: WGPUQueueWorkDoneCallbackInfo::userdata1"]
2675        [::core::mem::offset_of!(WGPUQueueWorkDoneCallbackInfo, userdata1) - 24usize];
2676    ["Offset of field: WGPUQueueWorkDoneCallbackInfo::userdata2"]
2677        [::core::mem::offset_of!(WGPUQueueWorkDoneCallbackInfo, userdata2) - 32usize];
2678};
2679#[repr(C)]
2680#[derive(Debug, Copy, Clone)]
2681pub struct WGPURequestAdapterCallbackInfo {
2682    pub nextInChain: *mut WGPUChainedStruct,
2683    pub mode: WGPUCallbackMode,
2684    pub callback: WGPURequestAdapterCallback,
2685    pub userdata1: *mut ::core::ffi::c_void,
2686    pub userdata2: *mut ::core::ffi::c_void,
2687}
2688#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2689const _: () = {
2690    ["Size of WGPURequestAdapterCallbackInfo"]
2691        [::core::mem::size_of::<WGPURequestAdapterCallbackInfo>() - 40usize];
2692    ["Alignment of WGPURequestAdapterCallbackInfo"]
2693        [::core::mem::align_of::<WGPURequestAdapterCallbackInfo>() - 8usize];
2694    ["Offset of field: WGPURequestAdapterCallbackInfo::nextInChain"]
2695        [::core::mem::offset_of!(WGPURequestAdapterCallbackInfo, nextInChain) - 0usize];
2696    ["Offset of field: WGPURequestAdapterCallbackInfo::mode"]
2697        [::core::mem::offset_of!(WGPURequestAdapterCallbackInfo, mode) - 8usize];
2698    ["Offset of field: WGPURequestAdapterCallbackInfo::callback"]
2699        [::core::mem::offset_of!(WGPURequestAdapterCallbackInfo, callback) - 16usize];
2700    ["Offset of field: WGPURequestAdapterCallbackInfo::userdata1"]
2701        [::core::mem::offset_of!(WGPURequestAdapterCallbackInfo, userdata1) - 24usize];
2702    ["Offset of field: WGPURequestAdapterCallbackInfo::userdata2"]
2703        [::core::mem::offset_of!(WGPURequestAdapterCallbackInfo, userdata2) - 32usize];
2704};
2705#[repr(C)]
2706#[derive(Debug, Copy, Clone)]
2707pub struct WGPURequestDeviceCallbackInfo {
2708    pub nextInChain: *mut WGPUChainedStruct,
2709    pub mode: WGPUCallbackMode,
2710    pub callback: WGPURequestDeviceCallback,
2711    pub userdata1: *mut ::core::ffi::c_void,
2712    pub userdata2: *mut ::core::ffi::c_void,
2713}
2714#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2715const _: () = {
2716    ["Size of WGPURequestDeviceCallbackInfo"]
2717        [::core::mem::size_of::<WGPURequestDeviceCallbackInfo>() - 40usize];
2718    ["Alignment of WGPURequestDeviceCallbackInfo"]
2719        [::core::mem::align_of::<WGPURequestDeviceCallbackInfo>() - 8usize];
2720    ["Offset of field: WGPURequestDeviceCallbackInfo::nextInChain"]
2721        [::core::mem::offset_of!(WGPURequestDeviceCallbackInfo, nextInChain) - 0usize];
2722    ["Offset of field: WGPURequestDeviceCallbackInfo::mode"]
2723        [::core::mem::offset_of!(WGPURequestDeviceCallbackInfo, mode) - 8usize];
2724    ["Offset of field: WGPURequestDeviceCallbackInfo::callback"]
2725        [::core::mem::offset_of!(WGPURequestDeviceCallbackInfo, callback) - 16usize];
2726    ["Offset of field: WGPURequestDeviceCallbackInfo::userdata1"]
2727        [::core::mem::offset_of!(WGPURequestDeviceCallbackInfo, userdata1) - 24usize];
2728    ["Offset of field: WGPURequestDeviceCallbackInfo::userdata2"]
2729        [::core::mem::offset_of!(WGPURequestDeviceCallbackInfo, userdata2) - 32usize];
2730};
2731#[repr(C)]
2732#[derive(Debug, Copy, Clone)]
2733pub struct WGPUUncapturedErrorCallbackInfo {
2734    pub nextInChain: *mut WGPUChainedStruct,
2735    pub callback: WGPUUncapturedErrorCallback,
2736    pub userdata1: *mut ::core::ffi::c_void,
2737    pub userdata2: *mut ::core::ffi::c_void,
2738}
2739#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2740const _: () = {
2741    ["Size of WGPUUncapturedErrorCallbackInfo"]
2742        [::core::mem::size_of::<WGPUUncapturedErrorCallbackInfo>() - 32usize];
2743    ["Alignment of WGPUUncapturedErrorCallbackInfo"]
2744        [::core::mem::align_of::<WGPUUncapturedErrorCallbackInfo>() - 8usize];
2745    ["Offset of field: WGPUUncapturedErrorCallbackInfo::nextInChain"]
2746        [::core::mem::offset_of!(WGPUUncapturedErrorCallbackInfo, nextInChain) - 0usize];
2747    ["Offset of field: WGPUUncapturedErrorCallbackInfo::callback"]
2748        [::core::mem::offset_of!(WGPUUncapturedErrorCallbackInfo, callback) - 8usize];
2749    ["Offset of field: WGPUUncapturedErrorCallbackInfo::userdata1"]
2750        [::core::mem::offset_of!(WGPUUncapturedErrorCallbackInfo, userdata1) - 16usize];
2751    ["Offset of field: WGPUUncapturedErrorCallbackInfo::userdata2"]
2752        [::core::mem::offset_of!(WGPUUncapturedErrorCallbackInfo, userdata2) - 24usize];
2753};
2754#[repr(C)]
2755#[derive(Debug, Copy, Clone)]
2756pub struct WGPUAdapterPropertiesD3D {
2757    pub chain: WGPUChainedStruct,
2758    pub shaderModel: u32,
2759}
2760#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2761const _: () = {
2762    ["Size of WGPUAdapterPropertiesD3D"]
2763        [::core::mem::size_of::<WGPUAdapterPropertiesD3D>() - 24usize];
2764    ["Alignment of WGPUAdapterPropertiesD3D"]
2765        [::core::mem::align_of::<WGPUAdapterPropertiesD3D>() - 8usize];
2766    ["Offset of field: WGPUAdapterPropertiesD3D::chain"]
2767        [::core::mem::offset_of!(WGPUAdapterPropertiesD3D, chain) - 0usize];
2768    ["Offset of field: WGPUAdapterPropertiesD3D::shaderModel"]
2769        [::core::mem::offset_of!(WGPUAdapterPropertiesD3D, shaderModel) - 16usize];
2770};
2771#[repr(C)]
2772#[derive(Debug, Copy, Clone)]
2773pub struct WGPUAdapterPropertiesSubgroups {
2774    pub chain: WGPUChainedStruct,
2775    pub subgroupMinSize: u32,
2776    pub subgroupMaxSize: u32,
2777}
2778#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2779const _: () = {
2780    ["Size of WGPUAdapterPropertiesSubgroups"]
2781        [::core::mem::size_of::<WGPUAdapterPropertiesSubgroups>() - 24usize];
2782    ["Alignment of WGPUAdapterPropertiesSubgroups"]
2783        [::core::mem::align_of::<WGPUAdapterPropertiesSubgroups>() - 8usize];
2784    ["Offset of field: WGPUAdapterPropertiesSubgroups::chain"]
2785        [::core::mem::offset_of!(WGPUAdapterPropertiesSubgroups, chain) - 0usize];
2786    ["Offset of field: WGPUAdapterPropertiesSubgroups::subgroupMinSize"]
2787        [::core::mem::offset_of!(WGPUAdapterPropertiesSubgroups, subgroupMinSize) - 16usize];
2788    ["Offset of field: WGPUAdapterPropertiesSubgroups::subgroupMaxSize"]
2789        [::core::mem::offset_of!(WGPUAdapterPropertiesSubgroups, subgroupMaxSize) - 20usize];
2790};
2791#[repr(C)]
2792#[derive(Debug, Copy, Clone)]
2793pub struct WGPUAdapterPropertiesVk {
2794    pub chain: WGPUChainedStruct,
2795    pub driverVersion: u32,
2796}
2797#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2798const _: () = {
2799    ["Size of WGPUAdapterPropertiesVk"]
2800        [::core::mem::size_of::<WGPUAdapterPropertiesVk>() - 24usize];
2801    ["Alignment of WGPUAdapterPropertiesVk"]
2802        [::core::mem::align_of::<WGPUAdapterPropertiesVk>() - 8usize];
2803    ["Offset of field: WGPUAdapterPropertiesVk::chain"]
2804        [::core::mem::offset_of!(WGPUAdapterPropertiesVk, chain) - 0usize];
2805    ["Offset of field: WGPUAdapterPropertiesVk::driverVersion"]
2806        [::core::mem::offset_of!(WGPUAdapterPropertiesVk, driverVersion) - 16usize];
2807};
2808#[repr(C)]
2809#[derive(Debug, Copy, Clone)]
2810pub struct WGPUBindGroupLayoutEntryArraySize {
2811    pub chain: WGPUChainedStruct,
2812    pub arraySize: u32,
2813}
2814#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2815const _: () = {
2816    ["Size of WGPUBindGroupLayoutEntryArraySize"]
2817        [::core::mem::size_of::<WGPUBindGroupLayoutEntryArraySize>() - 24usize];
2818    ["Alignment of WGPUBindGroupLayoutEntryArraySize"]
2819        [::core::mem::align_of::<WGPUBindGroupLayoutEntryArraySize>() - 8usize];
2820    ["Offset of field: WGPUBindGroupLayoutEntryArraySize::chain"]
2821        [::core::mem::offset_of!(WGPUBindGroupLayoutEntryArraySize, chain) - 0usize];
2822    ["Offset of field: WGPUBindGroupLayoutEntryArraySize::arraySize"]
2823        [::core::mem::offset_of!(WGPUBindGroupLayoutEntryArraySize, arraySize) - 16usize];
2824};
2825#[repr(C)]
2826#[derive(Debug, Copy, Clone)]
2827pub struct WGPUBlendComponent {
2828    pub operation: WGPUBlendOperation,
2829    pub srcFactor: WGPUBlendFactor,
2830    pub dstFactor: WGPUBlendFactor,
2831}
2832#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2833const _: () = {
2834    ["Size of WGPUBlendComponent"][::core::mem::size_of::<WGPUBlendComponent>() - 12usize];
2835    ["Alignment of WGPUBlendComponent"][::core::mem::align_of::<WGPUBlendComponent>() - 4usize];
2836    ["Offset of field: WGPUBlendComponent::operation"]
2837        [::core::mem::offset_of!(WGPUBlendComponent, operation) - 0usize];
2838    ["Offset of field: WGPUBlendComponent::srcFactor"]
2839        [::core::mem::offset_of!(WGPUBlendComponent, srcFactor) - 4usize];
2840    ["Offset of field: WGPUBlendComponent::dstFactor"]
2841        [::core::mem::offset_of!(WGPUBlendComponent, dstFactor) - 8usize];
2842};
2843#[repr(C)]
2844#[derive(Debug, Copy, Clone)]
2845pub struct WGPUBufferBindingLayout {
2846    pub nextInChain: *mut WGPUChainedStruct,
2847    pub type_: WGPUBufferBindingType,
2848    pub hasDynamicOffset: WGPUBool,
2849    pub minBindingSize: u64,
2850}
2851#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2852const _: () = {
2853    ["Size of WGPUBufferBindingLayout"]
2854        [::core::mem::size_of::<WGPUBufferBindingLayout>() - 24usize];
2855    ["Alignment of WGPUBufferBindingLayout"]
2856        [::core::mem::align_of::<WGPUBufferBindingLayout>() - 8usize];
2857    ["Offset of field: WGPUBufferBindingLayout::nextInChain"]
2858        [::core::mem::offset_of!(WGPUBufferBindingLayout, nextInChain) - 0usize];
2859    ["Offset of field: WGPUBufferBindingLayout::type_"]
2860        [::core::mem::offset_of!(WGPUBufferBindingLayout, type_) - 8usize];
2861    ["Offset of field: WGPUBufferBindingLayout::hasDynamicOffset"]
2862        [::core::mem::offset_of!(WGPUBufferBindingLayout, hasDynamicOffset) - 12usize];
2863    ["Offset of field: WGPUBufferBindingLayout::minBindingSize"]
2864        [::core::mem::offset_of!(WGPUBufferBindingLayout, minBindingSize) - 16usize];
2865};
2866#[repr(C)]
2867#[derive(Debug, Copy, Clone)]
2868pub struct WGPUBufferHostMappedPointer {
2869    pub chain: WGPUChainedStruct,
2870    pub pointer: *mut ::core::ffi::c_void,
2871    pub disposeCallback: WGPUCallback,
2872    pub userdata: *mut ::core::ffi::c_void,
2873}
2874#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2875const _: () = {
2876    ["Size of WGPUBufferHostMappedPointer"]
2877        [::core::mem::size_of::<WGPUBufferHostMappedPointer>() - 40usize];
2878    ["Alignment of WGPUBufferHostMappedPointer"]
2879        [::core::mem::align_of::<WGPUBufferHostMappedPointer>() - 8usize];
2880    ["Offset of field: WGPUBufferHostMappedPointer::chain"]
2881        [::core::mem::offset_of!(WGPUBufferHostMappedPointer, chain) - 0usize];
2882    ["Offset of field: WGPUBufferHostMappedPointer::pointer"]
2883        [::core::mem::offset_of!(WGPUBufferHostMappedPointer, pointer) - 16usize];
2884    ["Offset of field: WGPUBufferHostMappedPointer::disposeCallback"]
2885        [::core::mem::offset_of!(WGPUBufferHostMappedPointer, disposeCallback) - 24usize];
2886    ["Offset of field: WGPUBufferHostMappedPointer::userdata"]
2887        [::core::mem::offset_of!(WGPUBufferHostMappedPointer, userdata) - 32usize];
2888};
2889#[repr(C)]
2890#[derive(Debug, Copy, Clone)]
2891pub struct WGPUColor {
2892    pub r: f64,
2893    pub g: f64,
2894    pub b: f64,
2895    pub a: f64,
2896}
2897#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2898const _: () = {
2899    ["Size of WGPUColor"][::core::mem::size_of::<WGPUColor>() - 32usize];
2900    ["Alignment of WGPUColor"][::core::mem::align_of::<WGPUColor>() - 8usize];
2901    ["Offset of field: WGPUColor::r"][::core::mem::offset_of!(WGPUColor, r) - 0usize];
2902    ["Offset of field: WGPUColor::g"][::core::mem::offset_of!(WGPUColor, g) - 8usize];
2903    ["Offset of field: WGPUColor::b"][::core::mem::offset_of!(WGPUColor, b) - 16usize];
2904    ["Offset of field: WGPUColor::a"][::core::mem::offset_of!(WGPUColor, a) - 24usize];
2905};
2906#[repr(C)]
2907#[derive(Debug, Copy, Clone)]
2908pub struct WGPUColorTargetStateExpandResolveTextureDawn {
2909    pub chain: WGPUChainedStruct,
2910    pub enabled: WGPUBool,
2911}
2912#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2913const _: () = {
2914    ["Size of WGPUColorTargetStateExpandResolveTextureDawn"]
2915        [::core::mem::size_of::<WGPUColorTargetStateExpandResolveTextureDawn>() - 24usize];
2916    ["Alignment of WGPUColorTargetStateExpandResolveTextureDawn"]
2917        [::core::mem::align_of::<WGPUColorTargetStateExpandResolveTextureDawn>() - 8usize];
2918    ["Offset of field: WGPUColorTargetStateExpandResolveTextureDawn::chain"]
2919        [::core::mem::offset_of!(WGPUColorTargetStateExpandResolveTextureDawn, chain) - 0usize];
2920    ["Offset of field: WGPUColorTargetStateExpandResolveTextureDawn::enabled"]
2921        [::core::mem::offset_of!(WGPUColorTargetStateExpandResolveTextureDawn, enabled) - 16usize];
2922};
2923#[repr(C)]
2924#[derive(Debug, Copy, Clone)]
2925pub struct WGPUCommandBufferDescriptor {
2926    pub nextInChain: *mut WGPUChainedStruct,
2927    pub label: WGPUStringView,
2928}
2929#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2930const _: () = {
2931    ["Size of WGPUCommandBufferDescriptor"]
2932        [::core::mem::size_of::<WGPUCommandBufferDescriptor>() - 24usize];
2933    ["Alignment of WGPUCommandBufferDescriptor"]
2934        [::core::mem::align_of::<WGPUCommandBufferDescriptor>() - 8usize];
2935    ["Offset of field: WGPUCommandBufferDescriptor::nextInChain"]
2936        [::core::mem::offset_of!(WGPUCommandBufferDescriptor, nextInChain) - 0usize];
2937    ["Offset of field: WGPUCommandBufferDescriptor::label"]
2938        [::core::mem::offset_of!(WGPUCommandBufferDescriptor, label) - 8usize];
2939};
2940#[repr(C)]
2941#[derive(Debug, Copy, Clone)]
2942pub struct WGPUConstantEntry {
2943    pub nextInChain: *mut WGPUChainedStruct,
2944    pub key: WGPUStringView,
2945    pub value: f64,
2946}
2947#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2948const _: () = {
2949    ["Size of WGPUConstantEntry"][::core::mem::size_of::<WGPUConstantEntry>() - 32usize];
2950    ["Alignment of WGPUConstantEntry"][::core::mem::align_of::<WGPUConstantEntry>() - 8usize];
2951    ["Offset of field: WGPUConstantEntry::nextInChain"]
2952        [::core::mem::offset_of!(WGPUConstantEntry, nextInChain) - 0usize];
2953    ["Offset of field: WGPUConstantEntry::key"]
2954        [::core::mem::offset_of!(WGPUConstantEntry, key) - 8usize];
2955    ["Offset of field: WGPUConstantEntry::value"]
2956        [::core::mem::offset_of!(WGPUConstantEntry, value) - 24usize];
2957};
2958#[repr(C)]
2959#[derive(Debug, Copy, Clone)]
2960pub struct WGPUCopyTextureForBrowserOptions {
2961    pub nextInChain: *mut WGPUChainedStruct,
2962    pub flipY: WGPUBool,
2963    pub needsColorSpaceConversion: WGPUBool,
2964    pub srcAlphaMode: WGPUAlphaMode,
2965    pub srcTransferFunctionParameters: *const f32,
2966    pub conversionMatrix: *const f32,
2967    pub dstTransferFunctionParameters: *const f32,
2968    pub dstAlphaMode: WGPUAlphaMode,
2969    pub internalUsage: WGPUBool,
2970}
2971#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2972const _: () = {
2973    ["Size of WGPUCopyTextureForBrowserOptions"]
2974        [::core::mem::size_of::<WGPUCopyTextureForBrowserOptions>() - 56usize];
2975    ["Alignment of WGPUCopyTextureForBrowserOptions"]
2976        [::core::mem::align_of::<WGPUCopyTextureForBrowserOptions>() - 8usize];
2977    ["Offset of field: WGPUCopyTextureForBrowserOptions::nextInChain"]
2978        [::core::mem::offset_of!(WGPUCopyTextureForBrowserOptions, nextInChain) - 0usize];
2979    ["Offset of field: WGPUCopyTextureForBrowserOptions::flipY"]
2980        [::core::mem::offset_of!(WGPUCopyTextureForBrowserOptions, flipY) - 8usize];
2981    ["Offset of field: WGPUCopyTextureForBrowserOptions::needsColorSpaceConversion"][::core::mem::offset_of!(
2982        WGPUCopyTextureForBrowserOptions,
2983        needsColorSpaceConversion
2984    ) - 12usize];
2985    ["Offset of field: WGPUCopyTextureForBrowserOptions::srcAlphaMode"]
2986        [::core::mem::offset_of!(WGPUCopyTextureForBrowserOptions, srcAlphaMode) - 16usize];
2987    ["Offset of field: WGPUCopyTextureForBrowserOptions::srcTransferFunctionParameters"][::core::mem::offset_of!(
2988        WGPUCopyTextureForBrowserOptions,
2989        srcTransferFunctionParameters
2990    )
2991        - 24usize];
2992    ["Offset of field: WGPUCopyTextureForBrowserOptions::conversionMatrix"]
2993        [::core::mem::offset_of!(WGPUCopyTextureForBrowserOptions, conversionMatrix) - 32usize];
2994    ["Offset of field: WGPUCopyTextureForBrowserOptions::dstTransferFunctionParameters"][::core::mem::offset_of!(
2995        WGPUCopyTextureForBrowserOptions,
2996        dstTransferFunctionParameters
2997    )
2998        - 40usize];
2999    ["Offset of field: WGPUCopyTextureForBrowserOptions::dstAlphaMode"]
3000        [::core::mem::offset_of!(WGPUCopyTextureForBrowserOptions, dstAlphaMode) - 48usize];
3001    ["Offset of field: WGPUCopyTextureForBrowserOptions::internalUsage"]
3002        [::core::mem::offset_of!(WGPUCopyTextureForBrowserOptions, internalUsage) - 52usize];
3003};
3004#[repr(C)]
3005#[derive(Debug, Copy, Clone)]
3006pub struct WGPUDawnAdapterPropertiesPowerPreference {
3007    pub chain: WGPUChainedStruct,
3008    pub powerPreference: WGPUPowerPreference,
3009}
3010#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3011const _: () = {
3012    ["Size of WGPUDawnAdapterPropertiesPowerPreference"]
3013        [::core::mem::size_of::<WGPUDawnAdapterPropertiesPowerPreference>() - 24usize];
3014    ["Alignment of WGPUDawnAdapterPropertiesPowerPreference"]
3015        [::core::mem::align_of::<WGPUDawnAdapterPropertiesPowerPreference>() - 8usize];
3016    ["Offset of field: WGPUDawnAdapterPropertiesPowerPreference::chain"]
3017        [::core::mem::offset_of!(WGPUDawnAdapterPropertiesPowerPreference, chain) - 0usize];
3018    ["Offset of field: WGPUDawnAdapterPropertiesPowerPreference::powerPreference"][::core::mem::offset_of!(
3019        WGPUDawnAdapterPropertiesPowerPreference,
3020        powerPreference
3021    ) - 16usize];
3022};
3023#[repr(C)]
3024#[derive(Debug, Copy, Clone)]
3025pub struct WGPUDawnBufferDescriptorErrorInfoFromWireClient {
3026    pub chain: WGPUChainedStruct,
3027    pub outOfMemory: WGPUBool,
3028}
3029#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3030const _: () = {
3031    ["Size of WGPUDawnBufferDescriptorErrorInfoFromWireClient"]
3032        [::core::mem::size_of::<WGPUDawnBufferDescriptorErrorInfoFromWireClient>() - 24usize];
3033    ["Alignment of WGPUDawnBufferDescriptorErrorInfoFromWireClient"]
3034        [::core::mem::align_of::<WGPUDawnBufferDescriptorErrorInfoFromWireClient>() - 8usize];
3035    ["Offset of field: WGPUDawnBufferDescriptorErrorInfoFromWireClient::chain"]
3036        [::core::mem::offset_of!(WGPUDawnBufferDescriptorErrorInfoFromWireClient, chain) - 0usize];
3037    ["Offset of field: WGPUDawnBufferDescriptorErrorInfoFromWireClient::outOfMemory"][::core::mem::offset_of!(
3038        WGPUDawnBufferDescriptorErrorInfoFromWireClient,
3039        outOfMemory
3040    ) - 16usize];
3041};
3042#[repr(C)]
3043#[derive(Debug, Copy, Clone)]
3044pub struct WGPUDawnCacheDeviceDescriptor {
3045    pub chain: WGPUChainedStruct,
3046    pub isolationKey: WGPUStringView,
3047    pub loadDataFunction: WGPUDawnLoadCacheDataFunction,
3048    pub storeDataFunction: WGPUDawnStoreCacheDataFunction,
3049    pub functionUserdata: *mut ::core::ffi::c_void,
3050}
3051#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3052const _: () = {
3053    ["Size of WGPUDawnCacheDeviceDescriptor"]
3054        [::core::mem::size_of::<WGPUDawnCacheDeviceDescriptor>() - 56usize];
3055    ["Alignment of WGPUDawnCacheDeviceDescriptor"]
3056        [::core::mem::align_of::<WGPUDawnCacheDeviceDescriptor>() - 8usize];
3057    ["Offset of field: WGPUDawnCacheDeviceDescriptor::chain"]
3058        [::core::mem::offset_of!(WGPUDawnCacheDeviceDescriptor, chain) - 0usize];
3059    ["Offset of field: WGPUDawnCacheDeviceDescriptor::isolationKey"]
3060        [::core::mem::offset_of!(WGPUDawnCacheDeviceDescriptor, isolationKey) - 16usize];
3061    ["Offset of field: WGPUDawnCacheDeviceDescriptor::loadDataFunction"]
3062        [::core::mem::offset_of!(WGPUDawnCacheDeviceDescriptor, loadDataFunction) - 32usize];
3063    ["Offset of field: WGPUDawnCacheDeviceDescriptor::storeDataFunction"]
3064        [::core::mem::offset_of!(WGPUDawnCacheDeviceDescriptor, storeDataFunction) - 40usize];
3065    ["Offset of field: WGPUDawnCacheDeviceDescriptor::functionUserdata"]
3066        [::core::mem::offset_of!(WGPUDawnCacheDeviceDescriptor, functionUserdata) - 48usize];
3067};
3068#[repr(C)]
3069#[derive(Debug, Copy, Clone)]
3070pub struct WGPUDawnCompilationMessageUtf16 {
3071    pub chain: WGPUChainedStruct,
3072    pub linePos: u64,
3073    pub offset: u64,
3074    pub length: u64,
3075}
3076#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3077const _: () = {
3078    ["Size of WGPUDawnCompilationMessageUtf16"]
3079        [::core::mem::size_of::<WGPUDawnCompilationMessageUtf16>() - 40usize];
3080    ["Alignment of WGPUDawnCompilationMessageUtf16"]
3081        [::core::mem::align_of::<WGPUDawnCompilationMessageUtf16>() - 8usize];
3082    ["Offset of field: WGPUDawnCompilationMessageUtf16::chain"]
3083        [::core::mem::offset_of!(WGPUDawnCompilationMessageUtf16, chain) - 0usize];
3084    ["Offset of field: WGPUDawnCompilationMessageUtf16::linePos"]
3085        [::core::mem::offset_of!(WGPUDawnCompilationMessageUtf16, linePos) - 16usize];
3086    ["Offset of field: WGPUDawnCompilationMessageUtf16::offset"]
3087        [::core::mem::offset_of!(WGPUDawnCompilationMessageUtf16, offset) - 24usize];
3088    ["Offset of field: WGPUDawnCompilationMessageUtf16::length"]
3089        [::core::mem::offset_of!(WGPUDawnCompilationMessageUtf16, length) - 32usize];
3090};
3091#[repr(C)]
3092#[derive(Debug, Copy, Clone)]
3093pub struct WGPUDawnDeviceAllocatorControl {
3094    pub chain: WGPUChainedStruct,
3095    pub allocatorHeapBlockSize: usize,
3096}
3097#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3098const _: () = {
3099    ["Size of WGPUDawnDeviceAllocatorControl"]
3100        [::core::mem::size_of::<WGPUDawnDeviceAllocatorControl>() - 24usize];
3101    ["Alignment of WGPUDawnDeviceAllocatorControl"]
3102        [::core::mem::align_of::<WGPUDawnDeviceAllocatorControl>() - 8usize];
3103    ["Offset of field: WGPUDawnDeviceAllocatorControl::chain"]
3104        [::core::mem::offset_of!(WGPUDawnDeviceAllocatorControl, chain) - 0usize];
3105    ["Offset of field: WGPUDawnDeviceAllocatorControl::allocatorHeapBlockSize"]
3106        [::core::mem::offset_of!(WGPUDawnDeviceAllocatorControl, allocatorHeapBlockSize) - 16usize];
3107};
3108#[repr(C)]
3109#[derive(Debug, Copy, Clone)]
3110pub struct WGPUDawnDrmFormatProperties {
3111    pub modifier: u64,
3112    pub modifierPlaneCount: u32,
3113}
3114#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3115const _: () = {
3116    ["Size of WGPUDawnDrmFormatProperties"]
3117        [::core::mem::size_of::<WGPUDawnDrmFormatProperties>() - 16usize];
3118    ["Alignment of WGPUDawnDrmFormatProperties"]
3119        [::core::mem::align_of::<WGPUDawnDrmFormatProperties>() - 8usize];
3120    ["Offset of field: WGPUDawnDrmFormatProperties::modifier"]
3121        [::core::mem::offset_of!(WGPUDawnDrmFormatProperties, modifier) - 0usize];
3122    ["Offset of field: WGPUDawnDrmFormatProperties::modifierPlaneCount"]
3123        [::core::mem::offset_of!(WGPUDawnDrmFormatProperties, modifierPlaneCount) - 8usize];
3124};
3125#[repr(C)]
3126#[derive(Debug, Copy, Clone)]
3127pub struct WGPUDawnEncoderInternalUsageDescriptor {
3128    pub chain: WGPUChainedStruct,
3129    pub useInternalUsages: WGPUBool,
3130}
3131#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3132const _: () = {
3133    ["Size of WGPUDawnEncoderInternalUsageDescriptor"]
3134        [::core::mem::size_of::<WGPUDawnEncoderInternalUsageDescriptor>() - 24usize];
3135    ["Alignment of WGPUDawnEncoderInternalUsageDescriptor"]
3136        [::core::mem::align_of::<WGPUDawnEncoderInternalUsageDescriptor>() - 8usize];
3137    ["Offset of field: WGPUDawnEncoderInternalUsageDescriptor::chain"]
3138        [::core::mem::offset_of!(WGPUDawnEncoderInternalUsageDescriptor, chain) - 0usize];
3139    ["Offset of field: WGPUDawnEncoderInternalUsageDescriptor::useInternalUsages"][::core::mem::offset_of!(
3140        WGPUDawnEncoderInternalUsageDescriptor,
3141        useInternalUsages
3142    ) - 16usize];
3143};
3144#[repr(C)]
3145#[derive(Debug, Copy, Clone)]
3146pub struct WGPUDawnFakeBufferOOMForTesting {
3147    pub chain: WGPUChainedStruct,
3148    pub fakeOOMAtWireClientMap: WGPUBool,
3149    pub fakeOOMAtNativeMap: WGPUBool,
3150    pub fakeOOMAtDevice: WGPUBool,
3151}
3152#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3153const _: () = {
3154    ["Size of WGPUDawnFakeBufferOOMForTesting"]
3155        [::core::mem::size_of::<WGPUDawnFakeBufferOOMForTesting>() - 32usize];
3156    ["Alignment of WGPUDawnFakeBufferOOMForTesting"]
3157        [::core::mem::align_of::<WGPUDawnFakeBufferOOMForTesting>() - 8usize];
3158    ["Offset of field: WGPUDawnFakeBufferOOMForTesting::chain"]
3159        [::core::mem::offset_of!(WGPUDawnFakeBufferOOMForTesting, chain) - 0usize];
3160    ["Offset of field: WGPUDawnFakeBufferOOMForTesting::fakeOOMAtWireClientMap"][::core::mem::offset_of!(
3161        WGPUDawnFakeBufferOOMForTesting,
3162        fakeOOMAtWireClientMap
3163    ) - 16usize];
3164    ["Offset of field: WGPUDawnFakeBufferOOMForTesting::fakeOOMAtNativeMap"]
3165        [::core::mem::offset_of!(WGPUDawnFakeBufferOOMForTesting, fakeOOMAtNativeMap) - 20usize];
3166    ["Offset of field: WGPUDawnFakeBufferOOMForTesting::fakeOOMAtDevice"]
3167        [::core::mem::offset_of!(WGPUDawnFakeBufferOOMForTesting, fakeOOMAtDevice) - 24usize];
3168};
3169#[repr(C)]
3170#[derive(Debug, Copy, Clone)]
3171pub struct WGPUDawnHostMappedPointerLimits {
3172    pub chain: WGPUChainedStruct,
3173    pub hostMappedPointerAlignment: u32,
3174}
3175#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3176const _: () = {
3177    ["Size of WGPUDawnHostMappedPointerLimits"]
3178        [::core::mem::size_of::<WGPUDawnHostMappedPointerLimits>() - 24usize];
3179    ["Alignment of WGPUDawnHostMappedPointerLimits"]
3180        [::core::mem::align_of::<WGPUDawnHostMappedPointerLimits>() - 8usize];
3181    ["Offset of field: WGPUDawnHostMappedPointerLimits::chain"]
3182        [::core::mem::offset_of!(WGPUDawnHostMappedPointerLimits, chain) - 0usize];
3183    ["Offset of field: WGPUDawnHostMappedPointerLimits::hostMappedPointerAlignment"][::core::mem::offset_of!(
3184        WGPUDawnHostMappedPointerLimits,
3185        hostMappedPointerAlignment
3186    ) - 16usize];
3187};
3188#[repr(C)]
3189#[derive(Debug, Copy, Clone)]
3190pub struct WGPUDawnInjectedInvalidSType {
3191    pub chain: WGPUChainedStruct,
3192    pub invalidSType: WGPUSType,
3193}
3194#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3195const _: () = {
3196    ["Size of WGPUDawnInjectedInvalidSType"]
3197        [::core::mem::size_of::<WGPUDawnInjectedInvalidSType>() - 24usize];
3198    ["Alignment of WGPUDawnInjectedInvalidSType"]
3199        [::core::mem::align_of::<WGPUDawnInjectedInvalidSType>() - 8usize];
3200    ["Offset of field: WGPUDawnInjectedInvalidSType::chain"]
3201        [::core::mem::offset_of!(WGPUDawnInjectedInvalidSType, chain) - 0usize];
3202    ["Offset of field: WGPUDawnInjectedInvalidSType::invalidSType"]
3203        [::core::mem::offset_of!(WGPUDawnInjectedInvalidSType, invalidSType) - 16usize];
3204};
3205#[repr(C)]
3206#[derive(Debug, Copy, Clone)]
3207pub struct WGPUDawnRenderPassColorAttachmentRenderToSingleSampled {
3208    pub chain: WGPUChainedStruct,
3209    pub implicitSampleCount: u32,
3210}
3211#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3212const _: () = {
3213    ["Size of WGPUDawnRenderPassColorAttachmentRenderToSingleSampled"][::core::mem::size_of::<
3214        WGPUDawnRenderPassColorAttachmentRenderToSingleSampled,
3215    >() - 24usize];
3216    ["Alignment of WGPUDawnRenderPassColorAttachmentRenderToSingleSampled"][::core::mem::align_of::<
3217        WGPUDawnRenderPassColorAttachmentRenderToSingleSampled,
3218    >() - 8usize];
3219    ["Offset of field: WGPUDawnRenderPassColorAttachmentRenderToSingleSampled::chain"][::core::mem::offset_of!(
3220        WGPUDawnRenderPassColorAttachmentRenderToSingleSampled,
3221        chain
3222    ) - 0usize];
3223    ["Offset of field: WGPUDawnRenderPassColorAttachmentRenderToSingleSampled::implicitSampleCount"] [:: core :: mem :: offset_of ! (WGPUDawnRenderPassColorAttachmentRenderToSingleSampled , implicitSampleCount) - 16usize] ;
3224};
3225#[repr(C)]
3226#[derive(Debug, Copy, Clone)]
3227pub struct WGPUDawnShaderModuleSPIRVOptionsDescriptor {
3228    pub chain: WGPUChainedStruct,
3229    pub allowNonUniformDerivatives: WGPUBool,
3230}
3231#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3232const _: () = {
3233    ["Size of WGPUDawnShaderModuleSPIRVOptionsDescriptor"]
3234        [::core::mem::size_of::<WGPUDawnShaderModuleSPIRVOptionsDescriptor>() - 24usize];
3235    ["Alignment of WGPUDawnShaderModuleSPIRVOptionsDescriptor"]
3236        [::core::mem::align_of::<WGPUDawnShaderModuleSPIRVOptionsDescriptor>() - 8usize];
3237    ["Offset of field: WGPUDawnShaderModuleSPIRVOptionsDescriptor::chain"]
3238        [::core::mem::offset_of!(WGPUDawnShaderModuleSPIRVOptionsDescriptor, chain) - 0usize];
3239    ["Offset of field: WGPUDawnShaderModuleSPIRVOptionsDescriptor::allowNonUniformDerivatives"][::core::mem::offset_of!(
3240        WGPUDawnShaderModuleSPIRVOptionsDescriptor,
3241        allowNonUniformDerivatives
3242    )
3243        - 16usize];
3244};
3245#[repr(C)]
3246#[derive(Debug, Copy, Clone)]
3247pub struct WGPUDawnTexelCopyBufferRowAlignmentLimits {
3248    pub chain: WGPUChainedStruct,
3249    pub minTexelCopyBufferRowAlignment: u32,
3250}
3251#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3252const _: () = {
3253    ["Size of WGPUDawnTexelCopyBufferRowAlignmentLimits"]
3254        [::core::mem::size_of::<WGPUDawnTexelCopyBufferRowAlignmentLimits>() - 24usize];
3255    ["Alignment of WGPUDawnTexelCopyBufferRowAlignmentLimits"]
3256        [::core::mem::align_of::<WGPUDawnTexelCopyBufferRowAlignmentLimits>() - 8usize];
3257    ["Offset of field: WGPUDawnTexelCopyBufferRowAlignmentLimits::chain"]
3258        [::core::mem::offset_of!(WGPUDawnTexelCopyBufferRowAlignmentLimits, chain) - 0usize];
3259    ["Offset of field: WGPUDawnTexelCopyBufferRowAlignmentLimits::minTexelCopyBufferRowAlignment"] [:: core :: mem :: offset_of ! (WGPUDawnTexelCopyBufferRowAlignmentLimits , minTexelCopyBufferRowAlignment) - 16usize] ;
3260};
3261#[repr(C)]
3262#[derive(Debug, Copy, Clone)]
3263pub struct WGPUDawnTextureInternalUsageDescriptor {
3264    pub chain: WGPUChainedStruct,
3265    pub internalUsage: WGPUTextureUsage,
3266}
3267#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3268const _: () = {
3269    ["Size of WGPUDawnTextureInternalUsageDescriptor"]
3270        [::core::mem::size_of::<WGPUDawnTextureInternalUsageDescriptor>() - 24usize];
3271    ["Alignment of WGPUDawnTextureInternalUsageDescriptor"]
3272        [::core::mem::align_of::<WGPUDawnTextureInternalUsageDescriptor>() - 8usize];
3273    ["Offset of field: WGPUDawnTextureInternalUsageDescriptor::chain"]
3274        [::core::mem::offset_of!(WGPUDawnTextureInternalUsageDescriptor, chain) - 0usize];
3275    ["Offset of field: WGPUDawnTextureInternalUsageDescriptor::internalUsage"]
3276        [::core::mem::offset_of!(WGPUDawnTextureInternalUsageDescriptor, internalUsage) - 16usize];
3277};
3278#[repr(C)]
3279#[derive(Debug, Copy, Clone)]
3280pub struct WGPUDawnTogglesDescriptor {
3281    pub chain: WGPUChainedStruct,
3282    pub enabledToggleCount: usize,
3283    pub enabledToggles: *const *const ::core::ffi::c_char,
3284    pub disabledToggleCount: usize,
3285    pub disabledToggles: *const *const ::core::ffi::c_char,
3286}
3287#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3288const _: () = {
3289    ["Size of WGPUDawnTogglesDescriptor"]
3290        [::core::mem::size_of::<WGPUDawnTogglesDescriptor>() - 48usize];
3291    ["Alignment of WGPUDawnTogglesDescriptor"]
3292        [::core::mem::align_of::<WGPUDawnTogglesDescriptor>() - 8usize];
3293    ["Offset of field: WGPUDawnTogglesDescriptor::chain"]
3294        [::core::mem::offset_of!(WGPUDawnTogglesDescriptor, chain) - 0usize];
3295    ["Offset of field: WGPUDawnTogglesDescriptor::enabledToggleCount"]
3296        [::core::mem::offset_of!(WGPUDawnTogglesDescriptor, enabledToggleCount) - 16usize];
3297    ["Offset of field: WGPUDawnTogglesDescriptor::enabledToggles"]
3298        [::core::mem::offset_of!(WGPUDawnTogglesDescriptor, enabledToggles) - 24usize];
3299    ["Offset of field: WGPUDawnTogglesDescriptor::disabledToggleCount"]
3300        [::core::mem::offset_of!(WGPUDawnTogglesDescriptor, disabledToggleCount) - 32usize];
3301    ["Offset of field: WGPUDawnTogglesDescriptor::disabledToggles"]
3302        [::core::mem::offset_of!(WGPUDawnTogglesDescriptor, disabledToggles) - 40usize];
3303};
3304#[repr(C)]
3305#[derive(Debug, Copy, Clone)]
3306pub struct WGPUDawnWGSLBlocklist {
3307    pub chain: WGPUChainedStruct,
3308    pub blocklistedFeatureCount: usize,
3309    pub blocklistedFeatures: *const *const ::core::ffi::c_char,
3310}
3311#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3312const _: () = {
3313    ["Size of WGPUDawnWGSLBlocklist"][::core::mem::size_of::<WGPUDawnWGSLBlocklist>() - 32usize];
3314    ["Alignment of WGPUDawnWGSLBlocklist"]
3315        [::core::mem::align_of::<WGPUDawnWGSLBlocklist>() - 8usize];
3316    ["Offset of field: WGPUDawnWGSLBlocklist::chain"]
3317        [::core::mem::offset_of!(WGPUDawnWGSLBlocklist, chain) - 0usize];
3318    ["Offset of field: WGPUDawnWGSLBlocklist::blocklistedFeatureCount"]
3319        [::core::mem::offset_of!(WGPUDawnWGSLBlocklist, blocklistedFeatureCount) - 16usize];
3320    ["Offset of field: WGPUDawnWGSLBlocklist::blocklistedFeatures"]
3321        [::core::mem::offset_of!(WGPUDawnWGSLBlocklist, blocklistedFeatures) - 24usize];
3322};
3323#[repr(C)]
3324#[derive(Debug, Copy, Clone)]
3325pub struct WGPUDawnWireWGSLControl {
3326    pub chain: WGPUChainedStruct,
3327    pub enableExperimental: WGPUBool,
3328    pub enableUnsafe: WGPUBool,
3329    pub enableTesting: WGPUBool,
3330}
3331#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3332const _: () = {
3333    ["Size of WGPUDawnWireWGSLControl"]
3334        [::core::mem::size_of::<WGPUDawnWireWGSLControl>() - 32usize];
3335    ["Alignment of WGPUDawnWireWGSLControl"]
3336        [::core::mem::align_of::<WGPUDawnWireWGSLControl>() - 8usize];
3337    ["Offset of field: WGPUDawnWireWGSLControl::chain"]
3338        [::core::mem::offset_of!(WGPUDawnWireWGSLControl, chain) - 0usize];
3339    ["Offset of field: WGPUDawnWireWGSLControl::enableExperimental"]
3340        [::core::mem::offset_of!(WGPUDawnWireWGSLControl, enableExperimental) - 16usize];
3341    ["Offset of field: WGPUDawnWireWGSLControl::enableUnsafe"]
3342        [::core::mem::offset_of!(WGPUDawnWireWGSLControl, enableUnsafe) - 20usize];
3343    ["Offset of field: WGPUDawnWireWGSLControl::enableTesting"]
3344        [::core::mem::offset_of!(WGPUDawnWireWGSLControl, enableTesting) - 24usize];
3345};
3346#[repr(C)]
3347#[derive(Debug, Copy, Clone)]
3348pub struct WGPUEmscriptenSurfaceSourceCanvasHTMLSelector {
3349    pub chain: WGPUChainedStruct,
3350    pub selector: WGPUStringView,
3351}
3352#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3353const _: () = {
3354    ["Size of WGPUEmscriptenSurfaceSourceCanvasHTMLSelector"]
3355        [::core::mem::size_of::<WGPUEmscriptenSurfaceSourceCanvasHTMLSelector>() - 32usize];
3356    ["Alignment of WGPUEmscriptenSurfaceSourceCanvasHTMLSelector"]
3357        [::core::mem::align_of::<WGPUEmscriptenSurfaceSourceCanvasHTMLSelector>() - 8usize];
3358    ["Offset of field: WGPUEmscriptenSurfaceSourceCanvasHTMLSelector::chain"]
3359        [::core::mem::offset_of!(WGPUEmscriptenSurfaceSourceCanvasHTMLSelector, chain) - 0usize];
3360    ["Offset of field: WGPUEmscriptenSurfaceSourceCanvasHTMLSelector::selector"][::core::mem::offset_of!(
3361        WGPUEmscriptenSurfaceSourceCanvasHTMLSelector,
3362        selector
3363    ) - 16usize];
3364};
3365#[repr(C)]
3366#[derive(Debug, Copy, Clone)]
3367pub struct WGPUExtent2D {
3368    pub width: u32,
3369    pub height: u32,
3370}
3371#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3372const _: () = {
3373    ["Size of WGPUExtent2D"][::core::mem::size_of::<WGPUExtent2D>() - 8usize];
3374    ["Alignment of WGPUExtent2D"][::core::mem::align_of::<WGPUExtent2D>() - 4usize];
3375    ["Offset of field: WGPUExtent2D::width"][::core::mem::offset_of!(WGPUExtent2D, width) - 0usize];
3376    ["Offset of field: WGPUExtent2D::height"]
3377        [::core::mem::offset_of!(WGPUExtent2D, height) - 4usize];
3378};
3379#[repr(C)]
3380#[derive(Debug, Copy, Clone)]
3381pub struct WGPUExtent3D {
3382    pub width: u32,
3383    pub height: u32,
3384    pub depthOrArrayLayers: u32,
3385}
3386#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3387const _: () = {
3388    ["Size of WGPUExtent3D"][::core::mem::size_of::<WGPUExtent3D>() - 12usize];
3389    ["Alignment of WGPUExtent3D"][::core::mem::align_of::<WGPUExtent3D>() - 4usize];
3390    ["Offset of field: WGPUExtent3D::width"][::core::mem::offset_of!(WGPUExtent3D, width) - 0usize];
3391    ["Offset of field: WGPUExtent3D::height"]
3392        [::core::mem::offset_of!(WGPUExtent3D, height) - 4usize];
3393    ["Offset of field: WGPUExtent3D::depthOrArrayLayers"]
3394        [::core::mem::offset_of!(WGPUExtent3D, depthOrArrayLayers) - 8usize];
3395};
3396#[repr(C)]
3397#[derive(Debug, Copy, Clone)]
3398pub struct WGPUExternalTextureBindingEntry {
3399    pub chain: WGPUChainedStruct,
3400    pub externalTexture: WGPUExternalTexture,
3401}
3402#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3403const _: () = {
3404    ["Size of WGPUExternalTextureBindingEntry"]
3405        [::core::mem::size_of::<WGPUExternalTextureBindingEntry>() - 24usize];
3406    ["Alignment of WGPUExternalTextureBindingEntry"]
3407        [::core::mem::align_of::<WGPUExternalTextureBindingEntry>() - 8usize];
3408    ["Offset of field: WGPUExternalTextureBindingEntry::chain"]
3409        [::core::mem::offset_of!(WGPUExternalTextureBindingEntry, chain) - 0usize];
3410    ["Offset of field: WGPUExternalTextureBindingEntry::externalTexture"]
3411        [::core::mem::offset_of!(WGPUExternalTextureBindingEntry, externalTexture) - 16usize];
3412};
3413#[repr(C)]
3414#[derive(Debug, Copy, Clone)]
3415pub struct WGPUExternalTextureBindingLayout {
3416    pub chain: WGPUChainedStruct,
3417}
3418#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3419const _: () = {
3420    ["Size of WGPUExternalTextureBindingLayout"]
3421        [::core::mem::size_of::<WGPUExternalTextureBindingLayout>() - 16usize];
3422    ["Alignment of WGPUExternalTextureBindingLayout"]
3423        [::core::mem::align_of::<WGPUExternalTextureBindingLayout>() - 8usize];
3424    ["Offset of field: WGPUExternalTextureBindingLayout::chain"]
3425        [::core::mem::offset_of!(WGPUExternalTextureBindingLayout, chain) - 0usize];
3426};
3427#[repr(C)]
3428#[derive(Debug, Copy, Clone)]
3429pub struct WGPUFuture {
3430    pub id: u64,
3431}
3432#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3433const _: () = {
3434    ["Size of WGPUFuture"][::core::mem::size_of::<WGPUFuture>() - 8usize];
3435    ["Alignment of WGPUFuture"][::core::mem::align_of::<WGPUFuture>() - 8usize];
3436    ["Offset of field: WGPUFuture::id"][::core::mem::offset_of!(WGPUFuture, id) - 0usize];
3437};
3438#[repr(C)]
3439#[derive(Debug, Copy, Clone)]
3440pub struct WGPUInstanceCapabilities {
3441    pub nextInChain: *mut WGPUChainedStruct,
3442    pub timedWaitAnyEnable: WGPUBool,
3443    pub timedWaitAnyMaxCount: usize,
3444}
3445#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3446const _: () = {
3447    ["Size of WGPUInstanceCapabilities"]
3448        [::core::mem::size_of::<WGPUInstanceCapabilities>() - 24usize];
3449    ["Alignment of WGPUInstanceCapabilities"]
3450        [::core::mem::align_of::<WGPUInstanceCapabilities>() - 8usize];
3451    ["Offset of field: WGPUInstanceCapabilities::nextInChain"]
3452        [::core::mem::offset_of!(WGPUInstanceCapabilities, nextInChain) - 0usize];
3453    ["Offset of field: WGPUInstanceCapabilities::timedWaitAnyEnable"]
3454        [::core::mem::offset_of!(WGPUInstanceCapabilities, timedWaitAnyEnable) - 8usize];
3455    ["Offset of field: WGPUInstanceCapabilities::timedWaitAnyMaxCount"]
3456        [::core::mem::offset_of!(WGPUInstanceCapabilities, timedWaitAnyMaxCount) - 16usize];
3457};
3458#[repr(C)]
3459#[derive(Debug, Copy, Clone)]
3460pub struct WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER {
3461    pub unused: WGPUBool,
3462}
3463#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3464const _: () = {
3465    ["Size of WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER"]
3466        [::core::mem::size_of::<WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER>() - 4usize];
3467    ["Alignment of WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER"]
3468        [::core::mem::align_of::<WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER>() - 4usize];
3469    ["Offset of field: WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER::unused"]
3470        [::core::mem::offset_of!(WGPUINTERNAL_HAVE_EMDAWNWEBGPU_HEADER, unused) - 0usize];
3471};
3472#[repr(C)]
3473#[derive(Debug, Copy, Clone)]
3474pub struct WGPUMemoryHeapInfo {
3475    pub properties: WGPUHeapProperty,
3476    pub size: u64,
3477}
3478#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3479const _: () = {
3480    ["Size of WGPUMemoryHeapInfo"][::core::mem::size_of::<WGPUMemoryHeapInfo>() - 16usize];
3481    ["Alignment of WGPUMemoryHeapInfo"][::core::mem::align_of::<WGPUMemoryHeapInfo>() - 8usize];
3482    ["Offset of field: WGPUMemoryHeapInfo::properties"]
3483        [::core::mem::offset_of!(WGPUMemoryHeapInfo, properties) - 0usize];
3484    ["Offset of field: WGPUMemoryHeapInfo::size"]
3485        [::core::mem::offset_of!(WGPUMemoryHeapInfo, size) - 8usize];
3486};
3487#[repr(C)]
3488#[derive(Debug, Copy, Clone)]
3489pub struct WGPUMultisampleState {
3490    pub nextInChain: *mut WGPUChainedStruct,
3491    pub count: u32,
3492    pub mask: u32,
3493    pub alphaToCoverageEnabled: WGPUBool,
3494}
3495#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3496const _: () = {
3497    ["Size of WGPUMultisampleState"][::core::mem::size_of::<WGPUMultisampleState>() - 24usize];
3498    ["Alignment of WGPUMultisampleState"][::core::mem::align_of::<WGPUMultisampleState>() - 8usize];
3499    ["Offset of field: WGPUMultisampleState::nextInChain"]
3500        [::core::mem::offset_of!(WGPUMultisampleState, nextInChain) - 0usize];
3501    ["Offset of field: WGPUMultisampleState::count"]
3502        [::core::mem::offset_of!(WGPUMultisampleState, count) - 8usize];
3503    ["Offset of field: WGPUMultisampleState::mask"]
3504        [::core::mem::offset_of!(WGPUMultisampleState, mask) - 12usize];
3505    ["Offset of field: WGPUMultisampleState::alphaToCoverageEnabled"]
3506        [::core::mem::offset_of!(WGPUMultisampleState, alphaToCoverageEnabled) - 16usize];
3507};
3508#[repr(C)]
3509#[derive(Debug, Copy, Clone)]
3510pub struct WGPUOrigin2D {
3511    pub x: u32,
3512    pub y: u32,
3513}
3514#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3515const _: () = {
3516    ["Size of WGPUOrigin2D"][::core::mem::size_of::<WGPUOrigin2D>() - 8usize];
3517    ["Alignment of WGPUOrigin2D"][::core::mem::align_of::<WGPUOrigin2D>() - 4usize];
3518    ["Offset of field: WGPUOrigin2D::x"][::core::mem::offset_of!(WGPUOrigin2D, x) - 0usize];
3519    ["Offset of field: WGPUOrigin2D::y"][::core::mem::offset_of!(WGPUOrigin2D, y) - 4usize];
3520};
3521#[repr(C)]
3522#[derive(Debug, Copy, Clone)]
3523pub struct WGPUOrigin3D {
3524    pub x: u32,
3525    pub y: u32,
3526    pub z: u32,
3527}
3528#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3529const _: () = {
3530    ["Size of WGPUOrigin3D"][::core::mem::size_of::<WGPUOrigin3D>() - 12usize];
3531    ["Alignment of WGPUOrigin3D"][::core::mem::align_of::<WGPUOrigin3D>() - 4usize];
3532    ["Offset of field: WGPUOrigin3D::x"][::core::mem::offset_of!(WGPUOrigin3D, x) - 0usize];
3533    ["Offset of field: WGPUOrigin3D::y"][::core::mem::offset_of!(WGPUOrigin3D, y) - 4usize];
3534    ["Offset of field: WGPUOrigin3D::z"][::core::mem::offset_of!(WGPUOrigin3D, z) - 8usize];
3535};
3536#[repr(C)]
3537#[derive(Debug, Copy, Clone)]
3538pub struct WGPUPassTimestampWrites {
3539    pub nextInChain: *mut WGPUChainedStruct,
3540    pub querySet: WGPUQuerySet,
3541    pub beginningOfPassWriteIndex: u32,
3542    pub endOfPassWriteIndex: u32,
3543}
3544#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3545const _: () = {
3546    ["Size of WGPUPassTimestampWrites"]
3547        [::core::mem::size_of::<WGPUPassTimestampWrites>() - 24usize];
3548    ["Alignment of WGPUPassTimestampWrites"]
3549        [::core::mem::align_of::<WGPUPassTimestampWrites>() - 8usize];
3550    ["Offset of field: WGPUPassTimestampWrites::nextInChain"]
3551        [::core::mem::offset_of!(WGPUPassTimestampWrites, nextInChain) - 0usize];
3552    ["Offset of field: WGPUPassTimestampWrites::querySet"]
3553        [::core::mem::offset_of!(WGPUPassTimestampWrites, querySet) - 8usize];
3554    ["Offset of field: WGPUPassTimestampWrites::beginningOfPassWriteIndex"]
3555        [::core::mem::offset_of!(WGPUPassTimestampWrites, beginningOfPassWriteIndex) - 16usize];
3556    ["Offset of field: WGPUPassTimestampWrites::endOfPassWriteIndex"]
3557        [::core::mem::offset_of!(WGPUPassTimestampWrites, endOfPassWriteIndex) - 20usize];
3558};
3559#[repr(C)]
3560#[derive(Debug, Copy, Clone)]
3561pub struct WGPUPipelineLayoutStorageAttachment {
3562    pub nextInChain: *mut WGPUChainedStruct,
3563    pub offset: u64,
3564    pub format: WGPUTextureFormat,
3565}
3566#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3567const _: () = {
3568    ["Size of WGPUPipelineLayoutStorageAttachment"]
3569        [::core::mem::size_of::<WGPUPipelineLayoutStorageAttachment>() - 24usize];
3570    ["Alignment of WGPUPipelineLayoutStorageAttachment"]
3571        [::core::mem::align_of::<WGPUPipelineLayoutStorageAttachment>() - 8usize];
3572    ["Offset of field: WGPUPipelineLayoutStorageAttachment::nextInChain"]
3573        [::core::mem::offset_of!(WGPUPipelineLayoutStorageAttachment, nextInChain) - 0usize];
3574    ["Offset of field: WGPUPipelineLayoutStorageAttachment::offset"]
3575        [::core::mem::offset_of!(WGPUPipelineLayoutStorageAttachment, offset) - 8usize];
3576    ["Offset of field: WGPUPipelineLayoutStorageAttachment::format"]
3577        [::core::mem::offset_of!(WGPUPipelineLayoutStorageAttachment, format) - 16usize];
3578};
3579#[repr(C)]
3580#[derive(Debug, Copy, Clone)]
3581pub struct WGPUPrimitiveState {
3582    pub nextInChain: *mut WGPUChainedStruct,
3583    pub topology: WGPUPrimitiveTopology,
3584    pub stripIndexFormat: WGPUIndexFormat,
3585    pub frontFace: WGPUFrontFace,
3586    pub cullMode: WGPUCullMode,
3587    pub unclippedDepth: WGPUBool,
3588}
3589#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3590const _: () = {
3591    ["Size of WGPUPrimitiveState"][::core::mem::size_of::<WGPUPrimitiveState>() - 32usize];
3592    ["Alignment of WGPUPrimitiveState"][::core::mem::align_of::<WGPUPrimitiveState>() - 8usize];
3593    ["Offset of field: WGPUPrimitiveState::nextInChain"]
3594        [::core::mem::offset_of!(WGPUPrimitiveState, nextInChain) - 0usize];
3595    ["Offset of field: WGPUPrimitiveState::topology"]
3596        [::core::mem::offset_of!(WGPUPrimitiveState, topology) - 8usize];
3597    ["Offset of field: WGPUPrimitiveState::stripIndexFormat"]
3598        [::core::mem::offset_of!(WGPUPrimitiveState, stripIndexFormat) - 12usize];
3599    ["Offset of field: WGPUPrimitiveState::frontFace"]
3600        [::core::mem::offset_of!(WGPUPrimitiveState, frontFace) - 16usize];
3601    ["Offset of field: WGPUPrimitiveState::cullMode"]
3602        [::core::mem::offset_of!(WGPUPrimitiveState, cullMode) - 20usize];
3603    ["Offset of field: WGPUPrimitiveState::unclippedDepth"]
3604        [::core::mem::offset_of!(WGPUPrimitiveState, unclippedDepth) - 24usize];
3605};
3606#[repr(C)]
3607#[derive(Debug, Copy, Clone)]
3608pub struct WGPUQuerySetDescriptor {
3609    pub nextInChain: *mut WGPUChainedStruct,
3610    pub label: WGPUStringView,
3611    pub type_: WGPUQueryType,
3612    pub count: u32,
3613}
3614#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3615const _: () = {
3616    ["Size of WGPUQuerySetDescriptor"][::core::mem::size_of::<WGPUQuerySetDescriptor>() - 32usize];
3617    ["Alignment of WGPUQuerySetDescriptor"]
3618        [::core::mem::align_of::<WGPUQuerySetDescriptor>() - 8usize];
3619    ["Offset of field: WGPUQuerySetDescriptor::nextInChain"]
3620        [::core::mem::offset_of!(WGPUQuerySetDescriptor, nextInChain) - 0usize];
3621    ["Offset of field: WGPUQuerySetDescriptor::label"]
3622        [::core::mem::offset_of!(WGPUQuerySetDescriptor, label) - 8usize];
3623    ["Offset of field: WGPUQuerySetDescriptor::type_"]
3624        [::core::mem::offset_of!(WGPUQuerySetDescriptor, type_) - 24usize];
3625    ["Offset of field: WGPUQuerySetDescriptor::count"]
3626        [::core::mem::offset_of!(WGPUQuerySetDescriptor, count) - 28usize];
3627};
3628#[repr(C)]
3629#[derive(Debug, Copy, Clone)]
3630pub struct WGPUQueueDescriptor {
3631    pub nextInChain: *mut WGPUChainedStruct,
3632    pub label: WGPUStringView,
3633}
3634#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3635const _: () = {
3636    ["Size of WGPUQueueDescriptor"][::core::mem::size_of::<WGPUQueueDescriptor>() - 24usize];
3637    ["Alignment of WGPUQueueDescriptor"][::core::mem::align_of::<WGPUQueueDescriptor>() - 8usize];
3638    ["Offset of field: WGPUQueueDescriptor::nextInChain"]
3639        [::core::mem::offset_of!(WGPUQueueDescriptor, nextInChain) - 0usize];
3640    ["Offset of field: WGPUQueueDescriptor::label"]
3641        [::core::mem::offset_of!(WGPUQueueDescriptor, label) - 8usize];
3642};
3643#[repr(C)]
3644#[derive(Debug, Copy, Clone)]
3645pub struct WGPURenderBundleDescriptor {
3646    pub nextInChain: *mut WGPUChainedStruct,
3647    pub label: WGPUStringView,
3648}
3649#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3650const _: () = {
3651    ["Size of WGPURenderBundleDescriptor"]
3652        [::core::mem::size_of::<WGPURenderBundleDescriptor>() - 24usize];
3653    ["Alignment of WGPURenderBundleDescriptor"]
3654        [::core::mem::align_of::<WGPURenderBundleDescriptor>() - 8usize];
3655    ["Offset of field: WGPURenderBundleDescriptor::nextInChain"]
3656        [::core::mem::offset_of!(WGPURenderBundleDescriptor, nextInChain) - 0usize];
3657    ["Offset of field: WGPURenderBundleDescriptor::label"]
3658        [::core::mem::offset_of!(WGPURenderBundleDescriptor, label) - 8usize];
3659};
3660#[repr(C)]
3661#[derive(Debug, Copy, Clone)]
3662pub struct WGPURenderBundleEncoderDescriptor {
3663    pub nextInChain: *mut WGPUChainedStruct,
3664    pub label: WGPUStringView,
3665    pub colorFormatCount: usize,
3666    pub colorFormats: *const WGPUTextureFormat,
3667    pub depthStencilFormat: WGPUTextureFormat,
3668    pub sampleCount: u32,
3669    pub depthReadOnly: WGPUBool,
3670    pub stencilReadOnly: WGPUBool,
3671}
3672#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3673const _: () = {
3674    ["Size of WGPURenderBundleEncoderDescriptor"]
3675        [::core::mem::size_of::<WGPURenderBundleEncoderDescriptor>() - 56usize];
3676    ["Alignment of WGPURenderBundleEncoderDescriptor"]
3677        [::core::mem::align_of::<WGPURenderBundleEncoderDescriptor>() - 8usize];
3678    ["Offset of field: WGPURenderBundleEncoderDescriptor::nextInChain"]
3679        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, nextInChain) - 0usize];
3680    ["Offset of field: WGPURenderBundleEncoderDescriptor::label"]
3681        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, label) - 8usize];
3682    ["Offset of field: WGPURenderBundleEncoderDescriptor::colorFormatCount"]
3683        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, colorFormatCount) - 24usize];
3684    ["Offset of field: WGPURenderBundleEncoderDescriptor::colorFormats"]
3685        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, colorFormats) - 32usize];
3686    ["Offset of field: WGPURenderBundleEncoderDescriptor::depthStencilFormat"]
3687        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, depthStencilFormat) - 40usize];
3688    ["Offset of field: WGPURenderBundleEncoderDescriptor::sampleCount"]
3689        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, sampleCount) - 44usize];
3690    ["Offset of field: WGPURenderBundleEncoderDescriptor::depthReadOnly"]
3691        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, depthReadOnly) - 48usize];
3692    ["Offset of field: WGPURenderBundleEncoderDescriptor::stencilReadOnly"]
3693        [::core::mem::offset_of!(WGPURenderBundleEncoderDescriptor, stencilReadOnly) - 52usize];
3694};
3695#[repr(C)]
3696#[derive(Debug, Copy, Clone)]
3697pub struct WGPURenderPassDepthStencilAttachment {
3698    pub nextInChain: *mut WGPUChainedStruct,
3699    pub view: WGPUTextureView,
3700    pub depthLoadOp: WGPULoadOp,
3701    pub depthStoreOp: WGPUStoreOp,
3702    pub depthClearValue: f32,
3703    pub depthReadOnly: WGPUBool,
3704    pub stencilLoadOp: WGPULoadOp,
3705    pub stencilStoreOp: WGPUStoreOp,
3706    pub stencilClearValue: u32,
3707    pub stencilReadOnly: WGPUBool,
3708}
3709#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3710const _: () = {
3711    ["Size of WGPURenderPassDepthStencilAttachment"]
3712        [::core::mem::size_of::<WGPURenderPassDepthStencilAttachment>() - 48usize];
3713    ["Alignment of WGPURenderPassDepthStencilAttachment"]
3714        [::core::mem::align_of::<WGPURenderPassDepthStencilAttachment>() - 8usize];
3715    ["Offset of field: WGPURenderPassDepthStencilAttachment::nextInChain"]
3716        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, nextInChain) - 0usize];
3717    ["Offset of field: WGPURenderPassDepthStencilAttachment::view"]
3718        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, view) - 8usize];
3719    ["Offset of field: WGPURenderPassDepthStencilAttachment::depthLoadOp"]
3720        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, depthLoadOp) - 16usize];
3721    ["Offset of field: WGPURenderPassDepthStencilAttachment::depthStoreOp"]
3722        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, depthStoreOp) - 20usize];
3723    ["Offset of field: WGPURenderPassDepthStencilAttachment::depthClearValue"]
3724        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, depthClearValue) - 24usize];
3725    ["Offset of field: WGPURenderPassDepthStencilAttachment::depthReadOnly"]
3726        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, depthReadOnly) - 28usize];
3727    ["Offset of field: WGPURenderPassDepthStencilAttachment::stencilLoadOp"]
3728        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, stencilLoadOp) - 32usize];
3729    ["Offset of field: WGPURenderPassDepthStencilAttachment::stencilStoreOp"]
3730        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, stencilStoreOp) - 36usize];
3731    ["Offset of field: WGPURenderPassDepthStencilAttachment::stencilClearValue"][::core::mem::offset_of!(
3732        WGPURenderPassDepthStencilAttachment,
3733        stencilClearValue
3734    ) - 40usize];
3735    ["Offset of field: WGPURenderPassDepthStencilAttachment::stencilReadOnly"]
3736        [::core::mem::offset_of!(WGPURenderPassDepthStencilAttachment, stencilReadOnly) - 44usize];
3737};
3738#[repr(C)]
3739#[derive(Debug, Copy, Clone)]
3740pub struct WGPURenderPassDescriptorExpandResolveRect {
3741    pub chain: WGPUChainedStruct,
3742    pub x: u32,
3743    pub y: u32,
3744    pub width: u32,
3745    pub height: u32,
3746}
3747#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3748const _: () = {
3749    ["Size of WGPURenderPassDescriptorExpandResolveRect"]
3750        [::core::mem::size_of::<WGPURenderPassDescriptorExpandResolveRect>() - 32usize];
3751    ["Alignment of WGPURenderPassDescriptorExpandResolveRect"]
3752        [::core::mem::align_of::<WGPURenderPassDescriptorExpandResolveRect>() - 8usize];
3753    ["Offset of field: WGPURenderPassDescriptorExpandResolveRect::chain"]
3754        [::core::mem::offset_of!(WGPURenderPassDescriptorExpandResolveRect, chain) - 0usize];
3755    ["Offset of field: WGPURenderPassDescriptorExpandResolveRect::x"]
3756        [::core::mem::offset_of!(WGPURenderPassDescriptorExpandResolveRect, x) - 16usize];
3757    ["Offset of field: WGPURenderPassDescriptorExpandResolveRect::y"]
3758        [::core::mem::offset_of!(WGPURenderPassDescriptorExpandResolveRect, y) - 20usize];
3759    ["Offset of field: WGPURenderPassDescriptorExpandResolveRect::width"]
3760        [::core::mem::offset_of!(WGPURenderPassDescriptorExpandResolveRect, width) - 24usize];
3761    ["Offset of field: WGPURenderPassDescriptorExpandResolveRect::height"]
3762        [::core::mem::offset_of!(WGPURenderPassDescriptorExpandResolveRect, height) - 28usize];
3763};
3764#[repr(C)]
3765#[derive(Debug, Copy, Clone)]
3766pub struct WGPURenderPassDescriptorResolveRect {
3767    pub chain: WGPUChainedStruct,
3768    pub colorOffsetX: u32,
3769    pub colorOffsetY: u32,
3770    pub resolveOffsetX: u32,
3771    pub resolveOffsetY: u32,
3772    pub width: u32,
3773    pub height: u32,
3774}
3775#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3776const _: () = {
3777    ["Size of WGPURenderPassDescriptorResolveRect"]
3778        [::core::mem::size_of::<WGPURenderPassDescriptorResolveRect>() - 40usize];
3779    ["Alignment of WGPURenderPassDescriptorResolveRect"]
3780        [::core::mem::align_of::<WGPURenderPassDescriptorResolveRect>() - 8usize];
3781    ["Offset of field: WGPURenderPassDescriptorResolveRect::chain"]
3782        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, chain) - 0usize];
3783    ["Offset of field: WGPURenderPassDescriptorResolveRect::colorOffsetX"]
3784        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, colorOffsetX) - 16usize];
3785    ["Offset of field: WGPURenderPassDescriptorResolveRect::colorOffsetY"]
3786        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, colorOffsetY) - 20usize];
3787    ["Offset of field: WGPURenderPassDescriptorResolveRect::resolveOffsetX"]
3788        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, resolveOffsetX) - 24usize];
3789    ["Offset of field: WGPURenderPassDescriptorResolveRect::resolveOffsetY"]
3790        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, resolveOffsetY) - 28usize];
3791    ["Offset of field: WGPURenderPassDescriptorResolveRect::width"]
3792        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, width) - 32usize];
3793    ["Offset of field: WGPURenderPassDescriptorResolveRect::height"]
3794        [::core::mem::offset_of!(WGPURenderPassDescriptorResolveRect, height) - 36usize];
3795};
3796#[repr(C)]
3797#[derive(Debug, Copy, Clone)]
3798pub struct WGPURenderPassMaxDrawCount {
3799    pub chain: WGPUChainedStruct,
3800    pub maxDrawCount: u64,
3801}
3802#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3803const _: () = {
3804    ["Size of WGPURenderPassMaxDrawCount"]
3805        [::core::mem::size_of::<WGPURenderPassMaxDrawCount>() - 24usize];
3806    ["Alignment of WGPURenderPassMaxDrawCount"]
3807        [::core::mem::align_of::<WGPURenderPassMaxDrawCount>() - 8usize];
3808    ["Offset of field: WGPURenderPassMaxDrawCount::chain"]
3809        [::core::mem::offset_of!(WGPURenderPassMaxDrawCount, chain) - 0usize];
3810    ["Offset of field: WGPURenderPassMaxDrawCount::maxDrawCount"]
3811        [::core::mem::offset_of!(WGPURenderPassMaxDrawCount, maxDrawCount) - 16usize];
3812};
3813#[repr(C)]
3814#[derive(Debug, Copy, Clone)]
3815pub struct WGPURequestAdapterWebXROptions {
3816    pub chain: WGPUChainedStruct,
3817    pub xrCompatible: WGPUBool,
3818}
3819#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3820const _: () = {
3821    ["Size of WGPURequestAdapterWebXROptions"]
3822        [::core::mem::size_of::<WGPURequestAdapterWebXROptions>() - 24usize];
3823    ["Alignment of WGPURequestAdapterWebXROptions"]
3824        [::core::mem::align_of::<WGPURequestAdapterWebXROptions>() - 8usize];
3825    ["Offset of field: WGPURequestAdapterWebXROptions::chain"]
3826        [::core::mem::offset_of!(WGPURequestAdapterWebXROptions, chain) - 0usize];
3827    ["Offset of field: WGPURequestAdapterWebXROptions::xrCompatible"]
3828        [::core::mem::offset_of!(WGPURequestAdapterWebXROptions, xrCompatible) - 16usize];
3829};
3830#[repr(C)]
3831#[derive(Debug, Copy, Clone)]
3832pub struct WGPUSamplerBindingLayout {
3833    pub nextInChain: *mut WGPUChainedStruct,
3834    pub type_: WGPUSamplerBindingType,
3835}
3836#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3837const _: () = {
3838    ["Size of WGPUSamplerBindingLayout"]
3839        [::core::mem::size_of::<WGPUSamplerBindingLayout>() - 16usize];
3840    ["Alignment of WGPUSamplerBindingLayout"]
3841        [::core::mem::align_of::<WGPUSamplerBindingLayout>() - 8usize];
3842    ["Offset of field: WGPUSamplerBindingLayout::nextInChain"]
3843        [::core::mem::offset_of!(WGPUSamplerBindingLayout, nextInChain) - 0usize];
3844    ["Offset of field: WGPUSamplerBindingLayout::type_"]
3845        [::core::mem::offset_of!(WGPUSamplerBindingLayout, type_) - 8usize];
3846};
3847#[repr(C)]
3848#[derive(Debug, Copy, Clone)]
3849pub struct WGPUShaderModuleCompilationOptions {
3850    pub chain: WGPUChainedStruct,
3851    pub strictMath: WGPUBool,
3852}
3853#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3854const _: () = {
3855    ["Size of WGPUShaderModuleCompilationOptions"]
3856        [::core::mem::size_of::<WGPUShaderModuleCompilationOptions>() - 24usize];
3857    ["Alignment of WGPUShaderModuleCompilationOptions"]
3858        [::core::mem::align_of::<WGPUShaderModuleCompilationOptions>() - 8usize];
3859    ["Offset of field: WGPUShaderModuleCompilationOptions::chain"]
3860        [::core::mem::offset_of!(WGPUShaderModuleCompilationOptions, chain) - 0usize];
3861    ["Offset of field: WGPUShaderModuleCompilationOptions::strictMath"]
3862        [::core::mem::offset_of!(WGPUShaderModuleCompilationOptions, strictMath) - 16usize];
3863};
3864#[repr(C)]
3865#[derive(Debug, Copy, Clone)]
3866pub struct WGPUShaderSourceSPIRV {
3867    pub chain: WGPUChainedStruct,
3868    pub codeSize: u32,
3869    pub code: *const u32,
3870}
3871#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3872const _: () = {
3873    ["Size of WGPUShaderSourceSPIRV"][::core::mem::size_of::<WGPUShaderSourceSPIRV>() - 32usize];
3874    ["Alignment of WGPUShaderSourceSPIRV"]
3875        [::core::mem::align_of::<WGPUShaderSourceSPIRV>() - 8usize];
3876    ["Offset of field: WGPUShaderSourceSPIRV::chain"]
3877        [::core::mem::offset_of!(WGPUShaderSourceSPIRV, chain) - 0usize];
3878    ["Offset of field: WGPUShaderSourceSPIRV::codeSize"]
3879        [::core::mem::offset_of!(WGPUShaderSourceSPIRV, codeSize) - 16usize];
3880    ["Offset of field: WGPUShaderSourceSPIRV::code"]
3881        [::core::mem::offset_of!(WGPUShaderSourceSPIRV, code) - 24usize];
3882};
3883#[repr(C)]
3884#[derive(Debug, Copy, Clone)]
3885pub struct WGPUShaderSourceWGSL {
3886    pub chain: WGPUChainedStruct,
3887    pub code: WGPUStringView,
3888}
3889#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3890const _: () = {
3891    ["Size of WGPUShaderSourceWGSL"][::core::mem::size_of::<WGPUShaderSourceWGSL>() - 32usize];
3892    ["Alignment of WGPUShaderSourceWGSL"][::core::mem::align_of::<WGPUShaderSourceWGSL>() - 8usize];
3893    ["Offset of field: WGPUShaderSourceWGSL::chain"]
3894        [::core::mem::offset_of!(WGPUShaderSourceWGSL, chain) - 0usize];
3895    ["Offset of field: WGPUShaderSourceWGSL::code"]
3896        [::core::mem::offset_of!(WGPUShaderSourceWGSL, code) - 16usize];
3897};
3898#[repr(C)]
3899#[derive(Debug, Copy, Clone)]
3900pub struct WGPUSharedBufferMemoryBeginAccessDescriptor {
3901    pub nextInChain: *mut WGPUChainedStruct,
3902    pub initialized: WGPUBool,
3903    pub fenceCount: usize,
3904    pub fences: *const WGPUSharedFence,
3905    pub signaledValues: *const u64,
3906}
3907#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3908const _: () = {
3909    ["Size of WGPUSharedBufferMemoryBeginAccessDescriptor"]
3910        [::core::mem::size_of::<WGPUSharedBufferMemoryBeginAccessDescriptor>() - 40usize];
3911    ["Alignment of WGPUSharedBufferMemoryBeginAccessDescriptor"]
3912        [::core::mem::align_of::<WGPUSharedBufferMemoryBeginAccessDescriptor>() - 8usize];
3913    ["Offset of field: WGPUSharedBufferMemoryBeginAccessDescriptor::nextInChain"][::core::mem::offset_of!(
3914        WGPUSharedBufferMemoryBeginAccessDescriptor,
3915        nextInChain
3916    ) - 0usize];
3917    ["Offset of field: WGPUSharedBufferMemoryBeginAccessDescriptor::initialized"][::core::mem::offset_of!(
3918        WGPUSharedBufferMemoryBeginAccessDescriptor,
3919        initialized
3920    ) - 8usize];
3921    ["Offset of field: WGPUSharedBufferMemoryBeginAccessDescriptor::fenceCount"][::core::mem::offset_of!(
3922        WGPUSharedBufferMemoryBeginAccessDescriptor,
3923        fenceCount
3924    ) - 16usize];
3925    ["Offset of field: WGPUSharedBufferMemoryBeginAccessDescriptor::fences"]
3926        [::core::mem::offset_of!(WGPUSharedBufferMemoryBeginAccessDescriptor, fences) - 24usize];
3927    ["Offset of field: WGPUSharedBufferMemoryBeginAccessDescriptor::signaledValues"][::core::mem::offset_of!(
3928        WGPUSharedBufferMemoryBeginAccessDescriptor,
3929        signaledValues
3930    ) - 32usize];
3931};
3932#[repr(C)]
3933#[derive(Debug, Copy, Clone)]
3934pub struct WGPUSharedBufferMemoryDescriptor {
3935    pub nextInChain: *mut WGPUChainedStruct,
3936    pub label: WGPUStringView,
3937}
3938#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3939const _: () = {
3940    ["Size of WGPUSharedBufferMemoryDescriptor"]
3941        [::core::mem::size_of::<WGPUSharedBufferMemoryDescriptor>() - 24usize];
3942    ["Alignment of WGPUSharedBufferMemoryDescriptor"]
3943        [::core::mem::align_of::<WGPUSharedBufferMemoryDescriptor>() - 8usize];
3944    ["Offset of field: WGPUSharedBufferMemoryDescriptor::nextInChain"]
3945        [::core::mem::offset_of!(WGPUSharedBufferMemoryDescriptor, nextInChain) - 0usize];
3946    ["Offset of field: WGPUSharedBufferMemoryDescriptor::label"]
3947        [::core::mem::offset_of!(WGPUSharedBufferMemoryDescriptor, label) - 8usize];
3948};
3949#[repr(C)]
3950#[derive(Debug, Copy, Clone)]
3951pub struct WGPUSharedBufferMemoryEndAccessState {
3952    pub nextInChain: *mut WGPUChainedStruct,
3953    pub initialized: WGPUBool,
3954    pub fenceCount: usize,
3955    pub fences: *const WGPUSharedFence,
3956    pub signaledValues: *const u64,
3957}
3958#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3959const _: () = {
3960    ["Size of WGPUSharedBufferMemoryEndAccessState"]
3961        [::core::mem::size_of::<WGPUSharedBufferMemoryEndAccessState>() - 40usize];
3962    ["Alignment of WGPUSharedBufferMemoryEndAccessState"]
3963        [::core::mem::align_of::<WGPUSharedBufferMemoryEndAccessState>() - 8usize];
3964    ["Offset of field: WGPUSharedBufferMemoryEndAccessState::nextInChain"]
3965        [::core::mem::offset_of!(WGPUSharedBufferMemoryEndAccessState, nextInChain) - 0usize];
3966    ["Offset of field: WGPUSharedBufferMemoryEndAccessState::initialized"]
3967        [::core::mem::offset_of!(WGPUSharedBufferMemoryEndAccessState, initialized) - 8usize];
3968    ["Offset of field: WGPUSharedBufferMemoryEndAccessState::fenceCount"]
3969        [::core::mem::offset_of!(WGPUSharedBufferMemoryEndAccessState, fenceCount) - 16usize];
3970    ["Offset of field: WGPUSharedBufferMemoryEndAccessState::fences"]
3971        [::core::mem::offset_of!(WGPUSharedBufferMemoryEndAccessState, fences) - 24usize];
3972    ["Offset of field: WGPUSharedBufferMemoryEndAccessState::signaledValues"]
3973        [::core::mem::offset_of!(WGPUSharedBufferMemoryEndAccessState, signaledValues) - 32usize];
3974};
3975#[repr(C)]
3976#[derive(Debug, Copy, Clone)]
3977pub struct WGPUSharedBufferMemoryProperties {
3978    pub nextInChain: *mut WGPUChainedStruct,
3979    pub usage: WGPUBufferUsage,
3980    pub size: u64,
3981}
3982#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3983const _: () = {
3984    ["Size of WGPUSharedBufferMemoryProperties"]
3985        [::core::mem::size_of::<WGPUSharedBufferMemoryProperties>() - 24usize];
3986    ["Alignment of WGPUSharedBufferMemoryProperties"]
3987        [::core::mem::align_of::<WGPUSharedBufferMemoryProperties>() - 8usize];
3988    ["Offset of field: WGPUSharedBufferMemoryProperties::nextInChain"]
3989        [::core::mem::offset_of!(WGPUSharedBufferMemoryProperties, nextInChain) - 0usize];
3990    ["Offset of field: WGPUSharedBufferMemoryProperties::usage"]
3991        [::core::mem::offset_of!(WGPUSharedBufferMemoryProperties, usage) - 8usize];
3992    ["Offset of field: WGPUSharedBufferMemoryProperties::size"]
3993        [::core::mem::offset_of!(WGPUSharedBufferMemoryProperties, size) - 16usize];
3994};
3995#[repr(C)]
3996#[derive(Debug, Copy, Clone)]
3997pub struct WGPUSharedFenceDXGISharedHandleDescriptor {
3998    pub chain: WGPUChainedStruct,
3999    pub handle: *mut ::core::ffi::c_void,
4000}
4001#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4002const _: () = {
4003    ["Size of WGPUSharedFenceDXGISharedHandleDescriptor"]
4004        [::core::mem::size_of::<WGPUSharedFenceDXGISharedHandleDescriptor>() - 24usize];
4005    ["Alignment of WGPUSharedFenceDXGISharedHandleDescriptor"]
4006        [::core::mem::align_of::<WGPUSharedFenceDXGISharedHandleDescriptor>() - 8usize];
4007    ["Offset of field: WGPUSharedFenceDXGISharedHandleDescriptor::chain"]
4008        [::core::mem::offset_of!(WGPUSharedFenceDXGISharedHandleDescriptor, chain) - 0usize];
4009    ["Offset of field: WGPUSharedFenceDXGISharedHandleDescriptor::handle"]
4010        [::core::mem::offset_of!(WGPUSharedFenceDXGISharedHandleDescriptor, handle) - 16usize];
4011};
4012#[repr(C)]
4013#[derive(Debug, Copy, Clone)]
4014pub struct WGPUSharedFenceDXGISharedHandleExportInfo {
4015    pub chain: WGPUChainedStruct,
4016    pub handle: *mut ::core::ffi::c_void,
4017}
4018#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4019const _: () = {
4020    ["Size of WGPUSharedFenceDXGISharedHandleExportInfo"]
4021        [::core::mem::size_of::<WGPUSharedFenceDXGISharedHandleExportInfo>() - 24usize];
4022    ["Alignment of WGPUSharedFenceDXGISharedHandleExportInfo"]
4023        [::core::mem::align_of::<WGPUSharedFenceDXGISharedHandleExportInfo>() - 8usize];
4024    ["Offset of field: WGPUSharedFenceDXGISharedHandleExportInfo::chain"]
4025        [::core::mem::offset_of!(WGPUSharedFenceDXGISharedHandleExportInfo, chain) - 0usize];
4026    ["Offset of field: WGPUSharedFenceDXGISharedHandleExportInfo::handle"]
4027        [::core::mem::offset_of!(WGPUSharedFenceDXGISharedHandleExportInfo, handle) - 16usize];
4028};
4029#[repr(C)]
4030#[derive(Debug, Copy, Clone)]
4031pub struct WGPUSharedFenceEGLSyncDescriptor {
4032    pub chain: WGPUChainedStruct,
4033    pub sync: *mut ::core::ffi::c_void,
4034}
4035#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4036const _: () = {
4037    ["Size of WGPUSharedFenceEGLSyncDescriptor"]
4038        [::core::mem::size_of::<WGPUSharedFenceEGLSyncDescriptor>() - 24usize];
4039    ["Alignment of WGPUSharedFenceEGLSyncDescriptor"]
4040        [::core::mem::align_of::<WGPUSharedFenceEGLSyncDescriptor>() - 8usize];
4041    ["Offset of field: WGPUSharedFenceEGLSyncDescriptor::chain"]
4042        [::core::mem::offset_of!(WGPUSharedFenceEGLSyncDescriptor, chain) - 0usize];
4043    ["Offset of field: WGPUSharedFenceEGLSyncDescriptor::sync"]
4044        [::core::mem::offset_of!(WGPUSharedFenceEGLSyncDescriptor, sync) - 16usize];
4045};
4046#[repr(C)]
4047#[derive(Debug, Copy, Clone)]
4048pub struct WGPUSharedFenceEGLSyncExportInfo {
4049    pub chain: WGPUChainedStruct,
4050    pub sync: *mut ::core::ffi::c_void,
4051}
4052#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4053const _: () = {
4054    ["Size of WGPUSharedFenceEGLSyncExportInfo"]
4055        [::core::mem::size_of::<WGPUSharedFenceEGLSyncExportInfo>() - 24usize];
4056    ["Alignment of WGPUSharedFenceEGLSyncExportInfo"]
4057        [::core::mem::align_of::<WGPUSharedFenceEGLSyncExportInfo>() - 8usize];
4058    ["Offset of field: WGPUSharedFenceEGLSyncExportInfo::chain"]
4059        [::core::mem::offset_of!(WGPUSharedFenceEGLSyncExportInfo, chain) - 0usize];
4060    ["Offset of field: WGPUSharedFenceEGLSyncExportInfo::sync"]
4061        [::core::mem::offset_of!(WGPUSharedFenceEGLSyncExportInfo, sync) - 16usize];
4062};
4063#[repr(C)]
4064#[derive(Debug, Copy, Clone)]
4065pub struct WGPUSharedFenceMTLSharedEventDescriptor {
4066    pub chain: WGPUChainedStruct,
4067    pub sharedEvent: *mut ::core::ffi::c_void,
4068}
4069#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4070const _: () = {
4071    ["Size of WGPUSharedFenceMTLSharedEventDescriptor"]
4072        [::core::mem::size_of::<WGPUSharedFenceMTLSharedEventDescriptor>() - 24usize];
4073    ["Alignment of WGPUSharedFenceMTLSharedEventDescriptor"]
4074        [::core::mem::align_of::<WGPUSharedFenceMTLSharedEventDescriptor>() - 8usize];
4075    ["Offset of field: WGPUSharedFenceMTLSharedEventDescriptor::chain"]
4076        [::core::mem::offset_of!(WGPUSharedFenceMTLSharedEventDescriptor, chain) - 0usize];
4077    ["Offset of field: WGPUSharedFenceMTLSharedEventDescriptor::sharedEvent"]
4078        [::core::mem::offset_of!(WGPUSharedFenceMTLSharedEventDescriptor, sharedEvent) - 16usize];
4079};
4080#[repr(C)]
4081#[derive(Debug, Copy, Clone)]
4082pub struct WGPUSharedFenceMTLSharedEventExportInfo {
4083    pub chain: WGPUChainedStruct,
4084    pub sharedEvent: *mut ::core::ffi::c_void,
4085}
4086#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4087const _: () = {
4088    ["Size of WGPUSharedFenceMTLSharedEventExportInfo"]
4089        [::core::mem::size_of::<WGPUSharedFenceMTLSharedEventExportInfo>() - 24usize];
4090    ["Alignment of WGPUSharedFenceMTLSharedEventExportInfo"]
4091        [::core::mem::align_of::<WGPUSharedFenceMTLSharedEventExportInfo>() - 8usize];
4092    ["Offset of field: WGPUSharedFenceMTLSharedEventExportInfo::chain"]
4093        [::core::mem::offset_of!(WGPUSharedFenceMTLSharedEventExportInfo, chain) - 0usize];
4094    ["Offset of field: WGPUSharedFenceMTLSharedEventExportInfo::sharedEvent"]
4095        [::core::mem::offset_of!(WGPUSharedFenceMTLSharedEventExportInfo, sharedEvent) - 16usize];
4096};
4097#[repr(C)]
4098#[derive(Debug, Copy, Clone)]
4099pub struct WGPUSharedFenceSyncFDDescriptor {
4100    pub chain: WGPUChainedStruct,
4101    pub handle: ::core::ffi::c_int,
4102}
4103#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4104const _: () = {
4105    ["Size of WGPUSharedFenceSyncFDDescriptor"]
4106        [::core::mem::size_of::<WGPUSharedFenceSyncFDDescriptor>() - 24usize];
4107    ["Alignment of WGPUSharedFenceSyncFDDescriptor"]
4108        [::core::mem::align_of::<WGPUSharedFenceSyncFDDescriptor>() - 8usize];
4109    ["Offset of field: WGPUSharedFenceSyncFDDescriptor::chain"]
4110        [::core::mem::offset_of!(WGPUSharedFenceSyncFDDescriptor, chain) - 0usize];
4111    ["Offset of field: WGPUSharedFenceSyncFDDescriptor::handle"]
4112        [::core::mem::offset_of!(WGPUSharedFenceSyncFDDescriptor, handle) - 16usize];
4113};
4114#[repr(C)]
4115#[derive(Debug, Copy, Clone)]
4116pub struct WGPUSharedFenceSyncFDExportInfo {
4117    pub chain: WGPUChainedStruct,
4118    pub handle: ::core::ffi::c_int,
4119}
4120#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4121const _: () = {
4122    ["Size of WGPUSharedFenceSyncFDExportInfo"]
4123        [::core::mem::size_of::<WGPUSharedFenceSyncFDExportInfo>() - 24usize];
4124    ["Alignment of WGPUSharedFenceSyncFDExportInfo"]
4125        [::core::mem::align_of::<WGPUSharedFenceSyncFDExportInfo>() - 8usize];
4126    ["Offset of field: WGPUSharedFenceSyncFDExportInfo::chain"]
4127        [::core::mem::offset_of!(WGPUSharedFenceSyncFDExportInfo, chain) - 0usize];
4128    ["Offset of field: WGPUSharedFenceSyncFDExportInfo::handle"]
4129        [::core::mem::offset_of!(WGPUSharedFenceSyncFDExportInfo, handle) - 16usize];
4130};
4131#[repr(C)]
4132#[derive(Debug, Copy, Clone)]
4133pub struct WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor {
4134    pub chain: WGPUChainedStruct,
4135    pub handle: ::core::ffi::c_int,
4136}
4137#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4138const _: () = {
4139    ["Size of WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor"]
4140        [::core::mem::size_of::<WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor>() - 24usize];
4141    ["Alignment of WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor"]
4142        [::core::mem::align_of::<WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor>() - 8usize];
4143    ["Offset of field: WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor::chain"]
4144        [::core::mem::offset_of!(WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor, chain) - 0usize];
4145    ["Offset of field: WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor::handle"]
4146        [::core::mem::offset_of!(WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor, handle) - 16usize];
4147};
4148#[repr(C)]
4149#[derive(Debug, Copy, Clone)]
4150pub struct WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo {
4151    pub chain: WGPUChainedStruct,
4152    pub handle: ::core::ffi::c_int,
4153}
4154#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4155const _: () = {
4156    ["Size of WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo"]
4157        [::core::mem::size_of::<WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo>() - 24usize];
4158    ["Alignment of WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo"]
4159        [::core::mem::align_of::<WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo>() - 8usize];
4160    ["Offset of field: WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo::chain"]
4161        [::core::mem::offset_of!(WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo, chain) - 0usize];
4162    ["Offset of field: WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo::handle"]
4163        [::core::mem::offset_of!(WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo, handle) - 16usize];
4164};
4165#[repr(C)]
4166#[derive(Debug, Copy, Clone)]
4167pub struct WGPUSharedFenceVkSemaphoreZirconHandleDescriptor {
4168    pub chain: WGPUChainedStruct,
4169    pub handle: u32,
4170}
4171#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4172const _: () = {
4173    ["Size of WGPUSharedFenceVkSemaphoreZirconHandleDescriptor"]
4174        [::core::mem::size_of::<WGPUSharedFenceVkSemaphoreZirconHandleDescriptor>() - 24usize];
4175    ["Alignment of WGPUSharedFenceVkSemaphoreZirconHandleDescriptor"]
4176        [::core::mem::align_of::<WGPUSharedFenceVkSemaphoreZirconHandleDescriptor>() - 8usize];
4177    ["Offset of field: WGPUSharedFenceVkSemaphoreZirconHandleDescriptor::chain"]
4178        [::core::mem::offset_of!(WGPUSharedFenceVkSemaphoreZirconHandleDescriptor, chain) - 0usize];
4179    ["Offset of field: WGPUSharedFenceVkSemaphoreZirconHandleDescriptor::handle"][::core::mem::offset_of!(
4180        WGPUSharedFenceVkSemaphoreZirconHandleDescriptor,
4181        handle
4182    ) - 16usize];
4183};
4184#[repr(C)]
4185#[derive(Debug, Copy, Clone)]
4186pub struct WGPUSharedFenceVkSemaphoreZirconHandleExportInfo {
4187    pub chain: WGPUChainedStruct,
4188    pub handle: u32,
4189}
4190#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4191const _: () = {
4192    ["Size of WGPUSharedFenceVkSemaphoreZirconHandleExportInfo"]
4193        [::core::mem::size_of::<WGPUSharedFenceVkSemaphoreZirconHandleExportInfo>() - 24usize];
4194    ["Alignment of WGPUSharedFenceVkSemaphoreZirconHandleExportInfo"]
4195        [::core::mem::align_of::<WGPUSharedFenceVkSemaphoreZirconHandleExportInfo>() - 8usize];
4196    ["Offset of field: WGPUSharedFenceVkSemaphoreZirconHandleExportInfo::chain"]
4197        [::core::mem::offset_of!(WGPUSharedFenceVkSemaphoreZirconHandleExportInfo, chain) - 0usize];
4198    ["Offset of field: WGPUSharedFenceVkSemaphoreZirconHandleExportInfo::handle"][::core::mem::offset_of!(
4199        WGPUSharedFenceVkSemaphoreZirconHandleExportInfo,
4200        handle
4201    ) - 16usize];
4202};
4203#[repr(C)]
4204#[derive(Debug, Copy, Clone)]
4205pub struct WGPUSharedTextureMemoryAHardwareBufferDescriptor {
4206    pub chain: WGPUChainedStruct,
4207    pub handle: *mut ::core::ffi::c_void,
4208    pub useExternalFormat: WGPUBool,
4209}
4210#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4211const _: () = {
4212    ["Size of WGPUSharedTextureMemoryAHardwareBufferDescriptor"]
4213        [::core::mem::size_of::<WGPUSharedTextureMemoryAHardwareBufferDescriptor>() - 32usize];
4214    ["Alignment of WGPUSharedTextureMemoryAHardwareBufferDescriptor"]
4215        [::core::mem::align_of::<WGPUSharedTextureMemoryAHardwareBufferDescriptor>() - 8usize];
4216    ["Offset of field: WGPUSharedTextureMemoryAHardwareBufferDescriptor::chain"]
4217        [::core::mem::offset_of!(WGPUSharedTextureMemoryAHardwareBufferDescriptor, chain) - 0usize];
4218    ["Offset of field: WGPUSharedTextureMemoryAHardwareBufferDescriptor::handle"][::core::mem::offset_of!(
4219        WGPUSharedTextureMemoryAHardwareBufferDescriptor,
4220        handle
4221    ) - 16usize];
4222    ["Offset of field: WGPUSharedTextureMemoryAHardwareBufferDescriptor::useExternalFormat"][::core::mem::offset_of!(
4223        WGPUSharedTextureMemoryAHardwareBufferDescriptor,
4224        useExternalFormat
4225    )
4226        - 24usize];
4227};
4228#[repr(C)]
4229#[derive(Debug, Copy, Clone)]
4230pub struct WGPUSharedTextureMemoryD3DSwapchainBeginState {
4231    pub chain: WGPUChainedStruct,
4232    pub isSwapchain: WGPUBool,
4233}
4234#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4235const _: () = {
4236    ["Size of WGPUSharedTextureMemoryD3DSwapchainBeginState"]
4237        [::core::mem::size_of::<WGPUSharedTextureMemoryD3DSwapchainBeginState>() - 24usize];
4238    ["Alignment of WGPUSharedTextureMemoryD3DSwapchainBeginState"]
4239        [::core::mem::align_of::<WGPUSharedTextureMemoryD3DSwapchainBeginState>() - 8usize];
4240    ["Offset of field: WGPUSharedTextureMemoryD3DSwapchainBeginState::chain"]
4241        [::core::mem::offset_of!(WGPUSharedTextureMemoryD3DSwapchainBeginState, chain) - 0usize];
4242    ["Offset of field: WGPUSharedTextureMemoryD3DSwapchainBeginState::isSwapchain"][::core::mem::offset_of!(
4243        WGPUSharedTextureMemoryD3DSwapchainBeginState,
4244        isSwapchain
4245    ) - 16usize];
4246};
4247#[repr(C)]
4248#[derive(Debug, Copy, Clone)]
4249pub struct WGPUSharedTextureMemoryDmaBufPlane {
4250    pub fd: ::core::ffi::c_int,
4251    pub offset: u64,
4252    pub stride: u32,
4253}
4254#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4255const _: () = {
4256    ["Size of WGPUSharedTextureMemoryDmaBufPlane"]
4257        [::core::mem::size_of::<WGPUSharedTextureMemoryDmaBufPlane>() - 24usize];
4258    ["Alignment of WGPUSharedTextureMemoryDmaBufPlane"]
4259        [::core::mem::align_of::<WGPUSharedTextureMemoryDmaBufPlane>() - 8usize];
4260    ["Offset of field: WGPUSharedTextureMemoryDmaBufPlane::fd"]
4261        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufPlane, fd) - 0usize];
4262    ["Offset of field: WGPUSharedTextureMemoryDmaBufPlane::offset"]
4263        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufPlane, offset) - 8usize];
4264    ["Offset of field: WGPUSharedTextureMemoryDmaBufPlane::stride"]
4265        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufPlane, stride) - 16usize];
4266};
4267#[repr(C)]
4268#[derive(Debug, Copy, Clone)]
4269pub struct WGPUSharedTextureMemoryDXGISharedHandleDescriptor {
4270    pub chain: WGPUChainedStruct,
4271    pub handle: *mut ::core::ffi::c_void,
4272    pub useKeyedMutex: WGPUBool,
4273}
4274#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4275const _: () = {
4276    ["Size of WGPUSharedTextureMemoryDXGISharedHandleDescriptor"]
4277        [::core::mem::size_of::<WGPUSharedTextureMemoryDXGISharedHandleDescriptor>() - 32usize];
4278    ["Alignment of WGPUSharedTextureMemoryDXGISharedHandleDescriptor"]
4279        [::core::mem::align_of::<WGPUSharedTextureMemoryDXGISharedHandleDescriptor>() - 8usize];
4280    ["Offset of field: WGPUSharedTextureMemoryDXGISharedHandleDescriptor::chain"][::core::mem::offset_of!(
4281        WGPUSharedTextureMemoryDXGISharedHandleDescriptor,
4282        chain
4283    ) - 0usize];
4284    ["Offset of field: WGPUSharedTextureMemoryDXGISharedHandleDescriptor::handle"][::core::mem::offset_of!(
4285        WGPUSharedTextureMemoryDXGISharedHandleDescriptor,
4286        handle
4287    ) - 16usize];
4288    ["Offset of field: WGPUSharedTextureMemoryDXGISharedHandleDescriptor::useKeyedMutex"][::core::mem::offset_of!(
4289        WGPUSharedTextureMemoryDXGISharedHandleDescriptor,
4290        useKeyedMutex
4291    )
4292        - 24usize];
4293};
4294#[repr(C)]
4295#[derive(Debug, Copy, Clone)]
4296pub struct WGPUSharedTextureMemoryEGLImageDescriptor {
4297    pub chain: WGPUChainedStruct,
4298    pub image: *mut ::core::ffi::c_void,
4299}
4300#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4301const _: () = {
4302    ["Size of WGPUSharedTextureMemoryEGLImageDescriptor"]
4303        [::core::mem::size_of::<WGPUSharedTextureMemoryEGLImageDescriptor>() - 24usize];
4304    ["Alignment of WGPUSharedTextureMemoryEGLImageDescriptor"]
4305        [::core::mem::align_of::<WGPUSharedTextureMemoryEGLImageDescriptor>() - 8usize];
4306    ["Offset of field: WGPUSharedTextureMemoryEGLImageDescriptor::chain"]
4307        [::core::mem::offset_of!(WGPUSharedTextureMemoryEGLImageDescriptor, chain) - 0usize];
4308    ["Offset of field: WGPUSharedTextureMemoryEGLImageDescriptor::image"]
4309        [::core::mem::offset_of!(WGPUSharedTextureMemoryEGLImageDescriptor, image) - 16usize];
4310};
4311#[repr(C)]
4312#[derive(Debug, Copy, Clone)]
4313pub struct WGPUSharedTextureMemoryIOSurfaceDescriptor {
4314    pub chain: WGPUChainedStruct,
4315    pub ioSurface: *mut ::core::ffi::c_void,
4316    pub allowStorageBinding: WGPUBool,
4317}
4318#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4319const _: () = {
4320    ["Size of WGPUSharedTextureMemoryIOSurfaceDescriptor"]
4321        [::core::mem::size_of::<WGPUSharedTextureMemoryIOSurfaceDescriptor>() - 32usize];
4322    ["Alignment of WGPUSharedTextureMemoryIOSurfaceDescriptor"]
4323        [::core::mem::align_of::<WGPUSharedTextureMemoryIOSurfaceDescriptor>() - 8usize];
4324    ["Offset of field: WGPUSharedTextureMemoryIOSurfaceDescriptor::chain"]
4325        [::core::mem::offset_of!(WGPUSharedTextureMemoryIOSurfaceDescriptor, chain) - 0usize];
4326    ["Offset of field: WGPUSharedTextureMemoryIOSurfaceDescriptor::ioSurface"]
4327        [::core::mem::offset_of!(WGPUSharedTextureMemoryIOSurfaceDescriptor, ioSurface) - 16usize];
4328    ["Offset of field: WGPUSharedTextureMemoryIOSurfaceDescriptor::allowStorageBinding"][::core::mem::offset_of!(
4329        WGPUSharedTextureMemoryIOSurfaceDescriptor,
4330        allowStorageBinding
4331    )
4332        - 24usize];
4333};
4334#[repr(C)]
4335#[derive(Debug, Copy, Clone)]
4336pub struct WGPUSharedTextureMemoryOpaqueFDDescriptor {
4337    pub chain: WGPUChainedStruct,
4338    pub vkImageCreateInfo: *const ::core::ffi::c_void,
4339    pub memoryFD: ::core::ffi::c_int,
4340    pub memoryTypeIndex: u32,
4341    pub allocationSize: u64,
4342    pub dedicatedAllocation: WGPUBool,
4343}
4344#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4345const _: () = {
4346    ["Size of WGPUSharedTextureMemoryOpaqueFDDescriptor"]
4347        [::core::mem::size_of::<WGPUSharedTextureMemoryOpaqueFDDescriptor>() - 48usize];
4348    ["Alignment of WGPUSharedTextureMemoryOpaqueFDDescriptor"]
4349        [::core::mem::align_of::<WGPUSharedTextureMemoryOpaqueFDDescriptor>() - 8usize];
4350    ["Offset of field: WGPUSharedTextureMemoryOpaqueFDDescriptor::chain"]
4351        [::core::mem::offset_of!(WGPUSharedTextureMemoryOpaqueFDDescriptor, chain) - 0usize];
4352    ["Offset of field: WGPUSharedTextureMemoryOpaqueFDDescriptor::vkImageCreateInfo"][::core::mem::offset_of!(
4353        WGPUSharedTextureMemoryOpaqueFDDescriptor,
4354        vkImageCreateInfo
4355    ) - 16usize];
4356    ["Offset of field: WGPUSharedTextureMemoryOpaqueFDDescriptor::memoryFD"]
4357        [::core::mem::offset_of!(WGPUSharedTextureMemoryOpaqueFDDescriptor, memoryFD) - 24usize];
4358    ["Offset of field: WGPUSharedTextureMemoryOpaqueFDDescriptor::memoryTypeIndex"][::core::mem::offset_of!(
4359        WGPUSharedTextureMemoryOpaqueFDDescriptor,
4360        memoryTypeIndex
4361    ) - 28usize];
4362    ["Offset of field: WGPUSharedTextureMemoryOpaqueFDDescriptor::allocationSize"][::core::mem::offset_of!(
4363        WGPUSharedTextureMemoryOpaqueFDDescriptor,
4364        allocationSize
4365    ) - 32usize];
4366    ["Offset of field: WGPUSharedTextureMemoryOpaqueFDDescriptor::dedicatedAllocation"][::core::mem::offset_of!(
4367        WGPUSharedTextureMemoryOpaqueFDDescriptor,
4368        dedicatedAllocation
4369    )
4370        - 40usize];
4371};
4372#[repr(C)]
4373#[derive(Debug, Copy, Clone)]
4374pub struct WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor {
4375    pub chain: WGPUChainedStruct,
4376    pub dedicatedAllocation: WGPUBool,
4377}
4378#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4379const _: () = {
4380    ["Size of WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor"][::core::mem::size_of::<
4381        WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor,
4382    >() - 24usize];
4383    ["Alignment of WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor"][::core::mem::align_of::<
4384        WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor,
4385    >() - 8usize];
4386    ["Offset of field: WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor::chain"][::core::mem::offset_of!(
4387        WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor,
4388        chain
4389    ) - 0usize];
4390    ["Offset of field: WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor::dedicatedAllocation"] [:: core :: mem :: offset_of ! (WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor , dedicatedAllocation) - 16usize] ;
4391};
4392#[repr(C)]
4393#[derive(Debug, Copy, Clone)]
4394pub struct WGPUSharedTextureMemoryVkImageLayoutBeginState {
4395    pub chain: WGPUChainedStruct,
4396    pub oldLayout: i32,
4397    pub newLayout: i32,
4398}
4399#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4400const _: () = {
4401    ["Size of WGPUSharedTextureMemoryVkImageLayoutBeginState"]
4402        [::core::mem::size_of::<WGPUSharedTextureMemoryVkImageLayoutBeginState>() - 24usize];
4403    ["Alignment of WGPUSharedTextureMemoryVkImageLayoutBeginState"]
4404        [::core::mem::align_of::<WGPUSharedTextureMemoryVkImageLayoutBeginState>() - 8usize];
4405    ["Offset of field: WGPUSharedTextureMemoryVkImageLayoutBeginState::chain"]
4406        [::core::mem::offset_of!(WGPUSharedTextureMemoryVkImageLayoutBeginState, chain) - 0usize];
4407    ["Offset of field: WGPUSharedTextureMemoryVkImageLayoutBeginState::oldLayout"][::core::mem::offset_of!(
4408        WGPUSharedTextureMemoryVkImageLayoutBeginState,
4409        oldLayout
4410    ) - 16usize];
4411    ["Offset of field: WGPUSharedTextureMemoryVkImageLayoutBeginState::newLayout"][::core::mem::offset_of!(
4412        WGPUSharedTextureMemoryVkImageLayoutBeginState,
4413        newLayout
4414    ) - 20usize];
4415};
4416#[repr(C)]
4417#[derive(Debug, Copy, Clone)]
4418pub struct WGPUSharedTextureMemoryVkImageLayoutEndState {
4419    pub chain: WGPUChainedStruct,
4420    pub oldLayout: i32,
4421    pub newLayout: i32,
4422}
4423#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4424const _: () = {
4425    ["Size of WGPUSharedTextureMemoryVkImageLayoutEndState"]
4426        [::core::mem::size_of::<WGPUSharedTextureMemoryVkImageLayoutEndState>() - 24usize];
4427    ["Alignment of WGPUSharedTextureMemoryVkImageLayoutEndState"]
4428        [::core::mem::align_of::<WGPUSharedTextureMemoryVkImageLayoutEndState>() - 8usize];
4429    ["Offset of field: WGPUSharedTextureMemoryVkImageLayoutEndState::chain"]
4430        [::core::mem::offset_of!(WGPUSharedTextureMemoryVkImageLayoutEndState, chain) - 0usize];
4431    ["Offset of field: WGPUSharedTextureMemoryVkImageLayoutEndState::oldLayout"][::core::mem::offset_of!(
4432        WGPUSharedTextureMemoryVkImageLayoutEndState,
4433        oldLayout
4434    ) - 16usize];
4435    ["Offset of field: WGPUSharedTextureMemoryVkImageLayoutEndState::newLayout"][::core::mem::offset_of!(
4436        WGPUSharedTextureMemoryVkImageLayoutEndState,
4437        newLayout
4438    ) - 20usize];
4439};
4440#[repr(C)]
4441#[derive(Debug, Copy, Clone)]
4442pub struct WGPUSharedTextureMemoryZirconHandleDescriptor {
4443    pub chain: WGPUChainedStruct,
4444    pub memoryFD: u32,
4445    pub allocationSize: u64,
4446}
4447#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4448const _: () = {
4449    ["Size of WGPUSharedTextureMemoryZirconHandleDescriptor"]
4450        [::core::mem::size_of::<WGPUSharedTextureMemoryZirconHandleDescriptor>() - 32usize];
4451    ["Alignment of WGPUSharedTextureMemoryZirconHandleDescriptor"]
4452        [::core::mem::align_of::<WGPUSharedTextureMemoryZirconHandleDescriptor>() - 8usize];
4453    ["Offset of field: WGPUSharedTextureMemoryZirconHandleDescriptor::chain"]
4454        [::core::mem::offset_of!(WGPUSharedTextureMemoryZirconHandleDescriptor, chain) - 0usize];
4455    ["Offset of field: WGPUSharedTextureMemoryZirconHandleDescriptor::memoryFD"][::core::mem::offset_of!(
4456        WGPUSharedTextureMemoryZirconHandleDescriptor,
4457        memoryFD
4458    ) - 16usize];
4459    ["Offset of field: WGPUSharedTextureMemoryZirconHandleDescriptor::allocationSize"][::core::mem::offset_of!(
4460        WGPUSharedTextureMemoryZirconHandleDescriptor,
4461        allocationSize
4462    ) - 24usize];
4463};
4464#[repr(C)]
4465#[derive(Debug, Copy, Clone)]
4466pub struct WGPUStaticSamplerBindingLayout {
4467    pub chain: WGPUChainedStruct,
4468    pub sampler: WGPUSampler,
4469    pub sampledTextureBinding: u32,
4470}
4471#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4472const _: () = {
4473    ["Size of WGPUStaticSamplerBindingLayout"]
4474        [::core::mem::size_of::<WGPUStaticSamplerBindingLayout>() - 32usize];
4475    ["Alignment of WGPUStaticSamplerBindingLayout"]
4476        [::core::mem::align_of::<WGPUStaticSamplerBindingLayout>() - 8usize];
4477    ["Offset of field: WGPUStaticSamplerBindingLayout::chain"]
4478        [::core::mem::offset_of!(WGPUStaticSamplerBindingLayout, chain) - 0usize];
4479    ["Offset of field: WGPUStaticSamplerBindingLayout::sampler"]
4480        [::core::mem::offset_of!(WGPUStaticSamplerBindingLayout, sampler) - 16usize];
4481    ["Offset of field: WGPUStaticSamplerBindingLayout::sampledTextureBinding"]
4482        [::core::mem::offset_of!(WGPUStaticSamplerBindingLayout, sampledTextureBinding) - 24usize];
4483};
4484#[repr(C)]
4485#[derive(Debug, Copy, Clone)]
4486pub struct WGPUStencilFaceState {
4487    pub compare: WGPUCompareFunction,
4488    pub failOp: WGPUStencilOperation,
4489    pub depthFailOp: WGPUStencilOperation,
4490    pub passOp: WGPUStencilOperation,
4491}
4492#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4493const _: () = {
4494    ["Size of WGPUStencilFaceState"][::core::mem::size_of::<WGPUStencilFaceState>() - 16usize];
4495    ["Alignment of WGPUStencilFaceState"][::core::mem::align_of::<WGPUStencilFaceState>() - 4usize];
4496    ["Offset of field: WGPUStencilFaceState::compare"]
4497        [::core::mem::offset_of!(WGPUStencilFaceState, compare) - 0usize];
4498    ["Offset of field: WGPUStencilFaceState::failOp"]
4499        [::core::mem::offset_of!(WGPUStencilFaceState, failOp) - 4usize];
4500    ["Offset of field: WGPUStencilFaceState::depthFailOp"]
4501        [::core::mem::offset_of!(WGPUStencilFaceState, depthFailOp) - 8usize];
4502    ["Offset of field: WGPUStencilFaceState::passOp"]
4503        [::core::mem::offset_of!(WGPUStencilFaceState, passOp) - 12usize];
4504};
4505#[repr(C)]
4506#[derive(Debug, Copy, Clone)]
4507pub struct WGPUStorageTextureBindingLayout {
4508    pub nextInChain: *mut WGPUChainedStruct,
4509    pub access: WGPUStorageTextureAccess,
4510    pub format: WGPUTextureFormat,
4511    pub viewDimension: WGPUTextureViewDimension,
4512}
4513#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4514const _: () = {
4515    ["Size of WGPUStorageTextureBindingLayout"]
4516        [::core::mem::size_of::<WGPUStorageTextureBindingLayout>() - 24usize];
4517    ["Alignment of WGPUStorageTextureBindingLayout"]
4518        [::core::mem::align_of::<WGPUStorageTextureBindingLayout>() - 8usize];
4519    ["Offset of field: WGPUStorageTextureBindingLayout::nextInChain"]
4520        [::core::mem::offset_of!(WGPUStorageTextureBindingLayout, nextInChain) - 0usize];
4521    ["Offset of field: WGPUStorageTextureBindingLayout::access"]
4522        [::core::mem::offset_of!(WGPUStorageTextureBindingLayout, access) - 8usize];
4523    ["Offset of field: WGPUStorageTextureBindingLayout::format"]
4524        [::core::mem::offset_of!(WGPUStorageTextureBindingLayout, format) - 12usize];
4525    ["Offset of field: WGPUStorageTextureBindingLayout::viewDimension"]
4526        [::core::mem::offset_of!(WGPUStorageTextureBindingLayout, viewDimension) - 16usize];
4527};
4528#[repr(C)]
4529#[derive(Debug, Copy, Clone)]
4530pub struct WGPUSubgroupMatrixConfig {
4531    pub componentType: WGPUSubgroupMatrixComponentType,
4532    pub resultComponentType: WGPUSubgroupMatrixComponentType,
4533    pub M: u32,
4534    pub N: u32,
4535    pub K: u32,
4536}
4537#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4538const _: () = {
4539    ["Size of WGPUSubgroupMatrixConfig"]
4540        [::core::mem::size_of::<WGPUSubgroupMatrixConfig>() - 20usize];
4541    ["Alignment of WGPUSubgroupMatrixConfig"]
4542        [::core::mem::align_of::<WGPUSubgroupMatrixConfig>() - 4usize];
4543    ["Offset of field: WGPUSubgroupMatrixConfig::componentType"]
4544        [::core::mem::offset_of!(WGPUSubgroupMatrixConfig, componentType) - 0usize];
4545    ["Offset of field: WGPUSubgroupMatrixConfig::resultComponentType"]
4546        [::core::mem::offset_of!(WGPUSubgroupMatrixConfig, resultComponentType) - 4usize];
4547    ["Offset of field: WGPUSubgroupMatrixConfig::M"]
4548        [::core::mem::offset_of!(WGPUSubgroupMatrixConfig, M) - 8usize];
4549    ["Offset of field: WGPUSubgroupMatrixConfig::N"]
4550        [::core::mem::offset_of!(WGPUSubgroupMatrixConfig, N) - 12usize];
4551    ["Offset of field: WGPUSubgroupMatrixConfig::K"]
4552        [::core::mem::offset_of!(WGPUSubgroupMatrixConfig, K) - 16usize];
4553};
4554#[repr(C)]
4555#[derive(Debug, Copy, Clone)]
4556pub struct WGPUSupportedFeatures {
4557    pub featureCount: usize,
4558    pub features: *const WGPUFeatureName,
4559}
4560#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4561const _: () = {
4562    ["Size of WGPUSupportedFeatures"][::core::mem::size_of::<WGPUSupportedFeatures>() - 16usize];
4563    ["Alignment of WGPUSupportedFeatures"]
4564        [::core::mem::align_of::<WGPUSupportedFeatures>() - 8usize];
4565    ["Offset of field: WGPUSupportedFeatures::featureCount"]
4566        [::core::mem::offset_of!(WGPUSupportedFeatures, featureCount) - 0usize];
4567    ["Offset of field: WGPUSupportedFeatures::features"]
4568        [::core::mem::offset_of!(WGPUSupportedFeatures, features) - 8usize];
4569};
4570#[repr(C)]
4571#[derive(Debug, Copy, Clone)]
4572pub struct WGPUSupportedWGSLLanguageFeatures {
4573    pub featureCount: usize,
4574    pub features: *const WGPUWGSLLanguageFeatureName,
4575}
4576#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4577const _: () = {
4578    ["Size of WGPUSupportedWGSLLanguageFeatures"]
4579        [::core::mem::size_of::<WGPUSupportedWGSLLanguageFeatures>() - 16usize];
4580    ["Alignment of WGPUSupportedWGSLLanguageFeatures"]
4581        [::core::mem::align_of::<WGPUSupportedWGSLLanguageFeatures>() - 8usize];
4582    ["Offset of field: WGPUSupportedWGSLLanguageFeatures::featureCount"]
4583        [::core::mem::offset_of!(WGPUSupportedWGSLLanguageFeatures, featureCount) - 0usize];
4584    ["Offset of field: WGPUSupportedWGSLLanguageFeatures::features"]
4585        [::core::mem::offset_of!(WGPUSupportedWGSLLanguageFeatures, features) - 8usize];
4586};
4587#[repr(C)]
4588#[derive(Debug, Copy, Clone)]
4589pub struct WGPUSurfaceCapabilities {
4590    pub nextInChain: *mut WGPUChainedStruct,
4591    pub usages: WGPUTextureUsage,
4592    pub formatCount: usize,
4593    pub formats: *const WGPUTextureFormat,
4594    pub presentModeCount: usize,
4595    pub presentModes: *const WGPUPresentMode,
4596    pub alphaModeCount: usize,
4597    pub alphaModes: *const WGPUCompositeAlphaMode,
4598}
4599#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4600const _: () = {
4601    ["Size of WGPUSurfaceCapabilities"]
4602        [::core::mem::size_of::<WGPUSurfaceCapabilities>() - 64usize];
4603    ["Alignment of WGPUSurfaceCapabilities"]
4604        [::core::mem::align_of::<WGPUSurfaceCapabilities>() - 8usize];
4605    ["Offset of field: WGPUSurfaceCapabilities::nextInChain"]
4606        [::core::mem::offset_of!(WGPUSurfaceCapabilities, nextInChain) - 0usize];
4607    ["Offset of field: WGPUSurfaceCapabilities::usages"]
4608        [::core::mem::offset_of!(WGPUSurfaceCapabilities, usages) - 8usize];
4609    ["Offset of field: WGPUSurfaceCapabilities::formatCount"]
4610        [::core::mem::offset_of!(WGPUSurfaceCapabilities, formatCount) - 16usize];
4611    ["Offset of field: WGPUSurfaceCapabilities::formats"]
4612        [::core::mem::offset_of!(WGPUSurfaceCapabilities, formats) - 24usize];
4613    ["Offset of field: WGPUSurfaceCapabilities::presentModeCount"]
4614        [::core::mem::offset_of!(WGPUSurfaceCapabilities, presentModeCount) - 32usize];
4615    ["Offset of field: WGPUSurfaceCapabilities::presentModes"]
4616        [::core::mem::offset_of!(WGPUSurfaceCapabilities, presentModes) - 40usize];
4617    ["Offset of field: WGPUSurfaceCapabilities::alphaModeCount"]
4618        [::core::mem::offset_of!(WGPUSurfaceCapabilities, alphaModeCount) - 48usize];
4619    ["Offset of field: WGPUSurfaceCapabilities::alphaModes"]
4620        [::core::mem::offset_of!(WGPUSurfaceCapabilities, alphaModes) - 56usize];
4621};
4622#[repr(C)]
4623#[derive(Debug, Copy, Clone)]
4624pub struct WGPUSurfaceColorManagement {
4625    pub chain: WGPUChainedStruct,
4626    pub colorSpace: WGPUPredefinedColorSpace,
4627    pub toneMappingMode: WGPUToneMappingMode,
4628}
4629#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4630const _: () = {
4631    ["Size of WGPUSurfaceColorManagement"]
4632        [::core::mem::size_of::<WGPUSurfaceColorManagement>() - 24usize];
4633    ["Alignment of WGPUSurfaceColorManagement"]
4634        [::core::mem::align_of::<WGPUSurfaceColorManagement>() - 8usize];
4635    ["Offset of field: WGPUSurfaceColorManagement::chain"]
4636        [::core::mem::offset_of!(WGPUSurfaceColorManagement, chain) - 0usize];
4637    ["Offset of field: WGPUSurfaceColorManagement::colorSpace"]
4638        [::core::mem::offset_of!(WGPUSurfaceColorManagement, colorSpace) - 16usize];
4639    ["Offset of field: WGPUSurfaceColorManagement::toneMappingMode"]
4640        [::core::mem::offset_of!(WGPUSurfaceColorManagement, toneMappingMode) - 20usize];
4641};
4642#[repr(C)]
4643#[derive(Debug, Copy, Clone)]
4644pub struct WGPUSurfaceConfiguration {
4645    pub nextInChain: *mut WGPUChainedStruct,
4646    pub device: WGPUDevice,
4647    pub format: WGPUTextureFormat,
4648    pub usage: WGPUTextureUsage,
4649    pub width: u32,
4650    pub height: u32,
4651    pub viewFormatCount: usize,
4652    pub viewFormats: *const WGPUTextureFormat,
4653    pub alphaMode: WGPUCompositeAlphaMode,
4654    pub presentMode: WGPUPresentMode,
4655}
4656#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4657const _: () = {
4658    ["Size of WGPUSurfaceConfiguration"]
4659        [::core::mem::size_of::<WGPUSurfaceConfiguration>() - 64usize];
4660    ["Alignment of WGPUSurfaceConfiguration"]
4661        [::core::mem::align_of::<WGPUSurfaceConfiguration>() - 8usize];
4662    ["Offset of field: WGPUSurfaceConfiguration::nextInChain"]
4663        [::core::mem::offset_of!(WGPUSurfaceConfiguration, nextInChain) - 0usize];
4664    ["Offset of field: WGPUSurfaceConfiguration::device"]
4665        [::core::mem::offset_of!(WGPUSurfaceConfiguration, device) - 8usize];
4666    ["Offset of field: WGPUSurfaceConfiguration::format"]
4667        [::core::mem::offset_of!(WGPUSurfaceConfiguration, format) - 16usize];
4668    ["Offset of field: WGPUSurfaceConfiguration::usage"]
4669        [::core::mem::offset_of!(WGPUSurfaceConfiguration, usage) - 24usize];
4670    ["Offset of field: WGPUSurfaceConfiguration::width"]
4671        [::core::mem::offset_of!(WGPUSurfaceConfiguration, width) - 32usize];
4672    ["Offset of field: WGPUSurfaceConfiguration::height"]
4673        [::core::mem::offset_of!(WGPUSurfaceConfiguration, height) - 36usize];
4674    ["Offset of field: WGPUSurfaceConfiguration::viewFormatCount"]
4675        [::core::mem::offset_of!(WGPUSurfaceConfiguration, viewFormatCount) - 40usize];
4676    ["Offset of field: WGPUSurfaceConfiguration::viewFormats"]
4677        [::core::mem::offset_of!(WGPUSurfaceConfiguration, viewFormats) - 48usize];
4678    ["Offset of field: WGPUSurfaceConfiguration::alphaMode"]
4679        [::core::mem::offset_of!(WGPUSurfaceConfiguration, alphaMode) - 56usize];
4680    ["Offset of field: WGPUSurfaceConfiguration::presentMode"]
4681        [::core::mem::offset_of!(WGPUSurfaceConfiguration, presentMode) - 60usize];
4682};
4683#[repr(C)]
4684#[derive(Debug, Copy, Clone)]
4685pub struct WGPUSurfaceDescriptorFromWindowsCoreWindow {
4686    pub chain: WGPUChainedStruct,
4687    pub coreWindow: *mut ::core::ffi::c_void,
4688}
4689#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4690const _: () = {
4691    ["Size of WGPUSurfaceDescriptorFromWindowsCoreWindow"]
4692        [::core::mem::size_of::<WGPUSurfaceDescriptorFromWindowsCoreWindow>() - 24usize];
4693    ["Alignment of WGPUSurfaceDescriptorFromWindowsCoreWindow"]
4694        [::core::mem::align_of::<WGPUSurfaceDescriptorFromWindowsCoreWindow>() - 8usize];
4695    ["Offset of field: WGPUSurfaceDescriptorFromWindowsCoreWindow::chain"]
4696        [::core::mem::offset_of!(WGPUSurfaceDescriptorFromWindowsCoreWindow, chain) - 0usize];
4697    ["Offset of field: WGPUSurfaceDescriptorFromWindowsCoreWindow::coreWindow"]
4698        [::core::mem::offset_of!(WGPUSurfaceDescriptorFromWindowsCoreWindow, coreWindow) - 16usize];
4699};
4700#[repr(C)]
4701#[derive(Debug, Copy, Clone)]
4702pub struct WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel {
4703    pub chain: WGPUChainedStruct,
4704    pub swapChainPanel: *mut ::core::ffi::c_void,
4705}
4706#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4707const _: () = {
4708    ["Size of WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel"]
4709        [::core::mem::size_of::<WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel>() - 24usize];
4710    ["Alignment of WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel"]
4711        [::core::mem::align_of::<WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel>() - 8usize];
4712    ["Offset of field: WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel::chain"][::core::mem::offset_of!(
4713        WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel,
4714        chain
4715    ) - 0usize];
4716    ["Offset of field: WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel::swapChainPanel"][::core::mem::offset_of!(
4717        WGPUSurfaceDescriptorFromWindowsUWPSwapChainPanel,
4718        swapChainPanel
4719    )
4720        - 16usize];
4721};
4722#[repr(C)]
4723#[derive(Debug, Copy, Clone)]
4724pub struct WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel {
4725    pub chain: WGPUChainedStruct,
4726    pub swapChainPanel: *mut ::core::ffi::c_void,
4727}
4728#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4729const _: () = {
4730    ["Size of WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel"]
4731        [::core::mem::size_of::<WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel>() - 24usize];
4732    ["Alignment of WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel"]
4733        [::core::mem::align_of::<WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel>() - 8usize];
4734    ["Offset of field: WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel::chain"][::core::mem::offset_of!(
4735        WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel,
4736        chain
4737    ) - 0usize];
4738    ["Offset of field: WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel::swapChainPanel"][::core::mem::offset_of!(
4739        WGPUSurfaceDescriptorFromWindowsWinUISwapChainPanel,
4740        swapChainPanel
4741    )
4742        - 16usize];
4743};
4744#[repr(C)]
4745#[derive(Debug, Copy, Clone)]
4746pub struct WGPUSurfaceSourceAndroidNativeWindow {
4747    pub chain: WGPUChainedStruct,
4748    pub window: *mut ::core::ffi::c_void,
4749}
4750#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4751const _: () = {
4752    ["Size of WGPUSurfaceSourceAndroidNativeWindow"]
4753        [::core::mem::size_of::<WGPUSurfaceSourceAndroidNativeWindow>() - 24usize];
4754    ["Alignment of WGPUSurfaceSourceAndroidNativeWindow"]
4755        [::core::mem::align_of::<WGPUSurfaceSourceAndroidNativeWindow>() - 8usize];
4756    ["Offset of field: WGPUSurfaceSourceAndroidNativeWindow::chain"]
4757        [::core::mem::offset_of!(WGPUSurfaceSourceAndroidNativeWindow, chain) - 0usize];
4758    ["Offset of field: WGPUSurfaceSourceAndroidNativeWindow::window"]
4759        [::core::mem::offset_of!(WGPUSurfaceSourceAndroidNativeWindow, window) - 16usize];
4760};
4761#[repr(C)]
4762#[derive(Debug, Copy, Clone)]
4763pub struct WGPUSurfaceSourceMetalLayer {
4764    pub chain: WGPUChainedStruct,
4765    pub layer: *mut ::core::ffi::c_void,
4766}
4767#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4768const _: () = {
4769    ["Size of WGPUSurfaceSourceMetalLayer"]
4770        [::core::mem::size_of::<WGPUSurfaceSourceMetalLayer>() - 24usize];
4771    ["Alignment of WGPUSurfaceSourceMetalLayer"]
4772        [::core::mem::align_of::<WGPUSurfaceSourceMetalLayer>() - 8usize];
4773    ["Offset of field: WGPUSurfaceSourceMetalLayer::chain"]
4774        [::core::mem::offset_of!(WGPUSurfaceSourceMetalLayer, chain) - 0usize];
4775    ["Offset of field: WGPUSurfaceSourceMetalLayer::layer"]
4776        [::core::mem::offset_of!(WGPUSurfaceSourceMetalLayer, layer) - 16usize];
4777};
4778#[repr(C)]
4779#[derive(Debug, Copy, Clone)]
4780pub struct WGPUSurfaceSourceWaylandSurface {
4781    pub chain: WGPUChainedStruct,
4782    pub display: *mut ::core::ffi::c_void,
4783    pub surface: *mut ::core::ffi::c_void,
4784}
4785#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4786const _: () = {
4787    ["Size of WGPUSurfaceSourceWaylandSurface"]
4788        [::core::mem::size_of::<WGPUSurfaceSourceWaylandSurface>() - 32usize];
4789    ["Alignment of WGPUSurfaceSourceWaylandSurface"]
4790        [::core::mem::align_of::<WGPUSurfaceSourceWaylandSurface>() - 8usize];
4791    ["Offset of field: WGPUSurfaceSourceWaylandSurface::chain"]
4792        [::core::mem::offset_of!(WGPUSurfaceSourceWaylandSurface, chain) - 0usize];
4793    ["Offset of field: WGPUSurfaceSourceWaylandSurface::display"]
4794        [::core::mem::offset_of!(WGPUSurfaceSourceWaylandSurface, display) - 16usize];
4795    ["Offset of field: WGPUSurfaceSourceWaylandSurface::surface"]
4796        [::core::mem::offset_of!(WGPUSurfaceSourceWaylandSurface, surface) - 24usize];
4797};
4798#[repr(C)]
4799#[derive(Debug, Copy, Clone)]
4800pub struct WGPUSurfaceSourceWindowsHWND {
4801    pub chain: WGPUChainedStruct,
4802    pub hinstance: *mut ::core::ffi::c_void,
4803    pub hwnd: *mut ::core::ffi::c_void,
4804}
4805#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4806const _: () = {
4807    ["Size of WGPUSurfaceSourceWindowsHWND"]
4808        [::core::mem::size_of::<WGPUSurfaceSourceWindowsHWND>() - 32usize];
4809    ["Alignment of WGPUSurfaceSourceWindowsHWND"]
4810        [::core::mem::align_of::<WGPUSurfaceSourceWindowsHWND>() - 8usize];
4811    ["Offset of field: WGPUSurfaceSourceWindowsHWND::chain"]
4812        [::core::mem::offset_of!(WGPUSurfaceSourceWindowsHWND, chain) - 0usize];
4813    ["Offset of field: WGPUSurfaceSourceWindowsHWND::hinstance"]
4814        [::core::mem::offset_of!(WGPUSurfaceSourceWindowsHWND, hinstance) - 16usize];
4815    ["Offset of field: WGPUSurfaceSourceWindowsHWND::hwnd"]
4816        [::core::mem::offset_of!(WGPUSurfaceSourceWindowsHWND, hwnd) - 24usize];
4817};
4818#[repr(C)]
4819#[derive(Debug, Copy, Clone)]
4820pub struct WGPUSurfaceSourceXCBWindow {
4821    pub chain: WGPUChainedStruct,
4822    pub connection: *mut ::core::ffi::c_void,
4823    pub window: u32,
4824}
4825#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4826const _: () = {
4827    ["Size of WGPUSurfaceSourceXCBWindow"]
4828        [::core::mem::size_of::<WGPUSurfaceSourceXCBWindow>() - 32usize];
4829    ["Alignment of WGPUSurfaceSourceXCBWindow"]
4830        [::core::mem::align_of::<WGPUSurfaceSourceXCBWindow>() - 8usize];
4831    ["Offset of field: WGPUSurfaceSourceXCBWindow::chain"]
4832        [::core::mem::offset_of!(WGPUSurfaceSourceXCBWindow, chain) - 0usize];
4833    ["Offset of field: WGPUSurfaceSourceXCBWindow::connection"]
4834        [::core::mem::offset_of!(WGPUSurfaceSourceXCBWindow, connection) - 16usize];
4835    ["Offset of field: WGPUSurfaceSourceXCBWindow::window"]
4836        [::core::mem::offset_of!(WGPUSurfaceSourceXCBWindow, window) - 24usize];
4837};
4838#[repr(C)]
4839#[derive(Debug, Copy, Clone)]
4840pub struct WGPUSurfaceSourceXlibWindow {
4841    pub chain: WGPUChainedStruct,
4842    pub display: *mut ::core::ffi::c_void,
4843    pub window: u64,
4844}
4845#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4846const _: () = {
4847    ["Size of WGPUSurfaceSourceXlibWindow"]
4848        [::core::mem::size_of::<WGPUSurfaceSourceXlibWindow>() - 32usize];
4849    ["Alignment of WGPUSurfaceSourceXlibWindow"]
4850        [::core::mem::align_of::<WGPUSurfaceSourceXlibWindow>() - 8usize];
4851    ["Offset of field: WGPUSurfaceSourceXlibWindow::chain"]
4852        [::core::mem::offset_of!(WGPUSurfaceSourceXlibWindow, chain) - 0usize];
4853    ["Offset of field: WGPUSurfaceSourceXlibWindow::display"]
4854        [::core::mem::offset_of!(WGPUSurfaceSourceXlibWindow, display) - 16usize];
4855    ["Offset of field: WGPUSurfaceSourceXlibWindow::window"]
4856        [::core::mem::offset_of!(WGPUSurfaceSourceXlibWindow, window) - 24usize];
4857};
4858#[repr(C)]
4859#[derive(Debug, Copy, Clone)]
4860pub struct WGPUSurfaceTexture {
4861    pub nextInChain: *mut WGPUChainedStruct,
4862    pub texture: WGPUTexture,
4863    pub status: WGPUSurfaceGetCurrentTextureStatus,
4864}
4865#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4866const _: () = {
4867    ["Size of WGPUSurfaceTexture"][::core::mem::size_of::<WGPUSurfaceTexture>() - 24usize];
4868    ["Alignment of WGPUSurfaceTexture"][::core::mem::align_of::<WGPUSurfaceTexture>() - 8usize];
4869    ["Offset of field: WGPUSurfaceTexture::nextInChain"]
4870        [::core::mem::offset_of!(WGPUSurfaceTexture, nextInChain) - 0usize];
4871    ["Offset of field: WGPUSurfaceTexture::texture"]
4872        [::core::mem::offset_of!(WGPUSurfaceTexture, texture) - 8usize];
4873    ["Offset of field: WGPUSurfaceTexture::status"]
4874        [::core::mem::offset_of!(WGPUSurfaceTexture, status) - 16usize];
4875};
4876#[repr(C)]
4877#[derive(Debug, Copy, Clone)]
4878pub struct WGPUTexelCopyBufferLayout {
4879    pub offset: u64,
4880    pub bytesPerRow: u32,
4881    pub rowsPerImage: u32,
4882}
4883#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4884const _: () = {
4885    ["Size of WGPUTexelCopyBufferLayout"]
4886        [::core::mem::size_of::<WGPUTexelCopyBufferLayout>() - 16usize];
4887    ["Alignment of WGPUTexelCopyBufferLayout"]
4888        [::core::mem::align_of::<WGPUTexelCopyBufferLayout>() - 8usize];
4889    ["Offset of field: WGPUTexelCopyBufferLayout::offset"]
4890        [::core::mem::offset_of!(WGPUTexelCopyBufferLayout, offset) - 0usize];
4891    ["Offset of field: WGPUTexelCopyBufferLayout::bytesPerRow"]
4892        [::core::mem::offset_of!(WGPUTexelCopyBufferLayout, bytesPerRow) - 8usize];
4893    ["Offset of field: WGPUTexelCopyBufferLayout::rowsPerImage"]
4894        [::core::mem::offset_of!(WGPUTexelCopyBufferLayout, rowsPerImage) - 12usize];
4895};
4896#[repr(C)]
4897#[derive(Debug, Copy, Clone)]
4898pub struct WGPUTextureBindingLayout {
4899    pub nextInChain: *mut WGPUChainedStruct,
4900    pub sampleType: WGPUTextureSampleType,
4901    pub viewDimension: WGPUTextureViewDimension,
4902    pub multisampled: WGPUBool,
4903}
4904#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4905const _: () = {
4906    ["Size of WGPUTextureBindingLayout"]
4907        [::core::mem::size_of::<WGPUTextureBindingLayout>() - 24usize];
4908    ["Alignment of WGPUTextureBindingLayout"]
4909        [::core::mem::align_of::<WGPUTextureBindingLayout>() - 8usize];
4910    ["Offset of field: WGPUTextureBindingLayout::nextInChain"]
4911        [::core::mem::offset_of!(WGPUTextureBindingLayout, nextInChain) - 0usize];
4912    ["Offset of field: WGPUTextureBindingLayout::sampleType"]
4913        [::core::mem::offset_of!(WGPUTextureBindingLayout, sampleType) - 8usize];
4914    ["Offset of field: WGPUTextureBindingLayout::viewDimension"]
4915        [::core::mem::offset_of!(WGPUTextureBindingLayout, viewDimension) - 12usize];
4916    ["Offset of field: WGPUTextureBindingLayout::multisampled"]
4917        [::core::mem::offset_of!(WGPUTextureBindingLayout, multisampled) - 16usize];
4918};
4919#[repr(C)]
4920#[derive(Debug, Copy, Clone)]
4921pub struct WGPUTextureBindingViewDimensionDescriptor {
4922    pub chain: WGPUChainedStruct,
4923    pub textureBindingViewDimension: WGPUTextureViewDimension,
4924}
4925#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4926const _: () = {
4927    ["Size of WGPUTextureBindingViewDimensionDescriptor"]
4928        [::core::mem::size_of::<WGPUTextureBindingViewDimensionDescriptor>() - 24usize];
4929    ["Alignment of WGPUTextureBindingViewDimensionDescriptor"]
4930        [::core::mem::align_of::<WGPUTextureBindingViewDimensionDescriptor>() - 8usize];
4931    ["Offset of field: WGPUTextureBindingViewDimensionDescriptor::chain"]
4932        [::core::mem::offset_of!(WGPUTextureBindingViewDimensionDescriptor, chain) - 0usize];
4933    ["Offset of field: WGPUTextureBindingViewDimensionDescriptor::textureBindingViewDimension"][::core::mem::offset_of!(
4934        WGPUTextureBindingViewDimensionDescriptor,
4935        textureBindingViewDimension
4936    )
4937        - 16usize];
4938};
4939#[repr(C)]
4940#[derive(Debug, Copy, Clone)]
4941pub struct WGPUVertexAttribute {
4942    pub nextInChain: *mut WGPUChainedStruct,
4943    pub format: WGPUVertexFormat,
4944    pub offset: u64,
4945    pub shaderLocation: u32,
4946}
4947#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4948const _: () = {
4949    ["Size of WGPUVertexAttribute"][::core::mem::size_of::<WGPUVertexAttribute>() - 32usize];
4950    ["Alignment of WGPUVertexAttribute"][::core::mem::align_of::<WGPUVertexAttribute>() - 8usize];
4951    ["Offset of field: WGPUVertexAttribute::nextInChain"]
4952        [::core::mem::offset_of!(WGPUVertexAttribute, nextInChain) - 0usize];
4953    ["Offset of field: WGPUVertexAttribute::format"]
4954        [::core::mem::offset_of!(WGPUVertexAttribute, format) - 8usize];
4955    ["Offset of field: WGPUVertexAttribute::offset"]
4956        [::core::mem::offset_of!(WGPUVertexAttribute, offset) - 16usize];
4957    ["Offset of field: WGPUVertexAttribute::shaderLocation"]
4958        [::core::mem::offset_of!(WGPUVertexAttribute, shaderLocation) - 24usize];
4959};
4960#[repr(C)]
4961#[derive(Debug, Copy, Clone)]
4962pub struct WGPUYCbCrVkDescriptor {
4963    pub chain: WGPUChainedStruct,
4964    pub vkFormat: u32,
4965    pub vkYCbCrModel: u32,
4966    pub vkYCbCrRange: u32,
4967    pub vkComponentSwizzleRed: u32,
4968    pub vkComponentSwizzleGreen: u32,
4969    pub vkComponentSwizzleBlue: u32,
4970    pub vkComponentSwizzleAlpha: u32,
4971    pub vkXChromaOffset: u32,
4972    pub vkYChromaOffset: u32,
4973    pub vkChromaFilter: WGPUFilterMode,
4974    pub forceExplicitReconstruction: WGPUBool,
4975    pub externalFormat: u64,
4976}
4977#[allow(clippy::unnecessary_operation, clippy::identity_op)]
4978const _: () = {
4979    ["Size of WGPUYCbCrVkDescriptor"][::core::mem::size_of::<WGPUYCbCrVkDescriptor>() - 72usize];
4980    ["Alignment of WGPUYCbCrVkDescriptor"]
4981        [::core::mem::align_of::<WGPUYCbCrVkDescriptor>() - 8usize];
4982    ["Offset of field: WGPUYCbCrVkDescriptor::chain"]
4983        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, chain) - 0usize];
4984    ["Offset of field: WGPUYCbCrVkDescriptor::vkFormat"]
4985        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkFormat) - 16usize];
4986    ["Offset of field: WGPUYCbCrVkDescriptor::vkYCbCrModel"]
4987        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkYCbCrModel) - 20usize];
4988    ["Offset of field: WGPUYCbCrVkDescriptor::vkYCbCrRange"]
4989        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkYCbCrRange) - 24usize];
4990    ["Offset of field: WGPUYCbCrVkDescriptor::vkComponentSwizzleRed"]
4991        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkComponentSwizzleRed) - 28usize];
4992    ["Offset of field: WGPUYCbCrVkDescriptor::vkComponentSwizzleGreen"]
4993        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkComponentSwizzleGreen) - 32usize];
4994    ["Offset of field: WGPUYCbCrVkDescriptor::vkComponentSwizzleBlue"]
4995        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkComponentSwizzleBlue) - 36usize];
4996    ["Offset of field: WGPUYCbCrVkDescriptor::vkComponentSwizzleAlpha"]
4997        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkComponentSwizzleAlpha) - 40usize];
4998    ["Offset of field: WGPUYCbCrVkDescriptor::vkXChromaOffset"]
4999        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkXChromaOffset) - 44usize];
5000    ["Offset of field: WGPUYCbCrVkDescriptor::vkYChromaOffset"]
5001        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkYChromaOffset) - 48usize];
5002    ["Offset of field: WGPUYCbCrVkDescriptor::vkChromaFilter"]
5003        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, vkChromaFilter) - 52usize];
5004    ["Offset of field: WGPUYCbCrVkDescriptor::forceExplicitReconstruction"]
5005        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, forceExplicitReconstruction) - 56usize];
5006    ["Offset of field: WGPUYCbCrVkDescriptor::externalFormat"]
5007        [::core::mem::offset_of!(WGPUYCbCrVkDescriptor, externalFormat) - 64usize];
5008};
5009#[repr(C)]
5010#[derive(Debug, Copy, Clone)]
5011pub struct WGPUAdapterPropertiesMemoryHeaps {
5012    pub chain: WGPUChainedStruct,
5013    pub heapCount: usize,
5014    pub heapInfo: *const WGPUMemoryHeapInfo,
5015}
5016#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5017const _: () = {
5018    ["Size of WGPUAdapterPropertiesMemoryHeaps"]
5019        [::core::mem::size_of::<WGPUAdapterPropertiesMemoryHeaps>() - 32usize];
5020    ["Alignment of WGPUAdapterPropertiesMemoryHeaps"]
5021        [::core::mem::align_of::<WGPUAdapterPropertiesMemoryHeaps>() - 8usize];
5022    ["Offset of field: WGPUAdapterPropertiesMemoryHeaps::chain"]
5023        [::core::mem::offset_of!(WGPUAdapterPropertiesMemoryHeaps, chain) - 0usize];
5024    ["Offset of field: WGPUAdapterPropertiesMemoryHeaps::heapCount"]
5025        [::core::mem::offset_of!(WGPUAdapterPropertiesMemoryHeaps, heapCount) - 16usize];
5026    ["Offset of field: WGPUAdapterPropertiesMemoryHeaps::heapInfo"]
5027        [::core::mem::offset_of!(WGPUAdapterPropertiesMemoryHeaps, heapInfo) - 24usize];
5028};
5029#[repr(C)]
5030#[derive(Debug, Copy, Clone)]
5031pub struct WGPUAdapterPropertiesSubgroupMatrixConfigs {
5032    pub chain: WGPUChainedStruct,
5033    pub configCount: usize,
5034    pub configs: *const WGPUSubgroupMatrixConfig,
5035}
5036#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5037const _: () = {
5038    ["Size of WGPUAdapterPropertiesSubgroupMatrixConfigs"]
5039        [::core::mem::size_of::<WGPUAdapterPropertiesSubgroupMatrixConfigs>() - 32usize];
5040    ["Alignment of WGPUAdapterPropertiesSubgroupMatrixConfigs"]
5041        [::core::mem::align_of::<WGPUAdapterPropertiesSubgroupMatrixConfigs>() - 8usize];
5042    ["Offset of field: WGPUAdapterPropertiesSubgroupMatrixConfigs::chain"]
5043        [::core::mem::offset_of!(WGPUAdapterPropertiesSubgroupMatrixConfigs, chain) - 0usize];
5044    ["Offset of field: WGPUAdapterPropertiesSubgroupMatrixConfigs::configCount"][::core::mem::offset_of!(
5045        WGPUAdapterPropertiesSubgroupMatrixConfigs,
5046        configCount
5047    ) - 16usize];
5048    ["Offset of field: WGPUAdapterPropertiesSubgroupMatrixConfigs::configs"]
5049        [::core::mem::offset_of!(WGPUAdapterPropertiesSubgroupMatrixConfigs, configs) - 24usize];
5050};
5051#[repr(C)]
5052#[derive(Debug, Copy, Clone)]
5053pub struct WGPUAHardwareBufferProperties {
5054    pub yCbCrInfo: WGPUYCbCrVkDescriptor,
5055}
5056#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5057const _: () = {
5058    ["Size of WGPUAHardwareBufferProperties"]
5059        [::core::mem::size_of::<WGPUAHardwareBufferProperties>() - 72usize];
5060    ["Alignment of WGPUAHardwareBufferProperties"]
5061        [::core::mem::align_of::<WGPUAHardwareBufferProperties>() - 8usize];
5062    ["Offset of field: WGPUAHardwareBufferProperties::yCbCrInfo"]
5063        [::core::mem::offset_of!(WGPUAHardwareBufferProperties, yCbCrInfo) - 0usize];
5064};
5065#[repr(C)]
5066#[derive(Debug, Copy, Clone)]
5067pub struct WGPUBindGroupEntry {
5068    pub nextInChain: *mut WGPUChainedStruct,
5069    pub binding: u32,
5070    pub buffer: WGPUBuffer,
5071    pub offset: u64,
5072    pub size: u64,
5073    pub sampler: WGPUSampler,
5074    pub textureView: WGPUTextureView,
5075}
5076#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5077const _: () = {
5078    ["Size of WGPUBindGroupEntry"][::core::mem::size_of::<WGPUBindGroupEntry>() - 56usize];
5079    ["Alignment of WGPUBindGroupEntry"][::core::mem::align_of::<WGPUBindGroupEntry>() - 8usize];
5080    ["Offset of field: WGPUBindGroupEntry::nextInChain"]
5081        [::core::mem::offset_of!(WGPUBindGroupEntry, nextInChain) - 0usize];
5082    ["Offset of field: WGPUBindGroupEntry::binding"]
5083        [::core::mem::offset_of!(WGPUBindGroupEntry, binding) - 8usize];
5084    ["Offset of field: WGPUBindGroupEntry::buffer"]
5085        [::core::mem::offset_of!(WGPUBindGroupEntry, buffer) - 16usize];
5086    ["Offset of field: WGPUBindGroupEntry::offset"]
5087        [::core::mem::offset_of!(WGPUBindGroupEntry, offset) - 24usize];
5088    ["Offset of field: WGPUBindGroupEntry::size"]
5089        [::core::mem::offset_of!(WGPUBindGroupEntry, size) - 32usize];
5090    ["Offset of field: WGPUBindGroupEntry::sampler"]
5091        [::core::mem::offset_of!(WGPUBindGroupEntry, sampler) - 40usize];
5092    ["Offset of field: WGPUBindGroupEntry::textureView"]
5093        [::core::mem::offset_of!(WGPUBindGroupEntry, textureView) - 48usize];
5094};
5095#[repr(C)]
5096#[derive(Debug, Copy, Clone)]
5097pub struct WGPUBindGroupLayoutEntry {
5098    pub nextInChain: *mut WGPUChainedStruct,
5099    pub binding: u32,
5100    pub visibility: WGPUShaderStage,
5101    pub buffer: WGPUBufferBindingLayout,
5102    pub sampler: WGPUSamplerBindingLayout,
5103    pub texture: WGPUTextureBindingLayout,
5104    pub storageTexture: WGPUStorageTextureBindingLayout,
5105}
5106#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5107const _: () = {
5108    ["Size of WGPUBindGroupLayoutEntry"]
5109        [::core::mem::size_of::<WGPUBindGroupLayoutEntry>() - 112usize];
5110    ["Alignment of WGPUBindGroupLayoutEntry"]
5111        [::core::mem::align_of::<WGPUBindGroupLayoutEntry>() - 8usize];
5112    ["Offset of field: WGPUBindGroupLayoutEntry::nextInChain"]
5113        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, nextInChain) - 0usize];
5114    ["Offset of field: WGPUBindGroupLayoutEntry::binding"]
5115        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, binding) - 8usize];
5116    ["Offset of field: WGPUBindGroupLayoutEntry::visibility"]
5117        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, visibility) - 16usize];
5118    ["Offset of field: WGPUBindGroupLayoutEntry::buffer"]
5119        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, buffer) - 24usize];
5120    ["Offset of field: WGPUBindGroupLayoutEntry::sampler"]
5121        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, sampler) - 48usize];
5122    ["Offset of field: WGPUBindGroupLayoutEntry::texture"]
5123        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, texture) - 64usize];
5124    ["Offset of field: WGPUBindGroupLayoutEntry::storageTexture"]
5125        [::core::mem::offset_of!(WGPUBindGroupLayoutEntry, storageTexture) - 88usize];
5126};
5127#[repr(C)]
5128#[derive(Debug, Copy, Clone)]
5129pub struct WGPUBlendState {
5130    pub color: WGPUBlendComponent,
5131    pub alpha: WGPUBlendComponent,
5132}
5133#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5134const _: () = {
5135    ["Size of WGPUBlendState"][::core::mem::size_of::<WGPUBlendState>() - 24usize];
5136    ["Alignment of WGPUBlendState"][::core::mem::align_of::<WGPUBlendState>() - 4usize];
5137    ["Offset of field: WGPUBlendState::color"]
5138        [::core::mem::offset_of!(WGPUBlendState, color) - 0usize];
5139    ["Offset of field: WGPUBlendState::alpha"]
5140        [::core::mem::offset_of!(WGPUBlendState, alpha) - 12usize];
5141};
5142#[repr(C)]
5143#[derive(Debug, Copy, Clone)]
5144pub struct WGPUBufferDescriptor {
5145    pub nextInChain: *mut WGPUChainedStruct,
5146    pub label: WGPUStringView,
5147    pub usage: WGPUBufferUsage,
5148    pub size: u64,
5149    pub mappedAtCreation: WGPUBool,
5150}
5151#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5152const _: () = {
5153    ["Size of WGPUBufferDescriptor"][::core::mem::size_of::<WGPUBufferDescriptor>() - 48usize];
5154    ["Alignment of WGPUBufferDescriptor"][::core::mem::align_of::<WGPUBufferDescriptor>() - 8usize];
5155    ["Offset of field: WGPUBufferDescriptor::nextInChain"]
5156        [::core::mem::offset_of!(WGPUBufferDescriptor, nextInChain) - 0usize];
5157    ["Offset of field: WGPUBufferDescriptor::label"]
5158        [::core::mem::offset_of!(WGPUBufferDescriptor, label) - 8usize];
5159    ["Offset of field: WGPUBufferDescriptor::usage"]
5160        [::core::mem::offset_of!(WGPUBufferDescriptor, usage) - 24usize];
5161    ["Offset of field: WGPUBufferDescriptor::size"]
5162        [::core::mem::offset_of!(WGPUBufferDescriptor, size) - 32usize];
5163    ["Offset of field: WGPUBufferDescriptor::mappedAtCreation"]
5164        [::core::mem::offset_of!(WGPUBufferDescriptor, mappedAtCreation) - 40usize];
5165};
5166#[repr(C)]
5167#[derive(Debug, Copy, Clone)]
5168pub struct WGPUCommandEncoderDescriptor {
5169    pub nextInChain: *mut WGPUChainedStruct,
5170    pub label: WGPUStringView,
5171}
5172#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5173const _: () = {
5174    ["Size of WGPUCommandEncoderDescriptor"]
5175        [::core::mem::size_of::<WGPUCommandEncoderDescriptor>() - 24usize];
5176    ["Alignment of WGPUCommandEncoderDescriptor"]
5177        [::core::mem::align_of::<WGPUCommandEncoderDescriptor>() - 8usize];
5178    ["Offset of field: WGPUCommandEncoderDescriptor::nextInChain"]
5179        [::core::mem::offset_of!(WGPUCommandEncoderDescriptor, nextInChain) - 0usize];
5180    ["Offset of field: WGPUCommandEncoderDescriptor::label"]
5181        [::core::mem::offset_of!(WGPUCommandEncoderDescriptor, label) - 8usize];
5182};
5183#[repr(C)]
5184#[derive(Debug, Copy, Clone)]
5185pub struct WGPUCompilationMessage {
5186    pub nextInChain: *mut WGPUChainedStruct,
5187    pub message: WGPUStringView,
5188    pub type_: WGPUCompilationMessageType,
5189    pub lineNum: u64,
5190    pub linePos: u64,
5191    pub offset: u64,
5192    pub length: u64,
5193}
5194#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5195const _: () = {
5196    ["Size of WGPUCompilationMessage"][::core::mem::size_of::<WGPUCompilationMessage>() - 64usize];
5197    ["Alignment of WGPUCompilationMessage"]
5198        [::core::mem::align_of::<WGPUCompilationMessage>() - 8usize];
5199    ["Offset of field: WGPUCompilationMessage::nextInChain"]
5200        [::core::mem::offset_of!(WGPUCompilationMessage, nextInChain) - 0usize];
5201    ["Offset of field: WGPUCompilationMessage::message"]
5202        [::core::mem::offset_of!(WGPUCompilationMessage, message) - 8usize];
5203    ["Offset of field: WGPUCompilationMessage::type_"]
5204        [::core::mem::offset_of!(WGPUCompilationMessage, type_) - 24usize];
5205    ["Offset of field: WGPUCompilationMessage::lineNum"]
5206        [::core::mem::offset_of!(WGPUCompilationMessage, lineNum) - 32usize];
5207    ["Offset of field: WGPUCompilationMessage::linePos"]
5208        [::core::mem::offset_of!(WGPUCompilationMessage, linePos) - 40usize];
5209    ["Offset of field: WGPUCompilationMessage::offset"]
5210        [::core::mem::offset_of!(WGPUCompilationMessage, offset) - 48usize];
5211    ["Offset of field: WGPUCompilationMessage::length"]
5212        [::core::mem::offset_of!(WGPUCompilationMessage, length) - 56usize];
5213};
5214#[repr(C)]
5215#[derive(Debug, Copy, Clone)]
5216pub struct WGPUComputePassDescriptor {
5217    pub nextInChain: *mut WGPUChainedStruct,
5218    pub label: WGPUStringView,
5219    pub timestampWrites: *const WGPUPassTimestampWrites,
5220}
5221#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5222const _: () = {
5223    ["Size of WGPUComputePassDescriptor"]
5224        [::core::mem::size_of::<WGPUComputePassDescriptor>() - 32usize];
5225    ["Alignment of WGPUComputePassDescriptor"]
5226        [::core::mem::align_of::<WGPUComputePassDescriptor>() - 8usize];
5227    ["Offset of field: WGPUComputePassDescriptor::nextInChain"]
5228        [::core::mem::offset_of!(WGPUComputePassDescriptor, nextInChain) - 0usize];
5229    ["Offset of field: WGPUComputePassDescriptor::label"]
5230        [::core::mem::offset_of!(WGPUComputePassDescriptor, label) - 8usize];
5231    ["Offset of field: WGPUComputePassDescriptor::timestampWrites"]
5232        [::core::mem::offset_of!(WGPUComputePassDescriptor, timestampWrites) - 24usize];
5233};
5234#[repr(C)]
5235#[derive(Debug, Copy, Clone)]
5236pub struct WGPUComputeState {
5237    pub nextInChain: *mut WGPUChainedStruct,
5238    pub module: WGPUShaderModule,
5239    pub entryPoint: WGPUStringView,
5240    pub constantCount: usize,
5241    pub constants: *const WGPUConstantEntry,
5242}
5243#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5244const _: () = {
5245    ["Size of WGPUComputeState"][::core::mem::size_of::<WGPUComputeState>() - 48usize];
5246    ["Alignment of WGPUComputeState"][::core::mem::align_of::<WGPUComputeState>() - 8usize];
5247    ["Offset of field: WGPUComputeState::nextInChain"]
5248        [::core::mem::offset_of!(WGPUComputeState, nextInChain) - 0usize];
5249    ["Offset of field: WGPUComputeState::module"]
5250        [::core::mem::offset_of!(WGPUComputeState, module) - 8usize];
5251    ["Offset of field: WGPUComputeState::entryPoint"]
5252        [::core::mem::offset_of!(WGPUComputeState, entryPoint) - 16usize];
5253    ["Offset of field: WGPUComputeState::constantCount"]
5254        [::core::mem::offset_of!(WGPUComputeState, constantCount) - 32usize];
5255    ["Offset of field: WGPUComputeState::constants"]
5256        [::core::mem::offset_of!(WGPUComputeState, constants) - 40usize];
5257};
5258#[repr(C)]
5259#[derive(Debug, Copy, Clone)]
5260pub struct WGPUDawnDrmFormatCapabilities {
5261    pub chain: WGPUChainedStruct,
5262    pub propertiesCount: usize,
5263    pub properties: *const WGPUDawnDrmFormatProperties,
5264}
5265#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5266const _: () = {
5267    ["Size of WGPUDawnDrmFormatCapabilities"]
5268        [::core::mem::size_of::<WGPUDawnDrmFormatCapabilities>() - 32usize];
5269    ["Alignment of WGPUDawnDrmFormatCapabilities"]
5270        [::core::mem::align_of::<WGPUDawnDrmFormatCapabilities>() - 8usize];
5271    ["Offset of field: WGPUDawnDrmFormatCapabilities::chain"]
5272        [::core::mem::offset_of!(WGPUDawnDrmFormatCapabilities, chain) - 0usize];
5273    ["Offset of field: WGPUDawnDrmFormatCapabilities::propertiesCount"]
5274        [::core::mem::offset_of!(WGPUDawnDrmFormatCapabilities, propertiesCount) - 16usize];
5275    ["Offset of field: WGPUDawnDrmFormatCapabilities::properties"]
5276        [::core::mem::offset_of!(WGPUDawnDrmFormatCapabilities, properties) - 24usize];
5277};
5278#[repr(C)]
5279#[derive(Debug, Copy, Clone)]
5280pub struct WGPUDepthStencilState {
5281    pub nextInChain: *mut WGPUChainedStruct,
5282    pub format: WGPUTextureFormat,
5283    pub depthWriteEnabled: WGPUOptionalBool,
5284    pub depthCompare: WGPUCompareFunction,
5285    pub stencilFront: WGPUStencilFaceState,
5286    pub stencilBack: WGPUStencilFaceState,
5287    pub stencilReadMask: u32,
5288    pub stencilWriteMask: u32,
5289    pub depthBias: i32,
5290    pub depthBiasSlopeScale: f32,
5291    pub depthBiasClamp: f32,
5292}
5293#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5294const _: () = {
5295    ["Size of WGPUDepthStencilState"][::core::mem::size_of::<WGPUDepthStencilState>() - 72usize];
5296    ["Alignment of WGPUDepthStencilState"]
5297        [::core::mem::align_of::<WGPUDepthStencilState>() - 8usize];
5298    ["Offset of field: WGPUDepthStencilState::nextInChain"]
5299        [::core::mem::offset_of!(WGPUDepthStencilState, nextInChain) - 0usize];
5300    ["Offset of field: WGPUDepthStencilState::format"]
5301        [::core::mem::offset_of!(WGPUDepthStencilState, format) - 8usize];
5302    ["Offset of field: WGPUDepthStencilState::depthWriteEnabled"]
5303        [::core::mem::offset_of!(WGPUDepthStencilState, depthWriteEnabled) - 12usize];
5304    ["Offset of field: WGPUDepthStencilState::depthCompare"]
5305        [::core::mem::offset_of!(WGPUDepthStencilState, depthCompare) - 16usize];
5306    ["Offset of field: WGPUDepthStencilState::stencilFront"]
5307        [::core::mem::offset_of!(WGPUDepthStencilState, stencilFront) - 20usize];
5308    ["Offset of field: WGPUDepthStencilState::stencilBack"]
5309        [::core::mem::offset_of!(WGPUDepthStencilState, stencilBack) - 36usize];
5310    ["Offset of field: WGPUDepthStencilState::stencilReadMask"]
5311        [::core::mem::offset_of!(WGPUDepthStencilState, stencilReadMask) - 52usize];
5312    ["Offset of field: WGPUDepthStencilState::stencilWriteMask"]
5313        [::core::mem::offset_of!(WGPUDepthStencilState, stencilWriteMask) - 56usize];
5314    ["Offset of field: WGPUDepthStencilState::depthBias"]
5315        [::core::mem::offset_of!(WGPUDepthStencilState, depthBias) - 60usize];
5316    ["Offset of field: WGPUDepthStencilState::depthBiasSlopeScale"]
5317        [::core::mem::offset_of!(WGPUDepthStencilState, depthBiasSlopeScale) - 64usize];
5318    ["Offset of field: WGPUDepthStencilState::depthBiasClamp"]
5319        [::core::mem::offset_of!(WGPUDepthStencilState, depthBiasClamp) - 68usize];
5320};
5321#[repr(C)]
5322#[derive(Debug, Copy, Clone)]
5323pub struct WGPUExternalTextureDescriptor {
5324    pub nextInChain: *mut WGPUChainedStruct,
5325    pub label: WGPUStringView,
5326    pub plane0: WGPUTextureView,
5327    pub plane1: WGPUTextureView,
5328    pub cropOrigin: WGPUOrigin2D,
5329    pub cropSize: WGPUExtent2D,
5330    pub apparentSize: WGPUExtent2D,
5331    pub doYuvToRgbConversionOnly: WGPUBool,
5332    pub yuvToRgbConversionMatrix: *const f32,
5333    pub srcTransferFunctionParameters: *const f32,
5334    pub dstTransferFunctionParameters: *const f32,
5335    pub gamutConversionMatrix: *const f32,
5336    pub mirrored: WGPUBool,
5337    pub rotation: WGPUExternalTextureRotation,
5338}
5339#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5340const _: () = {
5341    ["Size of WGPUExternalTextureDescriptor"]
5342        [::core::mem::size_of::<WGPUExternalTextureDescriptor>() - 112usize];
5343    ["Alignment of WGPUExternalTextureDescriptor"]
5344        [::core::mem::align_of::<WGPUExternalTextureDescriptor>() - 8usize];
5345    ["Offset of field: WGPUExternalTextureDescriptor::nextInChain"]
5346        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, nextInChain) - 0usize];
5347    ["Offset of field: WGPUExternalTextureDescriptor::label"]
5348        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, label) - 8usize];
5349    ["Offset of field: WGPUExternalTextureDescriptor::plane0"]
5350        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, plane0) - 24usize];
5351    ["Offset of field: WGPUExternalTextureDescriptor::plane1"]
5352        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, plane1) - 32usize];
5353    ["Offset of field: WGPUExternalTextureDescriptor::cropOrigin"]
5354        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, cropOrigin) - 40usize];
5355    ["Offset of field: WGPUExternalTextureDescriptor::cropSize"]
5356        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, cropSize) - 48usize];
5357    ["Offset of field: WGPUExternalTextureDescriptor::apparentSize"]
5358        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, apparentSize) - 56usize];
5359    ["Offset of field: WGPUExternalTextureDescriptor::doYuvToRgbConversionOnly"][::core::mem::offset_of!(
5360        WGPUExternalTextureDescriptor,
5361        doYuvToRgbConversionOnly
5362    ) - 64usize];
5363    ["Offset of field: WGPUExternalTextureDescriptor::yuvToRgbConversionMatrix"][::core::mem::offset_of!(
5364        WGPUExternalTextureDescriptor,
5365        yuvToRgbConversionMatrix
5366    ) - 72usize];
5367    ["Offset of field: WGPUExternalTextureDescriptor::srcTransferFunctionParameters"][::core::mem::offset_of!(
5368        WGPUExternalTextureDescriptor,
5369        srcTransferFunctionParameters
5370    ) - 80usize];
5371    ["Offset of field: WGPUExternalTextureDescriptor::dstTransferFunctionParameters"][::core::mem::offset_of!(
5372        WGPUExternalTextureDescriptor,
5373        dstTransferFunctionParameters
5374    ) - 88usize];
5375    ["Offset of field: WGPUExternalTextureDescriptor::gamutConversionMatrix"]
5376        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, gamutConversionMatrix) - 96usize];
5377    ["Offset of field: WGPUExternalTextureDescriptor::mirrored"]
5378        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, mirrored) - 104usize];
5379    ["Offset of field: WGPUExternalTextureDescriptor::rotation"]
5380        [::core::mem::offset_of!(WGPUExternalTextureDescriptor, rotation) - 108usize];
5381};
5382#[repr(C)]
5383#[derive(Debug, Copy, Clone)]
5384pub struct WGPUFutureWaitInfo {
5385    pub future: WGPUFuture,
5386    pub completed: WGPUBool,
5387}
5388#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5389const _: () = {
5390    ["Size of WGPUFutureWaitInfo"][::core::mem::size_of::<WGPUFutureWaitInfo>() - 16usize];
5391    ["Alignment of WGPUFutureWaitInfo"][::core::mem::align_of::<WGPUFutureWaitInfo>() - 8usize];
5392    ["Offset of field: WGPUFutureWaitInfo::future"]
5393        [::core::mem::offset_of!(WGPUFutureWaitInfo, future) - 0usize];
5394    ["Offset of field: WGPUFutureWaitInfo::completed"]
5395        [::core::mem::offset_of!(WGPUFutureWaitInfo, completed) - 8usize];
5396};
5397#[repr(C)]
5398#[derive(Debug, Copy, Clone)]
5399pub struct WGPUImageCopyExternalTexture {
5400    pub nextInChain: *mut WGPUChainedStruct,
5401    pub externalTexture: WGPUExternalTexture,
5402    pub origin: WGPUOrigin3D,
5403    pub naturalSize: WGPUExtent2D,
5404}
5405#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5406const _: () = {
5407    ["Size of WGPUImageCopyExternalTexture"]
5408        [::core::mem::size_of::<WGPUImageCopyExternalTexture>() - 40usize];
5409    ["Alignment of WGPUImageCopyExternalTexture"]
5410        [::core::mem::align_of::<WGPUImageCopyExternalTexture>() - 8usize];
5411    ["Offset of field: WGPUImageCopyExternalTexture::nextInChain"]
5412        [::core::mem::offset_of!(WGPUImageCopyExternalTexture, nextInChain) - 0usize];
5413    ["Offset of field: WGPUImageCopyExternalTexture::externalTexture"]
5414        [::core::mem::offset_of!(WGPUImageCopyExternalTexture, externalTexture) - 8usize];
5415    ["Offset of field: WGPUImageCopyExternalTexture::origin"]
5416        [::core::mem::offset_of!(WGPUImageCopyExternalTexture, origin) - 16usize];
5417    ["Offset of field: WGPUImageCopyExternalTexture::naturalSize"]
5418        [::core::mem::offset_of!(WGPUImageCopyExternalTexture, naturalSize) - 28usize];
5419};
5420#[repr(C)]
5421#[derive(Debug, Copy, Clone)]
5422pub struct WGPUInstanceDescriptor {
5423    pub nextInChain: *mut WGPUChainedStruct,
5424    pub capabilities: WGPUInstanceCapabilities,
5425}
5426#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5427const _: () = {
5428    ["Size of WGPUInstanceDescriptor"][::core::mem::size_of::<WGPUInstanceDescriptor>() - 32usize];
5429    ["Alignment of WGPUInstanceDescriptor"]
5430        [::core::mem::align_of::<WGPUInstanceDescriptor>() - 8usize];
5431    ["Offset of field: WGPUInstanceDescriptor::nextInChain"]
5432        [::core::mem::offset_of!(WGPUInstanceDescriptor, nextInChain) - 0usize];
5433    ["Offset of field: WGPUInstanceDescriptor::capabilities"]
5434        [::core::mem::offset_of!(WGPUInstanceDescriptor, capabilities) - 8usize];
5435};
5436#[repr(C)]
5437#[derive(Debug, Copy, Clone)]
5438pub struct WGPULimits {
5439    pub nextInChain: *mut WGPUChainedStruct,
5440    pub maxTextureDimension1D: u32,
5441    pub maxTextureDimension2D: u32,
5442    pub maxTextureDimension3D: u32,
5443    pub maxTextureArrayLayers: u32,
5444    pub maxBindGroups: u32,
5445    pub maxBindGroupsPlusVertexBuffers: u32,
5446    pub maxBindingsPerBindGroup: u32,
5447    pub maxDynamicUniformBuffersPerPipelineLayout: u32,
5448    pub maxDynamicStorageBuffersPerPipelineLayout: u32,
5449    pub maxSampledTexturesPerShaderStage: u32,
5450    pub maxSamplersPerShaderStage: u32,
5451    pub maxStorageBuffersPerShaderStage: u32,
5452    pub maxStorageTexturesPerShaderStage: u32,
5453    pub maxUniformBuffersPerShaderStage: u32,
5454    pub maxUniformBufferBindingSize: u64,
5455    pub maxStorageBufferBindingSize: u64,
5456    pub minUniformBufferOffsetAlignment: u32,
5457    pub minStorageBufferOffsetAlignment: u32,
5458    pub maxVertexBuffers: u32,
5459    pub maxBufferSize: u64,
5460    pub maxVertexAttributes: u32,
5461    pub maxVertexBufferArrayStride: u32,
5462    pub maxInterStageShaderVariables: u32,
5463    pub maxColorAttachments: u32,
5464    pub maxColorAttachmentBytesPerSample: u32,
5465    pub maxComputeWorkgroupStorageSize: u32,
5466    pub maxComputeInvocationsPerWorkgroup: u32,
5467    pub maxComputeWorkgroupSizeX: u32,
5468    pub maxComputeWorkgroupSizeY: u32,
5469    pub maxComputeWorkgroupSizeZ: u32,
5470    pub maxComputeWorkgroupsPerDimension: u32,
5471    pub maxImmediateSize: u32,
5472    pub maxStorageBuffersInVertexStage: u32,
5473    pub maxStorageTexturesInVertexStage: u32,
5474    pub maxStorageBuffersInFragmentStage: u32,
5475    pub maxStorageTexturesInFragmentStage: u32,
5476}
5477#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5478const _: () = {
5479    ["Size of WGPULimits"][::core::mem::size_of::<WGPULimits>() - 168usize];
5480    ["Alignment of WGPULimits"][::core::mem::align_of::<WGPULimits>() - 8usize];
5481    ["Offset of field: WGPULimits::nextInChain"]
5482        [::core::mem::offset_of!(WGPULimits, nextInChain) - 0usize];
5483    ["Offset of field: WGPULimits::maxTextureDimension1D"]
5484        [::core::mem::offset_of!(WGPULimits, maxTextureDimension1D) - 8usize];
5485    ["Offset of field: WGPULimits::maxTextureDimension2D"]
5486        [::core::mem::offset_of!(WGPULimits, maxTextureDimension2D) - 12usize];
5487    ["Offset of field: WGPULimits::maxTextureDimension3D"]
5488        [::core::mem::offset_of!(WGPULimits, maxTextureDimension3D) - 16usize];
5489    ["Offset of field: WGPULimits::maxTextureArrayLayers"]
5490        [::core::mem::offset_of!(WGPULimits, maxTextureArrayLayers) - 20usize];
5491    ["Offset of field: WGPULimits::maxBindGroups"]
5492        [::core::mem::offset_of!(WGPULimits, maxBindGroups) - 24usize];
5493    ["Offset of field: WGPULimits::maxBindGroupsPlusVertexBuffers"]
5494        [::core::mem::offset_of!(WGPULimits, maxBindGroupsPlusVertexBuffers) - 28usize];
5495    ["Offset of field: WGPULimits::maxBindingsPerBindGroup"]
5496        [::core::mem::offset_of!(WGPULimits, maxBindingsPerBindGroup) - 32usize];
5497    ["Offset of field: WGPULimits::maxDynamicUniformBuffersPerPipelineLayout"]
5498        [::core::mem::offset_of!(WGPULimits, maxDynamicUniformBuffersPerPipelineLayout) - 36usize];
5499    ["Offset of field: WGPULimits::maxDynamicStorageBuffersPerPipelineLayout"]
5500        [::core::mem::offset_of!(WGPULimits, maxDynamicStorageBuffersPerPipelineLayout) - 40usize];
5501    ["Offset of field: WGPULimits::maxSampledTexturesPerShaderStage"]
5502        [::core::mem::offset_of!(WGPULimits, maxSampledTexturesPerShaderStage) - 44usize];
5503    ["Offset of field: WGPULimits::maxSamplersPerShaderStage"]
5504        [::core::mem::offset_of!(WGPULimits, maxSamplersPerShaderStage) - 48usize];
5505    ["Offset of field: WGPULimits::maxStorageBuffersPerShaderStage"]
5506        [::core::mem::offset_of!(WGPULimits, maxStorageBuffersPerShaderStage) - 52usize];
5507    ["Offset of field: WGPULimits::maxStorageTexturesPerShaderStage"]
5508        [::core::mem::offset_of!(WGPULimits, maxStorageTexturesPerShaderStage) - 56usize];
5509    ["Offset of field: WGPULimits::maxUniformBuffersPerShaderStage"]
5510        [::core::mem::offset_of!(WGPULimits, maxUniformBuffersPerShaderStage) - 60usize];
5511    ["Offset of field: WGPULimits::maxUniformBufferBindingSize"]
5512        [::core::mem::offset_of!(WGPULimits, maxUniformBufferBindingSize) - 64usize];
5513    ["Offset of field: WGPULimits::maxStorageBufferBindingSize"]
5514        [::core::mem::offset_of!(WGPULimits, maxStorageBufferBindingSize) - 72usize];
5515    ["Offset of field: WGPULimits::minUniformBufferOffsetAlignment"]
5516        [::core::mem::offset_of!(WGPULimits, minUniformBufferOffsetAlignment) - 80usize];
5517    ["Offset of field: WGPULimits::minStorageBufferOffsetAlignment"]
5518        [::core::mem::offset_of!(WGPULimits, minStorageBufferOffsetAlignment) - 84usize];
5519    ["Offset of field: WGPULimits::maxVertexBuffers"]
5520        [::core::mem::offset_of!(WGPULimits, maxVertexBuffers) - 88usize];
5521    ["Offset of field: WGPULimits::maxBufferSize"]
5522        [::core::mem::offset_of!(WGPULimits, maxBufferSize) - 96usize];
5523    ["Offset of field: WGPULimits::maxVertexAttributes"]
5524        [::core::mem::offset_of!(WGPULimits, maxVertexAttributes) - 104usize];
5525    ["Offset of field: WGPULimits::maxVertexBufferArrayStride"]
5526        [::core::mem::offset_of!(WGPULimits, maxVertexBufferArrayStride) - 108usize];
5527    ["Offset of field: WGPULimits::maxInterStageShaderVariables"]
5528        [::core::mem::offset_of!(WGPULimits, maxInterStageShaderVariables) - 112usize];
5529    ["Offset of field: WGPULimits::maxColorAttachments"]
5530        [::core::mem::offset_of!(WGPULimits, maxColorAttachments) - 116usize];
5531    ["Offset of field: WGPULimits::maxColorAttachmentBytesPerSample"]
5532        [::core::mem::offset_of!(WGPULimits, maxColorAttachmentBytesPerSample) - 120usize];
5533    ["Offset of field: WGPULimits::maxComputeWorkgroupStorageSize"]
5534        [::core::mem::offset_of!(WGPULimits, maxComputeWorkgroupStorageSize) - 124usize];
5535    ["Offset of field: WGPULimits::maxComputeInvocationsPerWorkgroup"]
5536        [::core::mem::offset_of!(WGPULimits, maxComputeInvocationsPerWorkgroup) - 128usize];
5537    ["Offset of field: WGPULimits::maxComputeWorkgroupSizeX"]
5538        [::core::mem::offset_of!(WGPULimits, maxComputeWorkgroupSizeX) - 132usize];
5539    ["Offset of field: WGPULimits::maxComputeWorkgroupSizeY"]
5540        [::core::mem::offset_of!(WGPULimits, maxComputeWorkgroupSizeY) - 136usize];
5541    ["Offset of field: WGPULimits::maxComputeWorkgroupSizeZ"]
5542        [::core::mem::offset_of!(WGPULimits, maxComputeWorkgroupSizeZ) - 140usize];
5543    ["Offset of field: WGPULimits::maxComputeWorkgroupsPerDimension"]
5544        [::core::mem::offset_of!(WGPULimits, maxComputeWorkgroupsPerDimension) - 144usize];
5545    ["Offset of field: WGPULimits::maxImmediateSize"]
5546        [::core::mem::offset_of!(WGPULimits, maxImmediateSize) - 148usize];
5547    ["Offset of field: WGPULimits::maxStorageBuffersInVertexStage"]
5548        [::core::mem::offset_of!(WGPULimits, maxStorageBuffersInVertexStage) - 152usize];
5549    ["Offset of field: WGPULimits::maxStorageTexturesInVertexStage"]
5550        [::core::mem::offset_of!(WGPULimits, maxStorageTexturesInVertexStage) - 156usize];
5551    ["Offset of field: WGPULimits::maxStorageBuffersInFragmentStage"]
5552        [::core::mem::offset_of!(WGPULimits, maxStorageBuffersInFragmentStage) - 160usize];
5553    ["Offset of field: WGPULimits::maxStorageTexturesInFragmentStage"]
5554        [::core::mem::offset_of!(WGPULimits, maxStorageTexturesInFragmentStage) - 164usize];
5555};
5556#[repr(C)]
5557#[derive(Debug, Copy, Clone)]
5558pub struct WGPUPipelineLayoutPixelLocalStorage {
5559    pub chain: WGPUChainedStruct,
5560    pub totalPixelLocalStorageSize: u64,
5561    pub storageAttachmentCount: usize,
5562    pub storageAttachments: *const WGPUPipelineLayoutStorageAttachment,
5563}
5564#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5565const _: () = {
5566    ["Size of WGPUPipelineLayoutPixelLocalStorage"]
5567        [::core::mem::size_of::<WGPUPipelineLayoutPixelLocalStorage>() - 40usize];
5568    ["Alignment of WGPUPipelineLayoutPixelLocalStorage"]
5569        [::core::mem::align_of::<WGPUPipelineLayoutPixelLocalStorage>() - 8usize];
5570    ["Offset of field: WGPUPipelineLayoutPixelLocalStorage::chain"]
5571        [::core::mem::offset_of!(WGPUPipelineLayoutPixelLocalStorage, chain) - 0usize];
5572    ["Offset of field: WGPUPipelineLayoutPixelLocalStorage::totalPixelLocalStorageSize"][::core::mem::offset_of!(
5573        WGPUPipelineLayoutPixelLocalStorage,
5574        totalPixelLocalStorageSize
5575    )
5576        - 16usize];
5577    ["Offset of field: WGPUPipelineLayoutPixelLocalStorage::storageAttachmentCount"][::core::mem::offset_of!(
5578        WGPUPipelineLayoutPixelLocalStorage,
5579        storageAttachmentCount
5580    ) - 24usize];
5581    ["Offset of field: WGPUPipelineLayoutPixelLocalStorage::storageAttachments"][::core::mem::offset_of!(
5582        WGPUPipelineLayoutPixelLocalStorage,
5583        storageAttachments
5584    ) - 32usize];
5585};
5586#[repr(C)]
5587#[derive(Debug, Copy, Clone)]
5588pub struct WGPURenderPassColorAttachment {
5589    pub nextInChain: *mut WGPUChainedStruct,
5590    pub view: WGPUTextureView,
5591    pub depthSlice: u32,
5592    pub resolveTarget: WGPUTextureView,
5593    pub loadOp: WGPULoadOp,
5594    pub storeOp: WGPUStoreOp,
5595    pub clearValue: WGPUColor,
5596}
5597#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5598const _: () = {
5599    ["Size of WGPURenderPassColorAttachment"]
5600        [::core::mem::size_of::<WGPURenderPassColorAttachment>() - 72usize];
5601    ["Alignment of WGPURenderPassColorAttachment"]
5602        [::core::mem::align_of::<WGPURenderPassColorAttachment>() - 8usize];
5603    ["Offset of field: WGPURenderPassColorAttachment::nextInChain"]
5604        [::core::mem::offset_of!(WGPURenderPassColorAttachment, nextInChain) - 0usize];
5605    ["Offset of field: WGPURenderPassColorAttachment::view"]
5606        [::core::mem::offset_of!(WGPURenderPassColorAttachment, view) - 8usize];
5607    ["Offset of field: WGPURenderPassColorAttachment::depthSlice"]
5608        [::core::mem::offset_of!(WGPURenderPassColorAttachment, depthSlice) - 16usize];
5609    ["Offset of field: WGPURenderPassColorAttachment::resolveTarget"]
5610        [::core::mem::offset_of!(WGPURenderPassColorAttachment, resolveTarget) - 24usize];
5611    ["Offset of field: WGPURenderPassColorAttachment::loadOp"]
5612        [::core::mem::offset_of!(WGPURenderPassColorAttachment, loadOp) - 32usize];
5613    ["Offset of field: WGPURenderPassColorAttachment::storeOp"]
5614        [::core::mem::offset_of!(WGPURenderPassColorAttachment, storeOp) - 36usize];
5615    ["Offset of field: WGPURenderPassColorAttachment::clearValue"]
5616        [::core::mem::offset_of!(WGPURenderPassColorAttachment, clearValue) - 40usize];
5617};
5618#[repr(C)]
5619#[derive(Debug, Copy, Clone)]
5620pub struct WGPURenderPassStorageAttachment {
5621    pub nextInChain: *mut WGPUChainedStruct,
5622    pub offset: u64,
5623    pub storage: WGPUTextureView,
5624    pub loadOp: WGPULoadOp,
5625    pub storeOp: WGPUStoreOp,
5626    pub clearValue: WGPUColor,
5627}
5628#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5629const _: () = {
5630    ["Size of WGPURenderPassStorageAttachment"]
5631        [::core::mem::size_of::<WGPURenderPassStorageAttachment>() - 64usize];
5632    ["Alignment of WGPURenderPassStorageAttachment"]
5633        [::core::mem::align_of::<WGPURenderPassStorageAttachment>() - 8usize];
5634    ["Offset of field: WGPURenderPassStorageAttachment::nextInChain"]
5635        [::core::mem::offset_of!(WGPURenderPassStorageAttachment, nextInChain) - 0usize];
5636    ["Offset of field: WGPURenderPassStorageAttachment::offset"]
5637        [::core::mem::offset_of!(WGPURenderPassStorageAttachment, offset) - 8usize];
5638    ["Offset of field: WGPURenderPassStorageAttachment::storage"]
5639        [::core::mem::offset_of!(WGPURenderPassStorageAttachment, storage) - 16usize];
5640    ["Offset of field: WGPURenderPassStorageAttachment::loadOp"]
5641        [::core::mem::offset_of!(WGPURenderPassStorageAttachment, loadOp) - 24usize];
5642    ["Offset of field: WGPURenderPassStorageAttachment::storeOp"]
5643        [::core::mem::offset_of!(WGPURenderPassStorageAttachment, storeOp) - 28usize];
5644    ["Offset of field: WGPURenderPassStorageAttachment::clearValue"]
5645        [::core::mem::offset_of!(WGPURenderPassStorageAttachment, clearValue) - 32usize];
5646};
5647#[repr(C)]
5648#[derive(Debug, Copy, Clone)]
5649pub struct WGPURequestAdapterOptions {
5650    pub nextInChain: *mut WGPUChainedStruct,
5651    pub featureLevel: WGPUFeatureLevel,
5652    pub powerPreference: WGPUPowerPreference,
5653    pub forceFallbackAdapter: WGPUBool,
5654    pub backendType: WGPUBackendType,
5655    pub compatibleSurface: WGPUSurface,
5656}
5657#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5658const _: () = {
5659    ["Size of WGPURequestAdapterOptions"]
5660        [::core::mem::size_of::<WGPURequestAdapterOptions>() - 32usize];
5661    ["Alignment of WGPURequestAdapterOptions"]
5662        [::core::mem::align_of::<WGPURequestAdapterOptions>() - 8usize];
5663    ["Offset of field: WGPURequestAdapterOptions::nextInChain"]
5664        [::core::mem::offset_of!(WGPURequestAdapterOptions, nextInChain) - 0usize];
5665    ["Offset of field: WGPURequestAdapterOptions::featureLevel"]
5666        [::core::mem::offset_of!(WGPURequestAdapterOptions, featureLevel) - 8usize];
5667    ["Offset of field: WGPURequestAdapterOptions::powerPreference"]
5668        [::core::mem::offset_of!(WGPURequestAdapterOptions, powerPreference) - 12usize];
5669    ["Offset of field: WGPURequestAdapterOptions::forceFallbackAdapter"]
5670        [::core::mem::offset_of!(WGPURequestAdapterOptions, forceFallbackAdapter) - 16usize];
5671    ["Offset of field: WGPURequestAdapterOptions::backendType"]
5672        [::core::mem::offset_of!(WGPURequestAdapterOptions, backendType) - 20usize];
5673    ["Offset of field: WGPURequestAdapterOptions::compatibleSurface"]
5674        [::core::mem::offset_of!(WGPURequestAdapterOptions, compatibleSurface) - 24usize];
5675};
5676#[repr(C)]
5677#[derive(Debug, Copy, Clone)]
5678pub struct WGPUSamplerDescriptor {
5679    pub nextInChain: *mut WGPUChainedStruct,
5680    pub label: WGPUStringView,
5681    pub addressModeU: WGPUAddressMode,
5682    pub addressModeV: WGPUAddressMode,
5683    pub addressModeW: WGPUAddressMode,
5684    pub magFilter: WGPUFilterMode,
5685    pub minFilter: WGPUFilterMode,
5686    pub mipmapFilter: WGPUMipmapFilterMode,
5687    pub lodMinClamp: f32,
5688    pub lodMaxClamp: f32,
5689    pub compare: WGPUCompareFunction,
5690    pub maxAnisotropy: u16,
5691}
5692#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5693const _: () = {
5694    ["Size of WGPUSamplerDescriptor"][::core::mem::size_of::<WGPUSamplerDescriptor>() - 64usize];
5695    ["Alignment of WGPUSamplerDescriptor"]
5696        [::core::mem::align_of::<WGPUSamplerDescriptor>() - 8usize];
5697    ["Offset of field: WGPUSamplerDescriptor::nextInChain"]
5698        [::core::mem::offset_of!(WGPUSamplerDescriptor, nextInChain) - 0usize];
5699    ["Offset of field: WGPUSamplerDescriptor::label"]
5700        [::core::mem::offset_of!(WGPUSamplerDescriptor, label) - 8usize];
5701    ["Offset of field: WGPUSamplerDescriptor::addressModeU"]
5702        [::core::mem::offset_of!(WGPUSamplerDescriptor, addressModeU) - 24usize];
5703    ["Offset of field: WGPUSamplerDescriptor::addressModeV"]
5704        [::core::mem::offset_of!(WGPUSamplerDescriptor, addressModeV) - 28usize];
5705    ["Offset of field: WGPUSamplerDescriptor::addressModeW"]
5706        [::core::mem::offset_of!(WGPUSamplerDescriptor, addressModeW) - 32usize];
5707    ["Offset of field: WGPUSamplerDescriptor::magFilter"]
5708        [::core::mem::offset_of!(WGPUSamplerDescriptor, magFilter) - 36usize];
5709    ["Offset of field: WGPUSamplerDescriptor::minFilter"]
5710        [::core::mem::offset_of!(WGPUSamplerDescriptor, minFilter) - 40usize];
5711    ["Offset of field: WGPUSamplerDescriptor::mipmapFilter"]
5712        [::core::mem::offset_of!(WGPUSamplerDescriptor, mipmapFilter) - 44usize];
5713    ["Offset of field: WGPUSamplerDescriptor::lodMinClamp"]
5714        [::core::mem::offset_of!(WGPUSamplerDescriptor, lodMinClamp) - 48usize];
5715    ["Offset of field: WGPUSamplerDescriptor::lodMaxClamp"]
5716        [::core::mem::offset_of!(WGPUSamplerDescriptor, lodMaxClamp) - 52usize];
5717    ["Offset of field: WGPUSamplerDescriptor::compare"]
5718        [::core::mem::offset_of!(WGPUSamplerDescriptor, compare) - 56usize];
5719    ["Offset of field: WGPUSamplerDescriptor::maxAnisotropy"]
5720        [::core::mem::offset_of!(WGPUSamplerDescriptor, maxAnisotropy) - 60usize];
5721};
5722#[repr(C)]
5723#[derive(Debug, Copy, Clone)]
5724pub struct WGPUShaderModuleDescriptor {
5725    pub nextInChain: *mut WGPUChainedStruct,
5726    pub label: WGPUStringView,
5727}
5728#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5729const _: () = {
5730    ["Size of WGPUShaderModuleDescriptor"]
5731        [::core::mem::size_of::<WGPUShaderModuleDescriptor>() - 24usize];
5732    ["Alignment of WGPUShaderModuleDescriptor"]
5733        [::core::mem::align_of::<WGPUShaderModuleDescriptor>() - 8usize];
5734    ["Offset of field: WGPUShaderModuleDescriptor::nextInChain"]
5735        [::core::mem::offset_of!(WGPUShaderModuleDescriptor, nextInChain) - 0usize];
5736    ["Offset of field: WGPUShaderModuleDescriptor::label"]
5737        [::core::mem::offset_of!(WGPUShaderModuleDescriptor, label) - 8usize];
5738};
5739#[repr(C)]
5740#[derive(Debug, Copy, Clone)]
5741pub struct WGPUSharedFenceDescriptor {
5742    pub nextInChain: *mut WGPUChainedStruct,
5743    pub label: WGPUStringView,
5744}
5745#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5746const _: () = {
5747    ["Size of WGPUSharedFenceDescriptor"]
5748        [::core::mem::size_of::<WGPUSharedFenceDescriptor>() - 24usize];
5749    ["Alignment of WGPUSharedFenceDescriptor"]
5750        [::core::mem::align_of::<WGPUSharedFenceDescriptor>() - 8usize];
5751    ["Offset of field: WGPUSharedFenceDescriptor::nextInChain"]
5752        [::core::mem::offset_of!(WGPUSharedFenceDescriptor, nextInChain) - 0usize];
5753    ["Offset of field: WGPUSharedFenceDescriptor::label"]
5754        [::core::mem::offset_of!(WGPUSharedFenceDescriptor, label) - 8usize];
5755};
5756#[repr(C)]
5757#[derive(Debug, Copy, Clone)]
5758pub struct WGPUSharedFenceExportInfo {
5759    pub nextInChain: *mut WGPUChainedStruct,
5760    pub type_: WGPUSharedFenceType,
5761}
5762#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5763const _: () = {
5764    ["Size of WGPUSharedFenceExportInfo"]
5765        [::core::mem::size_of::<WGPUSharedFenceExportInfo>() - 16usize];
5766    ["Alignment of WGPUSharedFenceExportInfo"]
5767        [::core::mem::align_of::<WGPUSharedFenceExportInfo>() - 8usize];
5768    ["Offset of field: WGPUSharedFenceExportInfo::nextInChain"]
5769        [::core::mem::offset_of!(WGPUSharedFenceExportInfo, nextInChain) - 0usize];
5770    ["Offset of field: WGPUSharedFenceExportInfo::type_"]
5771        [::core::mem::offset_of!(WGPUSharedFenceExportInfo, type_) - 8usize];
5772};
5773#[repr(C)]
5774#[derive(Debug, Copy, Clone)]
5775pub struct WGPUSharedTextureMemoryAHardwareBufferProperties {
5776    pub chain: WGPUChainedStruct,
5777    pub yCbCrInfo: WGPUYCbCrVkDescriptor,
5778}
5779#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5780const _: () = {
5781    ["Size of WGPUSharedTextureMemoryAHardwareBufferProperties"]
5782        [::core::mem::size_of::<WGPUSharedTextureMemoryAHardwareBufferProperties>() - 88usize];
5783    ["Alignment of WGPUSharedTextureMemoryAHardwareBufferProperties"]
5784        [::core::mem::align_of::<WGPUSharedTextureMemoryAHardwareBufferProperties>() - 8usize];
5785    ["Offset of field: WGPUSharedTextureMemoryAHardwareBufferProperties::chain"]
5786        [::core::mem::offset_of!(WGPUSharedTextureMemoryAHardwareBufferProperties, chain) - 0usize];
5787    ["Offset of field: WGPUSharedTextureMemoryAHardwareBufferProperties::yCbCrInfo"][::core::mem::offset_of!(
5788        WGPUSharedTextureMemoryAHardwareBufferProperties,
5789        yCbCrInfo
5790    ) - 16usize];
5791};
5792#[repr(C)]
5793#[derive(Debug, Copy, Clone)]
5794pub struct WGPUSharedTextureMemoryBeginAccessDescriptor {
5795    pub nextInChain: *mut WGPUChainedStruct,
5796    pub concurrentRead: WGPUBool,
5797    pub initialized: WGPUBool,
5798    pub fenceCount: usize,
5799    pub fences: *const WGPUSharedFence,
5800    pub signaledValues: *const u64,
5801}
5802#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5803const _: () = {
5804    ["Size of WGPUSharedTextureMemoryBeginAccessDescriptor"]
5805        [::core::mem::size_of::<WGPUSharedTextureMemoryBeginAccessDescriptor>() - 40usize];
5806    ["Alignment of WGPUSharedTextureMemoryBeginAccessDescriptor"]
5807        [::core::mem::align_of::<WGPUSharedTextureMemoryBeginAccessDescriptor>() - 8usize];
5808    ["Offset of field: WGPUSharedTextureMemoryBeginAccessDescriptor::nextInChain"][::core::mem::offset_of!(
5809        WGPUSharedTextureMemoryBeginAccessDescriptor,
5810        nextInChain
5811    ) - 0usize];
5812    ["Offset of field: WGPUSharedTextureMemoryBeginAccessDescriptor::concurrentRead"][::core::mem::offset_of!(
5813        WGPUSharedTextureMemoryBeginAccessDescriptor,
5814        concurrentRead
5815    ) - 8usize];
5816    ["Offset of field: WGPUSharedTextureMemoryBeginAccessDescriptor::initialized"][::core::mem::offset_of!(
5817        WGPUSharedTextureMemoryBeginAccessDescriptor,
5818        initialized
5819    ) - 12usize];
5820    ["Offset of field: WGPUSharedTextureMemoryBeginAccessDescriptor::fenceCount"][::core::mem::offset_of!(
5821        WGPUSharedTextureMemoryBeginAccessDescriptor,
5822        fenceCount
5823    ) - 16usize];
5824    ["Offset of field: WGPUSharedTextureMemoryBeginAccessDescriptor::fences"]
5825        [::core::mem::offset_of!(WGPUSharedTextureMemoryBeginAccessDescriptor, fences) - 24usize];
5826    ["Offset of field: WGPUSharedTextureMemoryBeginAccessDescriptor::signaledValues"][::core::mem::offset_of!(
5827        WGPUSharedTextureMemoryBeginAccessDescriptor,
5828        signaledValues
5829    ) - 32usize];
5830};
5831#[repr(C)]
5832#[derive(Debug, Copy, Clone)]
5833pub struct WGPUSharedTextureMemoryDmaBufDescriptor {
5834    pub chain: WGPUChainedStruct,
5835    pub size: WGPUExtent3D,
5836    pub drmFormat: u32,
5837    pub drmModifier: u64,
5838    pub planeCount: usize,
5839    pub planes: *const WGPUSharedTextureMemoryDmaBufPlane,
5840}
5841#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5842const _: () = {
5843    ["Size of WGPUSharedTextureMemoryDmaBufDescriptor"]
5844        [::core::mem::size_of::<WGPUSharedTextureMemoryDmaBufDescriptor>() - 56usize];
5845    ["Alignment of WGPUSharedTextureMemoryDmaBufDescriptor"]
5846        [::core::mem::align_of::<WGPUSharedTextureMemoryDmaBufDescriptor>() - 8usize];
5847    ["Offset of field: WGPUSharedTextureMemoryDmaBufDescriptor::chain"]
5848        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufDescriptor, chain) - 0usize];
5849    ["Offset of field: WGPUSharedTextureMemoryDmaBufDescriptor::size"]
5850        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufDescriptor, size) - 16usize];
5851    ["Offset of field: WGPUSharedTextureMemoryDmaBufDescriptor::drmFormat"]
5852        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufDescriptor, drmFormat) - 28usize];
5853    ["Offset of field: WGPUSharedTextureMemoryDmaBufDescriptor::drmModifier"]
5854        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufDescriptor, drmModifier) - 32usize];
5855    ["Offset of field: WGPUSharedTextureMemoryDmaBufDescriptor::planeCount"]
5856        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufDescriptor, planeCount) - 40usize];
5857    ["Offset of field: WGPUSharedTextureMemoryDmaBufDescriptor::planes"]
5858        [::core::mem::offset_of!(WGPUSharedTextureMemoryDmaBufDescriptor, planes) - 48usize];
5859};
5860#[repr(C)]
5861#[derive(Debug, Copy, Clone)]
5862pub struct WGPUSharedTextureMemoryEndAccessState {
5863    pub nextInChain: *mut WGPUChainedStruct,
5864    pub initialized: WGPUBool,
5865    pub fenceCount: usize,
5866    pub fences: *const WGPUSharedFence,
5867    pub signaledValues: *const u64,
5868}
5869#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5870const _: () = {
5871    ["Size of WGPUSharedTextureMemoryEndAccessState"]
5872        [::core::mem::size_of::<WGPUSharedTextureMemoryEndAccessState>() - 40usize];
5873    ["Alignment of WGPUSharedTextureMemoryEndAccessState"]
5874        [::core::mem::align_of::<WGPUSharedTextureMemoryEndAccessState>() - 8usize];
5875    ["Offset of field: WGPUSharedTextureMemoryEndAccessState::nextInChain"]
5876        [::core::mem::offset_of!(WGPUSharedTextureMemoryEndAccessState, nextInChain) - 0usize];
5877    ["Offset of field: WGPUSharedTextureMemoryEndAccessState::initialized"]
5878        [::core::mem::offset_of!(WGPUSharedTextureMemoryEndAccessState, initialized) - 8usize];
5879    ["Offset of field: WGPUSharedTextureMemoryEndAccessState::fenceCount"]
5880        [::core::mem::offset_of!(WGPUSharedTextureMemoryEndAccessState, fenceCount) - 16usize];
5881    ["Offset of field: WGPUSharedTextureMemoryEndAccessState::fences"]
5882        [::core::mem::offset_of!(WGPUSharedTextureMemoryEndAccessState, fences) - 24usize];
5883    ["Offset of field: WGPUSharedTextureMemoryEndAccessState::signaledValues"]
5884        [::core::mem::offset_of!(WGPUSharedTextureMemoryEndAccessState, signaledValues) - 32usize];
5885};
5886#[repr(C)]
5887#[derive(Debug, Copy, Clone)]
5888pub struct WGPUSurfaceDescriptor {
5889    pub nextInChain: *mut WGPUChainedStruct,
5890    pub label: WGPUStringView,
5891}
5892#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5893const _: () = {
5894    ["Size of WGPUSurfaceDescriptor"][::core::mem::size_of::<WGPUSurfaceDescriptor>() - 24usize];
5895    ["Alignment of WGPUSurfaceDescriptor"]
5896        [::core::mem::align_of::<WGPUSurfaceDescriptor>() - 8usize];
5897    ["Offset of field: WGPUSurfaceDescriptor::nextInChain"]
5898        [::core::mem::offset_of!(WGPUSurfaceDescriptor, nextInChain) - 0usize];
5899    ["Offset of field: WGPUSurfaceDescriptor::label"]
5900        [::core::mem::offset_of!(WGPUSurfaceDescriptor, label) - 8usize];
5901};
5902#[repr(C)]
5903#[derive(Debug, Copy, Clone)]
5904pub struct WGPUTexelCopyBufferInfo {
5905    pub layout: WGPUTexelCopyBufferLayout,
5906    pub buffer: WGPUBuffer,
5907}
5908#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5909const _: () = {
5910    ["Size of WGPUTexelCopyBufferInfo"]
5911        [::core::mem::size_of::<WGPUTexelCopyBufferInfo>() - 24usize];
5912    ["Alignment of WGPUTexelCopyBufferInfo"]
5913        [::core::mem::align_of::<WGPUTexelCopyBufferInfo>() - 8usize];
5914    ["Offset of field: WGPUTexelCopyBufferInfo::layout"]
5915        [::core::mem::offset_of!(WGPUTexelCopyBufferInfo, layout) - 0usize];
5916    ["Offset of field: WGPUTexelCopyBufferInfo::buffer"]
5917        [::core::mem::offset_of!(WGPUTexelCopyBufferInfo, buffer) - 16usize];
5918};
5919#[repr(C)]
5920#[derive(Debug, Copy, Clone)]
5921pub struct WGPUTexelCopyTextureInfo {
5922    pub texture: WGPUTexture,
5923    pub mipLevel: u32,
5924    pub origin: WGPUOrigin3D,
5925    pub aspect: WGPUTextureAspect,
5926}
5927#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5928const _: () = {
5929    ["Size of WGPUTexelCopyTextureInfo"]
5930        [::core::mem::size_of::<WGPUTexelCopyTextureInfo>() - 32usize];
5931    ["Alignment of WGPUTexelCopyTextureInfo"]
5932        [::core::mem::align_of::<WGPUTexelCopyTextureInfo>() - 8usize];
5933    ["Offset of field: WGPUTexelCopyTextureInfo::texture"]
5934        [::core::mem::offset_of!(WGPUTexelCopyTextureInfo, texture) - 0usize];
5935    ["Offset of field: WGPUTexelCopyTextureInfo::mipLevel"]
5936        [::core::mem::offset_of!(WGPUTexelCopyTextureInfo, mipLevel) - 8usize];
5937    ["Offset of field: WGPUTexelCopyTextureInfo::origin"]
5938        [::core::mem::offset_of!(WGPUTexelCopyTextureInfo, origin) - 12usize];
5939    ["Offset of field: WGPUTexelCopyTextureInfo::aspect"]
5940        [::core::mem::offset_of!(WGPUTexelCopyTextureInfo, aspect) - 24usize];
5941};
5942#[repr(C)]
5943#[derive(Debug, Copy, Clone)]
5944pub struct WGPUTextureDescriptor {
5945    pub nextInChain: *mut WGPUChainedStruct,
5946    pub label: WGPUStringView,
5947    pub usage: WGPUTextureUsage,
5948    pub dimension: WGPUTextureDimension,
5949    pub size: WGPUExtent3D,
5950    pub format: WGPUTextureFormat,
5951    pub mipLevelCount: u32,
5952    pub sampleCount: u32,
5953    pub viewFormatCount: usize,
5954    pub viewFormats: *const WGPUTextureFormat,
5955}
5956#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5957const _: () = {
5958    ["Size of WGPUTextureDescriptor"][::core::mem::size_of::<WGPUTextureDescriptor>() - 80usize];
5959    ["Alignment of WGPUTextureDescriptor"]
5960        [::core::mem::align_of::<WGPUTextureDescriptor>() - 8usize];
5961    ["Offset of field: WGPUTextureDescriptor::nextInChain"]
5962        [::core::mem::offset_of!(WGPUTextureDescriptor, nextInChain) - 0usize];
5963    ["Offset of field: WGPUTextureDescriptor::label"]
5964        [::core::mem::offset_of!(WGPUTextureDescriptor, label) - 8usize];
5965    ["Offset of field: WGPUTextureDescriptor::usage"]
5966        [::core::mem::offset_of!(WGPUTextureDescriptor, usage) - 24usize];
5967    ["Offset of field: WGPUTextureDescriptor::dimension"]
5968        [::core::mem::offset_of!(WGPUTextureDescriptor, dimension) - 32usize];
5969    ["Offset of field: WGPUTextureDescriptor::size"]
5970        [::core::mem::offset_of!(WGPUTextureDescriptor, size) - 36usize];
5971    ["Offset of field: WGPUTextureDescriptor::format"]
5972        [::core::mem::offset_of!(WGPUTextureDescriptor, format) - 48usize];
5973    ["Offset of field: WGPUTextureDescriptor::mipLevelCount"]
5974        [::core::mem::offset_of!(WGPUTextureDescriptor, mipLevelCount) - 52usize];
5975    ["Offset of field: WGPUTextureDescriptor::sampleCount"]
5976        [::core::mem::offset_of!(WGPUTextureDescriptor, sampleCount) - 56usize];
5977    ["Offset of field: WGPUTextureDescriptor::viewFormatCount"]
5978        [::core::mem::offset_of!(WGPUTextureDescriptor, viewFormatCount) - 64usize];
5979    ["Offset of field: WGPUTextureDescriptor::viewFormats"]
5980        [::core::mem::offset_of!(WGPUTextureDescriptor, viewFormats) - 72usize];
5981};
5982#[repr(C)]
5983#[derive(Debug, Copy, Clone)]
5984pub struct WGPUTextureViewDescriptor {
5985    pub nextInChain: *mut WGPUChainedStruct,
5986    pub label: WGPUStringView,
5987    pub format: WGPUTextureFormat,
5988    pub dimension: WGPUTextureViewDimension,
5989    pub baseMipLevel: u32,
5990    pub mipLevelCount: u32,
5991    pub baseArrayLayer: u32,
5992    pub arrayLayerCount: u32,
5993    pub aspect: WGPUTextureAspect,
5994    pub usage: WGPUTextureUsage,
5995}
5996#[allow(clippy::unnecessary_operation, clippy::identity_op)]
5997const _: () = {
5998    ["Size of WGPUTextureViewDescriptor"]
5999        [::core::mem::size_of::<WGPUTextureViewDescriptor>() - 64usize];
6000    ["Alignment of WGPUTextureViewDescriptor"]
6001        [::core::mem::align_of::<WGPUTextureViewDescriptor>() - 8usize];
6002    ["Offset of field: WGPUTextureViewDescriptor::nextInChain"]
6003        [::core::mem::offset_of!(WGPUTextureViewDescriptor, nextInChain) - 0usize];
6004    ["Offset of field: WGPUTextureViewDescriptor::label"]
6005        [::core::mem::offset_of!(WGPUTextureViewDescriptor, label) - 8usize];
6006    ["Offset of field: WGPUTextureViewDescriptor::format"]
6007        [::core::mem::offset_of!(WGPUTextureViewDescriptor, format) - 24usize];
6008    ["Offset of field: WGPUTextureViewDescriptor::dimension"]
6009        [::core::mem::offset_of!(WGPUTextureViewDescriptor, dimension) - 28usize];
6010    ["Offset of field: WGPUTextureViewDescriptor::baseMipLevel"]
6011        [::core::mem::offset_of!(WGPUTextureViewDescriptor, baseMipLevel) - 32usize];
6012    ["Offset of field: WGPUTextureViewDescriptor::mipLevelCount"]
6013        [::core::mem::offset_of!(WGPUTextureViewDescriptor, mipLevelCount) - 36usize];
6014    ["Offset of field: WGPUTextureViewDescriptor::baseArrayLayer"]
6015        [::core::mem::offset_of!(WGPUTextureViewDescriptor, baseArrayLayer) - 40usize];
6016    ["Offset of field: WGPUTextureViewDescriptor::arrayLayerCount"]
6017        [::core::mem::offset_of!(WGPUTextureViewDescriptor, arrayLayerCount) - 44usize];
6018    ["Offset of field: WGPUTextureViewDescriptor::aspect"]
6019        [::core::mem::offset_of!(WGPUTextureViewDescriptor, aspect) - 48usize];
6020    ["Offset of field: WGPUTextureViewDescriptor::usage"]
6021        [::core::mem::offset_of!(WGPUTextureViewDescriptor, usage) - 56usize];
6022};
6023#[repr(C)]
6024#[derive(Debug, Copy, Clone)]
6025pub struct WGPUVertexBufferLayout {
6026    pub nextInChain: *mut WGPUChainedStruct,
6027    pub stepMode: WGPUVertexStepMode,
6028    pub arrayStride: u64,
6029    pub attributeCount: usize,
6030    pub attributes: *const WGPUVertexAttribute,
6031}
6032#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6033const _: () = {
6034    ["Size of WGPUVertexBufferLayout"][::core::mem::size_of::<WGPUVertexBufferLayout>() - 40usize];
6035    ["Alignment of WGPUVertexBufferLayout"]
6036        [::core::mem::align_of::<WGPUVertexBufferLayout>() - 8usize];
6037    ["Offset of field: WGPUVertexBufferLayout::nextInChain"]
6038        [::core::mem::offset_of!(WGPUVertexBufferLayout, nextInChain) - 0usize];
6039    ["Offset of field: WGPUVertexBufferLayout::stepMode"]
6040        [::core::mem::offset_of!(WGPUVertexBufferLayout, stepMode) - 8usize];
6041    ["Offset of field: WGPUVertexBufferLayout::arrayStride"]
6042        [::core::mem::offset_of!(WGPUVertexBufferLayout, arrayStride) - 16usize];
6043    ["Offset of field: WGPUVertexBufferLayout::attributeCount"]
6044        [::core::mem::offset_of!(WGPUVertexBufferLayout, attributeCount) - 24usize];
6045    ["Offset of field: WGPUVertexBufferLayout::attributes"]
6046        [::core::mem::offset_of!(WGPUVertexBufferLayout, attributes) - 32usize];
6047};
6048#[repr(C)]
6049#[derive(Debug, Copy, Clone)]
6050pub struct WGPUAdapterInfo {
6051    pub nextInChain: *mut WGPUChainedStruct,
6052    pub vendor: WGPUStringView,
6053    pub architecture: WGPUStringView,
6054    pub device: WGPUStringView,
6055    pub description: WGPUStringView,
6056    pub backendType: WGPUBackendType,
6057    pub adapterType: WGPUAdapterType,
6058    pub vendorID: u32,
6059    pub deviceID: u32,
6060    pub subgroupMinSize: u32,
6061    pub subgroupMaxSize: u32,
6062}
6063#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6064const _: () = {
6065    ["Size of WGPUAdapterInfo"][::core::mem::size_of::<WGPUAdapterInfo>() - 96usize];
6066    ["Alignment of WGPUAdapterInfo"][::core::mem::align_of::<WGPUAdapterInfo>() - 8usize];
6067    ["Offset of field: WGPUAdapterInfo::nextInChain"]
6068        [::core::mem::offset_of!(WGPUAdapterInfo, nextInChain) - 0usize];
6069    ["Offset of field: WGPUAdapterInfo::vendor"]
6070        [::core::mem::offset_of!(WGPUAdapterInfo, vendor) - 8usize];
6071    ["Offset of field: WGPUAdapterInfo::architecture"]
6072        [::core::mem::offset_of!(WGPUAdapterInfo, architecture) - 24usize];
6073    ["Offset of field: WGPUAdapterInfo::device"]
6074        [::core::mem::offset_of!(WGPUAdapterInfo, device) - 40usize];
6075    ["Offset of field: WGPUAdapterInfo::description"]
6076        [::core::mem::offset_of!(WGPUAdapterInfo, description) - 56usize];
6077    ["Offset of field: WGPUAdapterInfo::backendType"]
6078        [::core::mem::offset_of!(WGPUAdapterInfo, backendType) - 72usize];
6079    ["Offset of field: WGPUAdapterInfo::adapterType"]
6080        [::core::mem::offset_of!(WGPUAdapterInfo, adapterType) - 76usize];
6081    ["Offset of field: WGPUAdapterInfo::vendorID"]
6082        [::core::mem::offset_of!(WGPUAdapterInfo, vendorID) - 80usize];
6083    ["Offset of field: WGPUAdapterInfo::deviceID"]
6084        [::core::mem::offset_of!(WGPUAdapterInfo, deviceID) - 84usize];
6085    ["Offset of field: WGPUAdapterInfo::subgroupMinSize"]
6086        [::core::mem::offset_of!(WGPUAdapterInfo, subgroupMinSize) - 88usize];
6087    ["Offset of field: WGPUAdapterInfo::subgroupMaxSize"]
6088        [::core::mem::offset_of!(WGPUAdapterInfo, subgroupMaxSize) - 92usize];
6089};
6090#[repr(C)]
6091#[derive(Debug, Copy, Clone)]
6092pub struct WGPUBindGroupDescriptor {
6093    pub nextInChain: *mut WGPUChainedStruct,
6094    pub label: WGPUStringView,
6095    pub layout: WGPUBindGroupLayout,
6096    pub entryCount: usize,
6097    pub entries: *const WGPUBindGroupEntry,
6098}
6099#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6100const _: () = {
6101    ["Size of WGPUBindGroupDescriptor"]
6102        [::core::mem::size_of::<WGPUBindGroupDescriptor>() - 48usize];
6103    ["Alignment of WGPUBindGroupDescriptor"]
6104        [::core::mem::align_of::<WGPUBindGroupDescriptor>() - 8usize];
6105    ["Offset of field: WGPUBindGroupDescriptor::nextInChain"]
6106        [::core::mem::offset_of!(WGPUBindGroupDescriptor, nextInChain) - 0usize];
6107    ["Offset of field: WGPUBindGroupDescriptor::label"]
6108        [::core::mem::offset_of!(WGPUBindGroupDescriptor, label) - 8usize];
6109    ["Offset of field: WGPUBindGroupDescriptor::layout"]
6110        [::core::mem::offset_of!(WGPUBindGroupDescriptor, layout) - 24usize];
6111    ["Offset of field: WGPUBindGroupDescriptor::entryCount"]
6112        [::core::mem::offset_of!(WGPUBindGroupDescriptor, entryCount) - 32usize];
6113    ["Offset of field: WGPUBindGroupDescriptor::entries"]
6114        [::core::mem::offset_of!(WGPUBindGroupDescriptor, entries) - 40usize];
6115};
6116#[repr(C)]
6117#[derive(Debug, Copy, Clone)]
6118pub struct WGPUBindGroupLayoutDescriptor {
6119    pub nextInChain: *mut WGPUChainedStruct,
6120    pub label: WGPUStringView,
6121    pub entryCount: usize,
6122    pub entries: *const WGPUBindGroupLayoutEntry,
6123}
6124#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6125const _: () = {
6126    ["Size of WGPUBindGroupLayoutDescriptor"]
6127        [::core::mem::size_of::<WGPUBindGroupLayoutDescriptor>() - 40usize];
6128    ["Alignment of WGPUBindGroupLayoutDescriptor"]
6129        [::core::mem::align_of::<WGPUBindGroupLayoutDescriptor>() - 8usize];
6130    ["Offset of field: WGPUBindGroupLayoutDescriptor::nextInChain"]
6131        [::core::mem::offset_of!(WGPUBindGroupLayoutDescriptor, nextInChain) - 0usize];
6132    ["Offset of field: WGPUBindGroupLayoutDescriptor::label"]
6133        [::core::mem::offset_of!(WGPUBindGroupLayoutDescriptor, label) - 8usize];
6134    ["Offset of field: WGPUBindGroupLayoutDescriptor::entryCount"]
6135        [::core::mem::offset_of!(WGPUBindGroupLayoutDescriptor, entryCount) - 24usize];
6136    ["Offset of field: WGPUBindGroupLayoutDescriptor::entries"]
6137        [::core::mem::offset_of!(WGPUBindGroupLayoutDescriptor, entries) - 32usize];
6138};
6139#[repr(C)]
6140#[derive(Debug, Copy, Clone)]
6141pub struct WGPUColorTargetState {
6142    pub nextInChain: *mut WGPUChainedStruct,
6143    pub format: WGPUTextureFormat,
6144    pub blend: *const WGPUBlendState,
6145    pub writeMask: WGPUColorWriteMask,
6146}
6147#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6148const _: () = {
6149    ["Size of WGPUColorTargetState"][::core::mem::size_of::<WGPUColorTargetState>() - 32usize];
6150    ["Alignment of WGPUColorTargetState"][::core::mem::align_of::<WGPUColorTargetState>() - 8usize];
6151    ["Offset of field: WGPUColorTargetState::nextInChain"]
6152        [::core::mem::offset_of!(WGPUColorTargetState, nextInChain) - 0usize];
6153    ["Offset of field: WGPUColorTargetState::format"]
6154        [::core::mem::offset_of!(WGPUColorTargetState, format) - 8usize];
6155    ["Offset of field: WGPUColorTargetState::blend"]
6156        [::core::mem::offset_of!(WGPUColorTargetState, blend) - 16usize];
6157    ["Offset of field: WGPUColorTargetState::writeMask"]
6158        [::core::mem::offset_of!(WGPUColorTargetState, writeMask) - 24usize];
6159};
6160#[repr(C)]
6161#[derive(Debug, Copy, Clone)]
6162pub struct WGPUCompilationInfo {
6163    pub nextInChain: *mut WGPUChainedStruct,
6164    pub messageCount: usize,
6165    pub messages: *const WGPUCompilationMessage,
6166}
6167#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6168const _: () = {
6169    ["Size of WGPUCompilationInfo"][::core::mem::size_of::<WGPUCompilationInfo>() - 24usize];
6170    ["Alignment of WGPUCompilationInfo"][::core::mem::align_of::<WGPUCompilationInfo>() - 8usize];
6171    ["Offset of field: WGPUCompilationInfo::nextInChain"]
6172        [::core::mem::offset_of!(WGPUCompilationInfo, nextInChain) - 0usize];
6173    ["Offset of field: WGPUCompilationInfo::messageCount"]
6174        [::core::mem::offset_of!(WGPUCompilationInfo, messageCount) - 8usize];
6175    ["Offset of field: WGPUCompilationInfo::messages"]
6176        [::core::mem::offset_of!(WGPUCompilationInfo, messages) - 16usize];
6177};
6178#[repr(C)]
6179#[derive(Debug, Copy, Clone)]
6180pub struct WGPUComputePipelineDescriptor {
6181    pub nextInChain: *mut WGPUChainedStruct,
6182    pub label: WGPUStringView,
6183    pub layout: WGPUPipelineLayout,
6184    pub compute: WGPUComputeState,
6185}
6186#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6187const _: () = {
6188    ["Size of WGPUComputePipelineDescriptor"]
6189        [::core::mem::size_of::<WGPUComputePipelineDescriptor>() - 80usize];
6190    ["Alignment of WGPUComputePipelineDescriptor"]
6191        [::core::mem::align_of::<WGPUComputePipelineDescriptor>() - 8usize];
6192    ["Offset of field: WGPUComputePipelineDescriptor::nextInChain"]
6193        [::core::mem::offset_of!(WGPUComputePipelineDescriptor, nextInChain) - 0usize];
6194    ["Offset of field: WGPUComputePipelineDescriptor::label"]
6195        [::core::mem::offset_of!(WGPUComputePipelineDescriptor, label) - 8usize];
6196    ["Offset of field: WGPUComputePipelineDescriptor::layout"]
6197        [::core::mem::offset_of!(WGPUComputePipelineDescriptor, layout) - 24usize];
6198    ["Offset of field: WGPUComputePipelineDescriptor::compute"]
6199        [::core::mem::offset_of!(WGPUComputePipelineDescriptor, compute) - 32usize];
6200};
6201#[repr(C)]
6202#[derive(Debug, Copy, Clone)]
6203pub struct WGPUDawnFormatCapabilities {
6204    pub nextInChain: *mut WGPUChainedStruct,
6205}
6206#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6207const _: () = {
6208    ["Size of WGPUDawnFormatCapabilities"]
6209        [::core::mem::size_of::<WGPUDawnFormatCapabilities>() - 8usize];
6210    ["Alignment of WGPUDawnFormatCapabilities"]
6211        [::core::mem::align_of::<WGPUDawnFormatCapabilities>() - 8usize];
6212    ["Offset of field: WGPUDawnFormatCapabilities::nextInChain"]
6213        [::core::mem::offset_of!(WGPUDawnFormatCapabilities, nextInChain) - 0usize];
6214};
6215#[repr(C)]
6216#[derive(Debug, Copy, Clone)]
6217pub struct WGPUDeviceDescriptor {
6218    pub nextInChain: *mut WGPUChainedStruct,
6219    pub label: WGPUStringView,
6220    pub requiredFeatureCount: usize,
6221    pub requiredFeatures: *const WGPUFeatureName,
6222    pub requiredLimits: *const WGPULimits,
6223    pub defaultQueue: WGPUQueueDescriptor,
6224    pub deviceLostCallbackInfo: WGPUDeviceLostCallbackInfo,
6225    pub uncapturedErrorCallbackInfo: WGPUUncapturedErrorCallbackInfo,
6226}
6227#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6228const _: () = {
6229    ["Size of WGPUDeviceDescriptor"][::core::mem::size_of::<WGPUDeviceDescriptor>() - 144usize];
6230    ["Alignment of WGPUDeviceDescriptor"][::core::mem::align_of::<WGPUDeviceDescriptor>() - 8usize];
6231    ["Offset of field: WGPUDeviceDescriptor::nextInChain"]
6232        [::core::mem::offset_of!(WGPUDeviceDescriptor, nextInChain) - 0usize];
6233    ["Offset of field: WGPUDeviceDescriptor::label"]
6234        [::core::mem::offset_of!(WGPUDeviceDescriptor, label) - 8usize];
6235    ["Offset of field: WGPUDeviceDescriptor::requiredFeatureCount"]
6236        [::core::mem::offset_of!(WGPUDeviceDescriptor, requiredFeatureCount) - 24usize];
6237    ["Offset of field: WGPUDeviceDescriptor::requiredFeatures"]
6238        [::core::mem::offset_of!(WGPUDeviceDescriptor, requiredFeatures) - 32usize];
6239    ["Offset of field: WGPUDeviceDescriptor::requiredLimits"]
6240        [::core::mem::offset_of!(WGPUDeviceDescriptor, requiredLimits) - 40usize];
6241    ["Offset of field: WGPUDeviceDescriptor::defaultQueue"]
6242        [::core::mem::offset_of!(WGPUDeviceDescriptor, defaultQueue) - 48usize];
6243    ["Offset of field: WGPUDeviceDescriptor::deviceLostCallbackInfo"]
6244        [::core::mem::offset_of!(WGPUDeviceDescriptor, deviceLostCallbackInfo) - 72usize];
6245    ["Offset of field: WGPUDeviceDescriptor::uncapturedErrorCallbackInfo"]
6246        [::core::mem::offset_of!(WGPUDeviceDescriptor, uncapturedErrorCallbackInfo) - 112usize];
6247};
6248#[repr(C)]
6249#[derive(Debug, Copy, Clone)]
6250pub struct WGPUPipelineLayoutDescriptor {
6251    pub nextInChain: *mut WGPUChainedStruct,
6252    pub label: WGPUStringView,
6253    pub bindGroupLayoutCount: usize,
6254    pub bindGroupLayouts: *const WGPUBindGroupLayout,
6255    pub immediateSize: u32,
6256}
6257#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6258const _: () = {
6259    ["Size of WGPUPipelineLayoutDescriptor"]
6260        [::core::mem::size_of::<WGPUPipelineLayoutDescriptor>() - 48usize];
6261    ["Alignment of WGPUPipelineLayoutDescriptor"]
6262        [::core::mem::align_of::<WGPUPipelineLayoutDescriptor>() - 8usize];
6263    ["Offset of field: WGPUPipelineLayoutDescriptor::nextInChain"]
6264        [::core::mem::offset_of!(WGPUPipelineLayoutDescriptor, nextInChain) - 0usize];
6265    ["Offset of field: WGPUPipelineLayoutDescriptor::label"]
6266        [::core::mem::offset_of!(WGPUPipelineLayoutDescriptor, label) - 8usize];
6267    ["Offset of field: WGPUPipelineLayoutDescriptor::bindGroupLayoutCount"]
6268        [::core::mem::offset_of!(WGPUPipelineLayoutDescriptor, bindGroupLayoutCount) - 24usize];
6269    ["Offset of field: WGPUPipelineLayoutDescriptor::bindGroupLayouts"]
6270        [::core::mem::offset_of!(WGPUPipelineLayoutDescriptor, bindGroupLayouts) - 32usize];
6271    ["Offset of field: WGPUPipelineLayoutDescriptor::immediateSize"]
6272        [::core::mem::offset_of!(WGPUPipelineLayoutDescriptor, immediateSize) - 40usize];
6273};
6274#[repr(C)]
6275#[derive(Debug, Copy, Clone)]
6276pub struct WGPURenderPassPixelLocalStorage {
6277    pub chain: WGPUChainedStruct,
6278    pub totalPixelLocalStorageSize: u64,
6279    pub storageAttachmentCount: usize,
6280    pub storageAttachments: *const WGPURenderPassStorageAttachment,
6281}
6282#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6283const _: () = {
6284    ["Size of WGPURenderPassPixelLocalStorage"]
6285        [::core::mem::size_of::<WGPURenderPassPixelLocalStorage>() - 40usize];
6286    ["Alignment of WGPURenderPassPixelLocalStorage"]
6287        [::core::mem::align_of::<WGPURenderPassPixelLocalStorage>() - 8usize];
6288    ["Offset of field: WGPURenderPassPixelLocalStorage::chain"]
6289        [::core::mem::offset_of!(WGPURenderPassPixelLocalStorage, chain) - 0usize];
6290    ["Offset of field: WGPURenderPassPixelLocalStorage::totalPixelLocalStorageSize"][::core::mem::offset_of!(
6291        WGPURenderPassPixelLocalStorage,
6292        totalPixelLocalStorageSize
6293    ) - 16usize];
6294    ["Offset of field: WGPURenderPassPixelLocalStorage::storageAttachmentCount"][::core::mem::offset_of!(
6295        WGPURenderPassPixelLocalStorage,
6296        storageAttachmentCount
6297    ) - 24usize];
6298    ["Offset of field: WGPURenderPassPixelLocalStorage::storageAttachments"]
6299        [::core::mem::offset_of!(WGPURenderPassPixelLocalStorage, storageAttachments) - 32usize];
6300};
6301#[repr(C)]
6302#[derive(Debug, Copy, Clone)]
6303pub struct WGPUSharedTextureMemoryDescriptor {
6304    pub nextInChain: *mut WGPUChainedStruct,
6305    pub label: WGPUStringView,
6306}
6307#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6308const _: () = {
6309    ["Size of WGPUSharedTextureMemoryDescriptor"]
6310        [::core::mem::size_of::<WGPUSharedTextureMemoryDescriptor>() - 24usize];
6311    ["Alignment of WGPUSharedTextureMemoryDescriptor"]
6312        [::core::mem::align_of::<WGPUSharedTextureMemoryDescriptor>() - 8usize];
6313    ["Offset of field: WGPUSharedTextureMemoryDescriptor::nextInChain"]
6314        [::core::mem::offset_of!(WGPUSharedTextureMemoryDescriptor, nextInChain) - 0usize];
6315    ["Offset of field: WGPUSharedTextureMemoryDescriptor::label"]
6316        [::core::mem::offset_of!(WGPUSharedTextureMemoryDescriptor, label) - 8usize];
6317};
6318#[repr(C)]
6319#[derive(Debug, Copy, Clone)]
6320pub struct WGPUSharedTextureMemoryProperties {
6321    pub nextInChain: *mut WGPUChainedStruct,
6322    pub usage: WGPUTextureUsage,
6323    pub size: WGPUExtent3D,
6324    pub format: WGPUTextureFormat,
6325}
6326#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6327const _: () = {
6328    ["Size of WGPUSharedTextureMemoryProperties"]
6329        [::core::mem::size_of::<WGPUSharedTextureMemoryProperties>() - 32usize];
6330    ["Alignment of WGPUSharedTextureMemoryProperties"]
6331        [::core::mem::align_of::<WGPUSharedTextureMemoryProperties>() - 8usize];
6332    ["Offset of field: WGPUSharedTextureMemoryProperties::nextInChain"]
6333        [::core::mem::offset_of!(WGPUSharedTextureMemoryProperties, nextInChain) - 0usize];
6334    ["Offset of field: WGPUSharedTextureMemoryProperties::usage"]
6335        [::core::mem::offset_of!(WGPUSharedTextureMemoryProperties, usage) - 8usize];
6336    ["Offset of field: WGPUSharedTextureMemoryProperties::size"]
6337        [::core::mem::offset_of!(WGPUSharedTextureMemoryProperties, size) - 16usize];
6338    ["Offset of field: WGPUSharedTextureMemoryProperties::format"]
6339        [::core::mem::offset_of!(WGPUSharedTextureMemoryProperties, format) - 28usize];
6340};
6341#[repr(C)]
6342#[derive(Debug, Copy, Clone)]
6343pub struct WGPUVertexState {
6344    pub nextInChain: *mut WGPUChainedStruct,
6345    pub module: WGPUShaderModule,
6346    pub entryPoint: WGPUStringView,
6347    pub constantCount: usize,
6348    pub constants: *const WGPUConstantEntry,
6349    pub bufferCount: usize,
6350    pub buffers: *const WGPUVertexBufferLayout,
6351}
6352#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6353const _: () = {
6354    ["Size of WGPUVertexState"][::core::mem::size_of::<WGPUVertexState>() - 64usize];
6355    ["Alignment of WGPUVertexState"][::core::mem::align_of::<WGPUVertexState>() - 8usize];
6356    ["Offset of field: WGPUVertexState::nextInChain"]
6357        [::core::mem::offset_of!(WGPUVertexState, nextInChain) - 0usize];
6358    ["Offset of field: WGPUVertexState::module"]
6359        [::core::mem::offset_of!(WGPUVertexState, module) - 8usize];
6360    ["Offset of field: WGPUVertexState::entryPoint"]
6361        [::core::mem::offset_of!(WGPUVertexState, entryPoint) - 16usize];
6362    ["Offset of field: WGPUVertexState::constantCount"]
6363        [::core::mem::offset_of!(WGPUVertexState, constantCount) - 32usize];
6364    ["Offset of field: WGPUVertexState::constants"]
6365        [::core::mem::offset_of!(WGPUVertexState, constants) - 40usize];
6366    ["Offset of field: WGPUVertexState::bufferCount"]
6367        [::core::mem::offset_of!(WGPUVertexState, bufferCount) - 48usize];
6368    ["Offset of field: WGPUVertexState::buffers"]
6369        [::core::mem::offset_of!(WGPUVertexState, buffers) - 56usize];
6370};
6371#[repr(C)]
6372#[derive(Debug, Copy, Clone)]
6373pub struct WGPUFragmentState {
6374    pub nextInChain: *mut WGPUChainedStruct,
6375    pub module: WGPUShaderModule,
6376    pub entryPoint: WGPUStringView,
6377    pub constantCount: usize,
6378    pub constants: *const WGPUConstantEntry,
6379    pub targetCount: usize,
6380    pub targets: *const WGPUColorTargetState,
6381}
6382#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6383const _: () = {
6384    ["Size of WGPUFragmentState"][::core::mem::size_of::<WGPUFragmentState>() - 64usize];
6385    ["Alignment of WGPUFragmentState"][::core::mem::align_of::<WGPUFragmentState>() - 8usize];
6386    ["Offset of field: WGPUFragmentState::nextInChain"]
6387        [::core::mem::offset_of!(WGPUFragmentState, nextInChain) - 0usize];
6388    ["Offset of field: WGPUFragmentState::module"]
6389        [::core::mem::offset_of!(WGPUFragmentState, module) - 8usize];
6390    ["Offset of field: WGPUFragmentState::entryPoint"]
6391        [::core::mem::offset_of!(WGPUFragmentState, entryPoint) - 16usize];
6392    ["Offset of field: WGPUFragmentState::constantCount"]
6393        [::core::mem::offset_of!(WGPUFragmentState, constantCount) - 32usize];
6394    ["Offset of field: WGPUFragmentState::constants"]
6395        [::core::mem::offset_of!(WGPUFragmentState, constants) - 40usize];
6396    ["Offset of field: WGPUFragmentState::targetCount"]
6397        [::core::mem::offset_of!(WGPUFragmentState, targetCount) - 48usize];
6398    ["Offset of field: WGPUFragmentState::targets"]
6399        [::core::mem::offset_of!(WGPUFragmentState, targets) - 56usize];
6400};
6401#[repr(C)]
6402#[derive(Debug, Copy, Clone)]
6403pub struct WGPURenderPassDescriptor {
6404    pub nextInChain: *mut WGPUChainedStruct,
6405    pub label: WGPUStringView,
6406    pub colorAttachmentCount: usize,
6407    pub colorAttachments: *const WGPURenderPassColorAttachment,
6408    pub depthStencilAttachment: *const WGPURenderPassDepthStencilAttachment,
6409    pub occlusionQuerySet: WGPUQuerySet,
6410    pub timestampWrites: *const WGPUPassTimestampWrites,
6411}
6412#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6413const _: () = {
6414    ["Size of WGPURenderPassDescriptor"]
6415        [::core::mem::size_of::<WGPURenderPassDescriptor>() - 64usize];
6416    ["Alignment of WGPURenderPassDescriptor"]
6417        [::core::mem::align_of::<WGPURenderPassDescriptor>() - 8usize];
6418    ["Offset of field: WGPURenderPassDescriptor::nextInChain"]
6419        [::core::mem::offset_of!(WGPURenderPassDescriptor, nextInChain) - 0usize];
6420    ["Offset of field: WGPURenderPassDescriptor::label"]
6421        [::core::mem::offset_of!(WGPURenderPassDescriptor, label) - 8usize];
6422    ["Offset of field: WGPURenderPassDescriptor::colorAttachmentCount"]
6423        [::core::mem::offset_of!(WGPURenderPassDescriptor, colorAttachmentCount) - 24usize];
6424    ["Offset of field: WGPURenderPassDescriptor::colorAttachments"]
6425        [::core::mem::offset_of!(WGPURenderPassDescriptor, colorAttachments) - 32usize];
6426    ["Offset of field: WGPURenderPassDescriptor::depthStencilAttachment"]
6427        [::core::mem::offset_of!(WGPURenderPassDescriptor, depthStencilAttachment) - 40usize];
6428    ["Offset of field: WGPURenderPassDescriptor::occlusionQuerySet"]
6429        [::core::mem::offset_of!(WGPURenderPassDescriptor, occlusionQuerySet) - 48usize];
6430    ["Offset of field: WGPURenderPassDescriptor::timestampWrites"]
6431        [::core::mem::offset_of!(WGPURenderPassDescriptor, timestampWrites) - 56usize];
6432};
6433#[repr(C)]
6434#[derive(Debug, Copy, Clone)]
6435pub struct WGPURenderPipelineDescriptor {
6436    pub nextInChain: *mut WGPUChainedStruct,
6437    pub label: WGPUStringView,
6438    pub layout: WGPUPipelineLayout,
6439    pub vertex: WGPUVertexState,
6440    pub primitive: WGPUPrimitiveState,
6441    pub depthStencil: *const WGPUDepthStencilState,
6442    pub multisample: WGPUMultisampleState,
6443    pub fragment: *const WGPUFragmentState,
6444}
6445#[allow(clippy::unnecessary_operation, clippy::identity_op)]
6446const _: () = {
6447    ["Size of WGPURenderPipelineDescriptor"]
6448        [::core::mem::size_of::<WGPURenderPipelineDescriptor>() - 168usize];
6449    ["Alignment of WGPURenderPipelineDescriptor"]
6450        [::core::mem::align_of::<WGPURenderPipelineDescriptor>() - 8usize];
6451    ["Offset of field: WGPURenderPipelineDescriptor::nextInChain"]
6452        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, nextInChain) - 0usize];
6453    ["Offset of field: WGPURenderPipelineDescriptor::label"]
6454        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, label) - 8usize];
6455    ["Offset of field: WGPURenderPipelineDescriptor::layout"]
6456        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, layout) - 24usize];
6457    ["Offset of field: WGPURenderPipelineDescriptor::vertex"]
6458        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, vertex) - 32usize];
6459    ["Offset of field: WGPURenderPipelineDescriptor::primitive"]
6460        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, primitive) - 96usize];
6461    ["Offset of field: WGPURenderPipelineDescriptor::depthStencil"]
6462        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, depthStencil) - 128usize];
6463    ["Offset of field: WGPURenderPipelineDescriptor::multisample"]
6464        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, multisample) - 136usize];
6465    ["Offset of field: WGPURenderPipelineDescriptor::fragment"]
6466        [::core::mem::offset_of!(WGPURenderPipelineDescriptor, fragment) - 160usize];
6467};
6468pub type WGPURenderPassDescriptorMaxDrawCount = WGPURenderPassMaxDrawCount;
6469pub type WGPUShaderModuleSPIRVDescriptor = WGPUShaderSourceSPIRV;
6470pub type WGPUShaderModuleWGSLDescriptor = WGPUShaderSourceWGSL;
6471pub type WGPUSurfaceDescriptorFromAndroidNativeWindow = WGPUSurfaceSourceAndroidNativeWindow;
6472pub type WGPUSurfaceDescriptorFromMetalLayer = WGPUSurfaceSourceMetalLayer;
6473pub type WGPUSurfaceDescriptorFromWaylandSurface = WGPUSurfaceSourceWaylandSurface;
6474pub type WGPUSurfaceDescriptorFromWindowsHWND = WGPUSurfaceSourceWindowsHWND;
6475pub type WGPUSurfaceDescriptorFromXcbWindow = WGPUSurfaceSourceXCBWindow;
6476pub type WGPUSurfaceDescriptorFromXlibWindow = WGPUSurfaceSourceXlibWindow;
6477pub type WGPUProcAdapterInfoFreeMembers =
6478    ::core::option::Option<unsafe extern "C" fn(value: WGPUAdapterInfo)>;
6479pub type WGPUProcAdapterPropertiesMemoryHeapsFreeMembers =
6480    ::core::option::Option<unsafe extern "C" fn(value: WGPUAdapterPropertiesMemoryHeaps)>;
6481pub type WGPUProcAdapterPropertiesSubgroupMatrixConfigsFreeMembers =
6482    ::core::option::Option<unsafe extern "C" fn(value: WGPUAdapterPropertiesSubgroupMatrixConfigs)>;
6483pub type WGPUProcCreateInstance = ::core::option::Option<
6484    unsafe extern "C" fn(descriptor: *const WGPUInstanceDescriptor) -> WGPUInstance,
6485>;
6486pub type WGPUProcDawnDrmFormatCapabilitiesFreeMembers =
6487    ::core::option::Option<unsafe extern "C" fn(value: WGPUDawnDrmFormatCapabilities)>;
6488pub type WGPUProcGetInstanceCapabilities = ::core::option::Option<
6489    unsafe extern "C" fn(capabilities: *mut WGPUInstanceCapabilities) -> WGPUStatus,
6490>;
6491pub type WGPUProcGetProcAddress =
6492    ::core::option::Option<unsafe extern "C" fn(procName: WGPUStringView) -> WGPUProc>;
6493pub type WGPUProcSharedBufferMemoryEndAccessStateFreeMembers =
6494    ::core::option::Option<unsafe extern "C" fn(value: WGPUSharedBufferMemoryEndAccessState)>;
6495pub type WGPUProcSharedTextureMemoryEndAccessStateFreeMembers =
6496    ::core::option::Option<unsafe extern "C" fn(value: WGPUSharedTextureMemoryEndAccessState)>;
6497pub type WGPUProcSupportedFeaturesFreeMembers =
6498    ::core::option::Option<unsafe extern "C" fn(value: WGPUSupportedFeatures)>;
6499pub type WGPUProcSupportedWGSLLanguageFeaturesFreeMembers =
6500    ::core::option::Option<unsafe extern "C" fn(value: WGPUSupportedWGSLLanguageFeatures)>;
6501pub type WGPUProcSurfaceCapabilitiesFreeMembers =
6502    ::core::option::Option<unsafe extern "C" fn(value: WGPUSurfaceCapabilities)>;
6503pub type WGPUProcAdapterCreateDevice = ::core::option::Option<
6504    unsafe extern "C" fn(
6505        adapter: WGPUAdapter,
6506        descriptor: *const WGPUDeviceDescriptor,
6507    ) -> WGPUDevice,
6508>;
6509pub type WGPUProcAdapterGetFeatures = ::core::option::Option<
6510    unsafe extern "C" fn(adapter: WGPUAdapter, features: *mut WGPUSupportedFeatures),
6511>;
6512pub type WGPUProcAdapterGetFormatCapabilities = ::core::option::Option<
6513    unsafe extern "C" fn(
6514        adapter: WGPUAdapter,
6515        format: WGPUTextureFormat,
6516        capabilities: *mut WGPUDawnFormatCapabilities,
6517    ) -> WGPUStatus,
6518>;
6519pub type WGPUProcAdapterGetInfo = ::core::option::Option<
6520    unsafe extern "C" fn(adapter: WGPUAdapter, info: *mut WGPUAdapterInfo) -> WGPUStatus,
6521>;
6522pub type WGPUProcAdapterGetInstance =
6523    ::core::option::Option<unsafe extern "C" fn(adapter: WGPUAdapter) -> WGPUInstance>;
6524pub type WGPUProcAdapterGetLimits = ::core::option::Option<
6525    unsafe extern "C" fn(adapter: WGPUAdapter, limits: *mut WGPULimits) -> WGPUStatus,
6526>;
6527pub type WGPUProcAdapterHasFeature = ::core::option::Option<
6528    unsafe extern "C" fn(adapter: WGPUAdapter, feature: WGPUFeatureName) -> WGPUBool,
6529>;
6530pub type WGPUProcAdapterRequestDevice = ::core::option::Option<
6531    unsafe extern "C" fn(
6532        adapter: WGPUAdapter,
6533        options: *const WGPUDeviceDescriptor,
6534        callbackInfo: WGPURequestDeviceCallbackInfo,
6535    ) -> WGPUFuture,
6536>;
6537pub type WGPUProcAdapterAddRef = ::core::option::Option<unsafe extern "C" fn(adapter: WGPUAdapter)>;
6538pub type WGPUProcAdapterRelease =
6539    ::core::option::Option<unsafe extern "C" fn(adapter: WGPUAdapter)>;
6540pub type WGPUProcBindGroupSetLabel =
6541    ::core::option::Option<unsafe extern "C" fn(bindGroup: WGPUBindGroup, label: WGPUStringView)>;
6542pub type WGPUProcBindGroupAddRef =
6543    ::core::option::Option<unsafe extern "C" fn(bindGroup: WGPUBindGroup)>;
6544pub type WGPUProcBindGroupRelease =
6545    ::core::option::Option<unsafe extern "C" fn(bindGroup: WGPUBindGroup)>;
6546pub type WGPUProcBindGroupLayoutSetLabel = ::core::option::Option<
6547    unsafe extern "C" fn(bindGroupLayout: WGPUBindGroupLayout, label: WGPUStringView),
6548>;
6549pub type WGPUProcBindGroupLayoutAddRef =
6550    ::core::option::Option<unsafe extern "C" fn(bindGroupLayout: WGPUBindGroupLayout)>;
6551pub type WGPUProcBindGroupLayoutRelease =
6552    ::core::option::Option<unsafe extern "C" fn(bindGroupLayout: WGPUBindGroupLayout)>;
6553pub type WGPUProcBufferDestroy = ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer)>;
6554pub type WGPUProcBufferGetConstMappedRange = ::core::option::Option<
6555    unsafe extern "C" fn(
6556        buffer: WGPUBuffer,
6557        offset: usize,
6558        size: usize,
6559    ) -> *const ::core::ffi::c_void,
6560>;
6561pub type WGPUProcBufferGetMappedRange = ::core::option::Option<
6562    unsafe extern "C" fn(
6563        buffer: WGPUBuffer,
6564        offset: usize,
6565        size: usize,
6566    ) -> *mut ::core::ffi::c_void,
6567>;
6568pub type WGPUProcBufferGetMapState =
6569    ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer) -> WGPUBufferMapState>;
6570pub type WGPUProcBufferGetSize =
6571    ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer) -> u64>;
6572pub type WGPUProcBufferGetUsage =
6573    ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer) -> WGPUBufferUsage>;
6574pub type WGPUProcBufferMapAsync = ::core::option::Option<
6575    unsafe extern "C" fn(
6576        buffer: WGPUBuffer,
6577        mode: WGPUMapMode,
6578        offset: usize,
6579        size: usize,
6580        callbackInfo: WGPUBufferMapCallbackInfo,
6581    ) -> WGPUFuture,
6582>;
6583pub type WGPUProcBufferReadMappedRange = ::core::option::Option<
6584    unsafe extern "C" fn(
6585        buffer: WGPUBuffer,
6586        offset: usize,
6587        data: *mut ::core::ffi::c_void,
6588        size: usize,
6589    ) -> WGPUStatus,
6590>;
6591pub type WGPUProcBufferSetLabel =
6592    ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer, label: WGPUStringView)>;
6593pub type WGPUProcBufferUnmap = ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer)>;
6594pub type WGPUProcBufferWriteMappedRange = ::core::option::Option<
6595    unsafe extern "C" fn(
6596        buffer: WGPUBuffer,
6597        offset: usize,
6598        data: *const ::core::ffi::c_void,
6599        size: usize,
6600    ) -> WGPUStatus,
6601>;
6602pub type WGPUProcBufferAddRef = ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer)>;
6603pub type WGPUProcBufferRelease = ::core::option::Option<unsafe extern "C" fn(buffer: WGPUBuffer)>;
6604pub type WGPUProcCommandBufferSetLabel = ::core::option::Option<
6605    unsafe extern "C" fn(commandBuffer: WGPUCommandBuffer, label: WGPUStringView),
6606>;
6607pub type WGPUProcCommandBufferAddRef =
6608    ::core::option::Option<unsafe extern "C" fn(commandBuffer: WGPUCommandBuffer)>;
6609pub type WGPUProcCommandBufferRelease =
6610    ::core::option::Option<unsafe extern "C" fn(commandBuffer: WGPUCommandBuffer)>;
6611pub type WGPUProcCommandEncoderBeginComputePass = ::core::option::Option<
6612    unsafe extern "C" fn(
6613        commandEncoder: WGPUCommandEncoder,
6614        descriptor: *const WGPUComputePassDescriptor,
6615    ) -> WGPUComputePassEncoder,
6616>;
6617pub type WGPUProcCommandEncoderBeginRenderPass = ::core::option::Option<
6618    unsafe extern "C" fn(
6619        commandEncoder: WGPUCommandEncoder,
6620        descriptor: *const WGPURenderPassDescriptor,
6621    ) -> WGPURenderPassEncoder,
6622>;
6623pub type WGPUProcCommandEncoderClearBuffer = ::core::option::Option<
6624    unsafe extern "C" fn(
6625        commandEncoder: WGPUCommandEncoder,
6626        buffer: WGPUBuffer,
6627        offset: u64,
6628        size: u64,
6629    ),
6630>;
6631pub type WGPUProcCommandEncoderCopyBufferToBuffer = ::core::option::Option<
6632    unsafe extern "C" fn(
6633        commandEncoder: WGPUCommandEncoder,
6634        source: WGPUBuffer,
6635        sourceOffset: u64,
6636        destination: WGPUBuffer,
6637        destinationOffset: u64,
6638        size: u64,
6639    ),
6640>;
6641pub type WGPUProcCommandEncoderCopyBufferToTexture = ::core::option::Option<
6642    unsafe extern "C" fn(
6643        commandEncoder: WGPUCommandEncoder,
6644        source: *const WGPUTexelCopyBufferInfo,
6645        destination: *const WGPUTexelCopyTextureInfo,
6646        copySize: *const WGPUExtent3D,
6647    ),
6648>;
6649pub type WGPUProcCommandEncoderCopyTextureToBuffer = ::core::option::Option<
6650    unsafe extern "C" fn(
6651        commandEncoder: WGPUCommandEncoder,
6652        source: *const WGPUTexelCopyTextureInfo,
6653        destination: *const WGPUTexelCopyBufferInfo,
6654        copySize: *const WGPUExtent3D,
6655    ),
6656>;
6657pub type WGPUProcCommandEncoderCopyTextureToTexture = ::core::option::Option<
6658    unsafe extern "C" fn(
6659        commandEncoder: WGPUCommandEncoder,
6660        source: *const WGPUTexelCopyTextureInfo,
6661        destination: *const WGPUTexelCopyTextureInfo,
6662        copySize: *const WGPUExtent3D,
6663    ),
6664>;
6665pub type WGPUProcCommandEncoderFinish = ::core::option::Option<
6666    unsafe extern "C" fn(
6667        commandEncoder: WGPUCommandEncoder,
6668        descriptor: *const WGPUCommandBufferDescriptor,
6669    ) -> WGPUCommandBuffer,
6670>;
6671pub type WGPUProcCommandEncoderInjectValidationError = ::core::option::Option<
6672    unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder, message: WGPUStringView),
6673>;
6674pub type WGPUProcCommandEncoderInsertDebugMarker = ::core::option::Option<
6675    unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder, markerLabel: WGPUStringView),
6676>;
6677pub type WGPUProcCommandEncoderPopDebugGroup =
6678    ::core::option::Option<unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder)>;
6679pub type WGPUProcCommandEncoderPushDebugGroup = ::core::option::Option<
6680    unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder, groupLabel: WGPUStringView),
6681>;
6682pub type WGPUProcCommandEncoderResolveQuerySet = ::core::option::Option<
6683    unsafe extern "C" fn(
6684        commandEncoder: WGPUCommandEncoder,
6685        querySet: WGPUQuerySet,
6686        firstQuery: u32,
6687        queryCount: u32,
6688        destination: WGPUBuffer,
6689        destinationOffset: u64,
6690    ),
6691>;
6692pub type WGPUProcCommandEncoderSetLabel = ::core::option::Option<
6693    unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder, label: WGPUStringView),
6694>;
6695pub type WGPUProcCommandEncoderWriteBuffer = ::core::option::Option<
6696    unsafe extern "C" fn(
6697        commandEncoder: WGPUCommandEncoder,
6698        buffer: WGPUBuffer,
6699        bufferOffset: u64,
6700        data: *const u8,
6701        size: u64,
6702    ),
6703>;
6704pub type WGPUProcCommandEncoderWriteTimestamp = ::core::option::Option<
6705    unsafe extern "C" fn(
6706        commandEncoder: WGPUCommandEncoder,
6707        querySet: WGPUQuerySet,
6708        queryIndex: u32,
6709    ),
6710>;
6711pub type WGPUProcCommandEncoderAddRef =
6712    ::core::option::Option<unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder)>;
6713pub type WGPUProcCommandEncoderRelease =
6714    ::core::option::Option<unsafe extern "C" fn(commandEncoder: WGPUCommandEncoder)>;
6715pub type WGPUProcComputePassEncoderDispatchWorkgroups = ::core::option::Option<
6716    unsafe extern "C" fn(
6717        computePassEncoder: WGPUComputePassEncoder,
6718        workgroupCountX: u32,
6719        workgroupCountY: u32,
6720        workgroupCountZ: u32,
6721    ),
6722>;
6723pub type WGPUProcComputePassEncoderDispatchWorkgroupsIndirect = ::core::option::Option<
6724    unsafe extern "C" fn(
6725        computePassEncoder: WGPUComputePassEncoder,
6726        indirectBuffer: WGPUBuffer,
6727        indirectOffset: u64,
6728    ),
6729>;
6730pub type WGPUProcComputePassEncoderEnd =
6731    ::core::option::Option<unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder)>;
6732pub type WGPUProcComputePassEncoderInsertDebugMarker = ::core::option::Option<
6733    unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder, markerLabel: WGPUStringView),
6734>;
6735pub type WGPUProcComputePassEncoderPopDebugGroup =
6736    ::core::option::Option<unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder)>;
6737pub type WGPUProcComputePassEncoderPushDebugGroup = ::core::option::Option<
6738    unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder, groupLabel: WGPUStringView),
6739>;
6740pub type WGPUProcComputePassEncoderSetBindGroup = ::core::option::Option<
6741    unsafe extern "C" fn(
6742        computePassEncoder: WGPUComputePassEncoder,
6743        groupIndex: u32,
6744        group: WGPUBindGroup,
6745        dynamicOffsetCount: usize,
6746        dynamicOffsets: *const u32,
6747    ),
6748>;
6749pub type WGPUProcComputePassEncoderSetImmediateData = ::core::option::Option<
6750    unsafe extern "C" fn(
6751        computePassEncoder: WGPUComputePassEncoder,
6752        offset: u32,
6753        data: *const ::core::ffi::c_void,
6754        size: usize,
6755    ),
6756>;
6757pub type WGPUProcComputePassEncoderSetLabel = ::core::option::Option<
6758    unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder, label: WGPUStringView),
6759>;
6760pub type WGPUProcComputePassEncoderSetPipeline = ::core::option::Option<
6761    unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder, pipeline: WGPUComputePipeline),
6762>;
6763pub type WGPUProcComputePassEncoderWriteTimestamp = ::core::option::Option<
6764    unsafe extern "C" fn(
6765        computePassEncoder: WGPUComputePassEncoder,
6766        querySet: WGPUQuerySet,
6767        queryIndex: u32,
6768    ),
6769>;
6770pub type WGPUProcComputePassEncoderAddRef =
6771    ::core::option::Option<unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder)>;
6772pub type WGPUProcComputePassEncoderRelease =
6773    ::core::option::Option<unsafe extern "C" fn(computePassEncoder: WGPUComputePassEncoder)>;
6774pub type WGPUProcComputePipelineGetBindGroupLayout = ::core::option::Option<
6775    unsafe extern "C" fn(
6776        computePipeline: WGPUComputePipeline,
6777        groupIndex: u32,
6778    ) -> WGPUBindGroupLayout,
6779>;
6780pub type WGPUProcComputePipelineSetLabel = ::core::option::Option<
6781    unsafe extern "C" fn(computePipeline: WGPUComputePipeline, label: WGPUStringView),
6782>;
6783pub type WGPUProcComputePipelineAddRef =
6784    ::core::option::Option<unsafe extern "C" fn(computePipeline: WGPUComputePipeline)>;
6785pub type WGPUProcComputePipelineRelease =
6786    ::core::option::Option<unsafe extern "C" fn(computePipeline: WGPUComputePipeline)>;
6787pub type WGPUProcDeviceCreateBindGroup = ::core::option::Option<
6788    unsafe extern "C" fn(
6789        device: WGPUDevice,
6790        descriptor: *const WGPUBindGroupDescriptor,
6791    ) -> WGPUBindGroup,
6792>;
6793pub type WGPUProcDeviceCreateBindGroupLayout = ::core::option::Option<
6794    unsafe extern "C" fn(
6795        device: WGPUDevice,
6796        descriptor: *const WGPUBindGroupLayoutDescriptor,
6797    ) -> WGPUBindGroupLayout,
6798>;
6799pub type WGPUProcDeviceCreateBuffer = ::core::option::Option<
6800    unsafe extern "C" fn(device: WGPUDevice, descriptor: *const WGPUBufferDescriptor) -> WGPUBuffer,
6801>;
6802pub type WGPUProcDeviceCreateCommandEncoder = ::core::option::Option<
6803    unsafe extern "C" fn(
6804        device: WGPUDevice,
6805        descriptor: *const WGPUCommandEncoderDescriptor,
6806    ) -> WGPUCommandEncoder,
6807>;
6808pub type WGPUProcDeviceCreateComputePipeline = ::core::option::Option<
6809    unsafe extern "C" fn(
6810        device: WGPUDevice,
6811        descriptor: *const WGPUComputePipelineDescriptor,
6812    ) -> WGPUComputePipeline,
6813>;
6814pub type WGPUProcDeviceCreateComputePipelineAsync = ::core::option::Option<
6815    unsafe extern "C" fn(
6816        device: WGPUDevice,
6817        descriptor: *const WGPUComputePipelineDescriptor,
6818        callbackInfo: WGPUCreateComputePipelineAsyncCallbackInfo,
6819    ) -> WGPUFuture,
6820>;
6821pub type WGPUProcDeviceCreateErrorBuffer = ::core::option::Option<
6822    unsafe extern "C" fn(device: WGPUDevice, descriptor: *const WGPUBufferDescriptor) -> WGPUBuffer,
6823>;
6824pub type WGPUProcDeviceCreateErrorExternalTexture =
6825    ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice) -> WGPUExternalTexture>;
6826pub type WGPUProcDeviceCreateErrorShaderModule = ::core::option::Option<
6827    unsafe extern "C" fn(
6828        device: WGPUDevice,
6829        descriptor: *const WGPUShaderModuleDescriptor,
6830        errorMessage: WGPUStringView,
6831    ) -> WGPUShaderModule,
6832>;
6833pub type WGPUProcDeviceCreateErrorTexture = ::core::option::Option<
6834    unsafe extern "C" fn(
6835        device: WGPUDevice,
6836        descriptor: *const WGPUTextureDescriptor,
6837    ) -> WGPUTexture,
6838>;
6839pub type WGPUProcDeviceCreateExternalTexture = ::core::option::Option<
6840    unsafe extern "C" fn(
6841        device: WGPUDevice,
6842        externalTextureDescriptor: *const WGPUExternalTextureDescriptor,
6843    ) -> WGPUExternalTexture,
6844>;
6845pub type WGPUProcDeviceCreatePipelineLayout = ::core::option::Option<
6846    unsafe extern "C" fn(
6847        device: WGPUDevice,
6848        descriptor: *const WGPUPipelineLayoutDescriptor,
6849    ) -> WGPUPipelineLayout,
6850>;
6851pub type WGPUProcDeviceCreateQuerySet = ::core::option::Option<
6852    unsafe extern "C" fn(
6853        device: WGPUDevice,
6854        descriptor: *const WGPUQuerySetDescriptor,
6855    ) -> WGPUQuerySet,
6856>;
6857pub type WGPUProcDeviceCreateRenderBundleEncoder = ::core::option::Option<
6858    unsafe extern "C" fn(
6859        device: WGPUDevice,
6860        descriptor: *const WGPURenderBundleEncoderDescriptor,
6861    ) -> WGPURenderBundleEncoder,
6862>;
6863pub type WGPUProcDeviceCreateRenderPipeline = ::core::option::Option<
6864    unsafe extern "C" fn(
6865        device: WGPUDevice,
6866        descriptor: *const WGPURenderPipelineDescriptor,
6867    ) -> WGPURenderPipeline,
6868>;
6869pub type WGPUProcDeviceCreateRenderPipelineAsync = ::core::option::Option<
6870    unsafe extern "C" fn(
6871        device: WGPUDevice,
6872        descriptor: *const WGPURenderPipelineDescriptor,
6873        callbackInfo: WGPUCreateRenderPipelineAsyncCallbackInfo,
6874    ) -> WGPUFuture,
6875>;
6876pub type WGPUProcDeviceCreateSampler = ::core::option::Option<
6877    unsafe extern "C" fn(
6878        device: WGPUDevice,
6879        descriptor: *const WGPUSamplerDescriptor,
6880    ) -> WGPUSampler,
6881>;
6882pub type WGPUProcDeviceCreateShaderModule = ::core::option::Option<
6883    unsafe extern "C" fn(
6884        device: WGPUDevice,
6885        descriptor: *const WGPUShaderModuleDescriptor,
6886    ) -> WGPUShaderModule,
6887>;
6888pub type WGPUProcDeviceCreateTexture = ::core::option::Option<
6889    unsafe extern "C" fn(
6890        device: WGPUDevice,
6891        descriptor: *const WGPUTextureDescriptor,
6892    ) -> WGPUTexture,
6893>;
6894pub type WGPUProcDeviceDestroy = ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice)>;
6895pub type WGPUProcDeviceForceLoss = ::core::option::Option<
6896    unsafe extern "C" fn(device: WGPUDevice, type_: WGPUDeviceLostReason, message: WGPUStringView),
6897>;
6898pub type WGPUProcDeviceGetAdapter =
6899    ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice) -> WGPUAdapter>;
6900pub type WGPUProcDeviceGetAdapterInfo = ::core::option::Option<
6901    unsafe extern "C" fn(device: WGPUDevice, adapterInfo: *mut WGPUAdapterInfo) -> WGPUStatus,
6902>;
6903pub type WGPUProcDeviceGetAHardwareBufferProperties = ::core::option::Option<
6904    unsafe extern "C" fn(
6905        device: WGPUDevice,
6906        handle: *mut ::core::ffi::c_void,
6907        properties: *mut WGPUAHardwareBufferProperties,
6908    ) -> WGPUStatus,
6909>;
6910pub type WGPUProcDeviceGetFeatures = ::core::option::Option<
6911    unsafe extern "C" fn(device: WGPUDevice, features: *mut WGPUSupportedFeatures),
6912>;
6913pub type WGPUProcDeviceGetLimits = ::core::option::Option<
6914    unsafe extern "C" fn(device: WGPUDevice, limits: *mut WGPULimits) -> WGPUStatus,
6915>;
6916pub type WGPUProcDeviceGetLostFuture =
6917    ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice) -> WGPUFuture>;
6918pub type WGPUProcDeviceGetQueue =
6919    ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice) -> WGPUQueue>;
6920pub type WGPUProcDeviceHasFeature = ::core::option::Option<
6921    unsafe extern "C" fn(device: WGPUDevice, feature: WGPUFeatureName) -> WGPUBool,
6922>;
6923pub type WGPUProcDeviceImportSharedBufferMemory = ::core::option::Option<
6924    unsafe extern "C" fn(
6925        device: WGPUDevice,
6926        descriptor: *const WGPUSharedBufferMemoryDescriptor,
6927    ) -> WGPUSharedBufferMemory,
6928>;
6929pub type WGPUProcDeviceImportSharedFence = ::core::option::Option<
6930    unsafe extern "C" fn(
6931        device: WGPUDevice,
6932        descriptor: *const WGPUSharedFenceDescriptor,
6933    ) -> WGPUSharedFence,
6934>;
6935pub type WGPUProcDeviceImportSharedTextureMemory = ::core::option::Option<
6936    unsafe extern "C" fn(
6937        device: WGPUDevice,
6938        descriptor: *const WGPUSharedTextureMemoryDescriptor,
6939    ) -> WGPUSharedTextureMemory,
6940>;
6941pub type WGPUProcDeviceInjectError = ::core::option::Option<
6942    unsafe extern "C" fn(device: WGPUDevice, type_: WGPUErrorType, message: WGPUStringView),
6943>;
6944pub type WGPUProcDevicePopErrorScope = ::core::option::Option<
6945    unsafe extern "C" fn(
6946        device: WGPUDevice,
6947        callbackInfo: WGPUPopErrorScopeCallbackInfo,
6948    ) -> WGPUFuture,
6949>;
6950pub type WGPUProcDevicePushErrorScope =
6951    ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice, filter: WGPUErrorFilter)>;
6952pub type WGPUProcDeviceSetLabel =
6953    ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice, label: WGPUStringView)>;
6954pub type WGPUProcDeviceSetLoggingCallback = ::core::option::Option<
6955    unsafe extern "C" fn(device: WGPUDevice, callbackInfo: WGPULoggingCallbackInfo),
6956>;
6957pub type WGPUProcDeviceTick = ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice)>;
6958pub type WGPUProcDeviceValidateTextureDescriptor = ::core::option::Option<
6959    unsafe extern "C" fn(device: WGPUDevice, descriptor: *const WGPUTextureDescriptor),
6960>;
6961pub type WGPUProcDeviceAddRef = ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice)>;
6962pub type WGPUProcDeviceRelease = ::core::option::Option<unsafe extern "C" fn(device: WGPUDevice)>;
6963pub type WGPUProcExternalTextureDestroy =
6964    ::core::option::Option<unsafe extern "C" fn(externalTexture: WGPUExternalTexture)>;
6965pub type WGPUProcExternalTextureExpire =
6966    ::core::option::Option<unsafe extern "C" fn(externalTexture: WGPUExternalTexture)>;
6967pub type WGPUProcExternalTextureRefresh =
6968    ::core::option::Option<unsafe extern "C" fn(externalTexture: WGPUExternalTexture)>;
6969pub type WGPUProcExternalTextureSetLabel = ::core::option::Option<
6970    unsafe extern "C" fn(externalTexture: WGPUExternalTexture, label: WGPUStringView),
6971>;
6972pub type WGPUProcExternalTextureAddRef =
6973    ::core::option::Option<unsafe extern "C" fn(externalTexture: WGPUExternalTexture)>;
6974pub type WGPUProcExternalTextureRelease =
6975    ::core::option::Option<unsafe extern "C" fn(externalTexture: WGPUExternalTexture)>;
6976pub type WGPUProcInstanceCreateSurface = ::core::option::Option<
6977    unsafe extern "C" fn(
6978        instance: WGPUInstance,
6979        descriptor: *const WGPUSurfaceDescriptor,
6980    ) -> WGPUSurface,
6981>;
6982pub type WGPUProcInstanceGetWGSLLanguageFeatures = ::core::option::Option<
6983    unsafe extern "C" fn(
6984        instance: WGPUInstance,
6985        features: *mut WGPUSupportedWGSLLanguageFeatures,
6986    ) -> WGPUStatus,
6987>;
6988pub type WGPUProcInstanceHasWGSLLanguageFeature = ::core::option::Option<
6989    unsafe extern "C" fn(instance: WGPUInstance, feature: WGPUWGSLLanguageFeatureName) -> WGPUBool,
6990>;
6991pub type WGPUProcInstanceProcessEvents =
6992    ::core::option::Option<unsafe extern "C" fn(instance: WGPUInstance)>;
6993pub type WGPUProcInstanceRequestAdapter = ::core::option::Option<
6994    unsafe extern "C" fn(
6995        instance: WGPUInstance,
6996        options: *const WGPURequestAdapterOptions,
6997        callbackInfo: WGPURequestAdapterCallbackInfo,
6998    ) -> WGPUFuture,
6999>;
7000pub type WGPUProcInstanceWaitAny = ::core::option::Option<
7001    unsafe extern "C" fn(
7002        instance: WGPUInstance,
7003        futureCount: usize,
7004        futures: *mut WGPUFutureWaitInfo,
7005        timeoutNS: u64,
7006    ) -> WGPUWaitStatus,
7007>;
7008pub type WGPUProcInstanceAddRef =
7009    ::core::option::Option<unsafe extern "C" fn(instance: WGPUInstance)>;
7010pub type WGPUProcInstanceRelease =
7011    ::core::option::Option<unsafe extern "C" fn(instance: WGPUInstance)>;
7012pub type WGPUProcPipelineLayoutSetLabel = ::core::option::Option<
7013    unsafe extern "C" fn(pipelineLayout: WGPUPipelineLayout, label: WGPUStringView),
7014>;
7015pub type WGPUProcPipelineLayoutAddRef =
7016    ::core::option::Option<unsafe extern "C" fn(pipelineLayout: WGPUPipelineLayout)>;
7017pub type WGPUProcPipelineLayoutRelease =
7018    ::core::option::Option<unsafe extern "C" fn(pipelineLayout: WGPUPipelineLayout)>;
7019pub type WGPUProcQuerySetDestroy =
7020    ::core::option::Option<unsafe extern "C" fn(querySet: WGPUQuerySet)>;
7021pub type WGPUProcQuerySetGetCount =
7022    ::core::option::Option<unsafe extern "C" fn(querySet: WGPUQuerySet) -> u32>;
7023pub type WGPUProcQuerySetGetType =
7024    ::core::option::Option<unsafe extern "C" fn(querySet: WGPUQuerySet) -> WGPUQueryType>;
7025pub type WGPUProcQuerySetSetLabel =
7026    ::core::option::Option<unsafe extern "C" fn(querySet: WGPUQuerySet, label: WGPUStringView)>;
7027pub type WGPUProcQuerySetAddRef =
7028    ::core::option::Option<unsafe extern "C" fn(querySet: WGPUQuerySet)>;
7029pub type WGPUProcQuerySetRelease =
7030    ::core::option::Option<unsafe extern "C" fn(querySet: WGPUQuerySet)>;
7031pub type WGPUProcQueueCopyExternalTextureForBrowser = ::core::option::Option<
7032    unsafe extern "C" fn(
7033        queue: WGPUQueue,
7034        source: *const WGPUImageCopyExternalTexture,
7035        destination: *const WGPUTexelCopyTextureInfo,
7036        copySize: *const WGPUExtent3D,
7037        options: *const WGPUCopyTextureForBrowserOptions,
7038    ),
7039>;
7040pub type WGPUProcQueueCopyTextureForBrowser = ::core::option::Option<
7041    unsafe extern "C" fn(
7042        queue: WGPUQueue,
7043        source: *const WGPUTexelCopyTextureInfo,
7044        destination: *const WGPUTexelCopyTextureInfo,
7045        copySize: *const WGPUExtent3D,
7046        options: *const WGPUCopyTextureForBrowserOptions,
7047    ),
7048>;
7049pub type WGPUProcQueueOnSubmittedWorkDone = ::core::option::Option<
7050    unsafe extern "C" fn(
7051        queue: WGPUQueue,
7052        callbackInfo: WGPUQueueWorkDoneCallbackInfo,
7053    ) -> WGPUFuture,
7054>;
7055pub type WGPUProcQueueSetLabel =
7056    ::core::option::Option<unsafe extern "C" fn(queue: WGPUQueue, label: WGPUStringView)>;
7057pub type WGPUProcQueueSubmit = ::core::option::Option<
7058    unsafe extern "C" fn(queue: WGPUQueue, commandCount: usize, commands: *const WGPUCommandBuffer),
7059>;
7060pub type WGPUProcQueueWriteBuffer = ::core::option::Option<
7061    unsafe extern "C" fn(
7062        queue: WGPUQueue,
7063        buffer: WGPUBuffer,
7064        bufferOffset: u64,
7065        data: *const ::core::ffi::c_void,
7066        size: usize,
7067    ),
7068>;
7069pub type WGPUProcQueueWriteTexture = ::core::option::Option<
7070    unsafe extern "C" fn(
7071        queue: WGPUQueue,
7072        destination: *const WGPUTexelCopyTextureInfo,
7073        data: *const ::core::ffi::c_void,
7074        dataSize: usize,
7075        dataLayout: *const WGPUTexelCopyBufferLayout,
7076        writeSize: *const WGPUExtent3D,
7077    ),
7078>;
7079pub type WGPUProcQueueAddRef = ::core::option::Option<unsafe extern "C" fn(queue: WGPUQueue)>;
7080pub type WGPUProcQueueRelease = ::core::option::Option<unsafe extern "C" fn(queue: WGPUQueue)>;
7081pub type WGPUProcRenderBundleSetLabel = ::core::option::Option<
7082    unsafe extern "C" fn(renderBundle: WGPURenderBundle, label: WGPUStringView),
7083>;
7084pub type WGPUProcRenderBundleAddRef =
7085    ::core::option::Option<unsafe extern "C" fn(renderBundle: WGPURenderBundle)>;
7086pub type WGPUProcRenderBundleRelease =
7087    ::core::option::Option<unsafe extern "C" fn(renderBundle: WGPURenderBundle)>;
7088pub type WGPUProcRenderBundleEncoderDraw = ::core::option::Option<
7089    unsafe extern "C" fn(
7090        renderBundleEncoder: WGPURenderBundleEncoder,
7091        vertexCount: u32,
7092        instanceCount: u32,
7093        firstVertex: u32,
7094        firstInstance: u32,
7095    ),
7096>;
7097pub type WGPUProcRenderBundleEncoderDrawIndexed = ::core::option::Option<
7098    unsafe extern "C" fn(
7099        renderBundleEncoder: WGPURenderBundleEncoder,
7100        indexCount: u32,
7101        instanceCount: u32,
7102        firstIndex: u32,
7103        baseVertex: i32,
7104        firstInstance: u32,
7105    ),
7106>;
7107pub type WGPUProcRenderBundleEncoderDrawIndexedIndirect = ::core::option::Option<
7108    unsafe extern "C" fn(
7109        renderBundleEncoder: WGPURenderBundleEncoder,
7110        indirectBuffer: WGPUBuffer,
7111        indirectOffset: u64,
7112    ),
7113>;
7114pub type WGPUProcRenderBundleEncoderDrawIndirect = ::core::option::Option<
7115    unsafe extern "C" fn(
7116        renderBundleEncoder: WGPURenderBundleEncoder,
7117        indirectBuffer: WGPUBuffer,
7118        indirectOffset: u64,
7119    ),
7120>;
7121pub type WGPUProcRenderBundleEncoderFinish = ::core::option::Option<
7122    unsafe extern "C" fn(
7123        renderBundleEncoder: WGPURenderBundleEncoder,
7124        descriptor: *const WGPURenderBundleDescriptor,
7125    ) -> WGPURenderBundle,
7126>;
7127pub type WGPUProcRenderBundleEncoderInsertDebugMarker = ::core::option::Option<
7128    unsafe extern "C" fn(renderBundleEncoder: WGPURenderBundleEncoder, markerLabel: WGPUStringView),
7129>;
7130pub type WGPUProcRenderBundleEncoderPopDebugGroup =
7131    ::core::option::Option<unsafe extern "C" fn(renderBundleEncoder: WGPURenderBundleEncoder)>;
7132pub type WGPUProcRenderBundleEncoderPushDebugGroup = ::core::option::Option<
7133    unsafe extern "C" fn(renderBundleEncoder: WGPURenderBundleEncoder, groupLabel: WGPUStringView),
7134>;
7135pub type WGPUProcRenderBundleEncoderSetBindGroup = ::core::option::Option<
7136    unsafe extern "C" fn(
7137        renderBundleEncoder: WGPURenderBundleEncoder,
7138        groupIndex: u32,
7139        group: WGPUBindGroup,
7140        dynamicOffsetCount: usize,
7141        dynamicOffsets: *const u32,
7142    ),
7143>;
7144pub type WGPUProcRenderBundleEncoderSetImmediateData = ::core::option::Option<
7145    unsafe extern "C" fn(
7146        renderBundleEncoder: WGPURenderBundleEncoder,
7147        offset: u32,
7148        data: *const ::core::ffi::c_void,
7149        size: usize,
7150    ),
7151>;
7152pub type WGPUProcRenderBundleEncoderSetIndexBuffer = ::core::option::Option<
7153    unsafe extern "C" fn(
7154        renderBundleEncoder: WGPURenderBundleEncoder,
7155        buffer: WGPUBuffer,
7156        format: WGPUIndexFormat,
7157        offset: u64,
7158        size: u64,
7159    ),
7160>;
7161pub type WGPUProcRenderBundleEncoderSetLabel = ::core::option::Option<
7162    unsafe extern "C" fn(renderBundleEncoder: WGPURenderBundleEncoder, label: WGPUStringView),
7163>;
7164pub type WGPUProcRenderBundleEncoderSetPipeline = ::core::option::Option<
7165    unsafe extern "C" fn(
7166        renderBundleEncoder: WGPURenderBundleEncoder,
7167        pipeline: WGPURenderPipeline,
7168    ),
7169>;
7170pub type WGPUProcRenderBundleEncoderSetVertexBuffer = ::core::option::Option<
7171    unsafe extern "C" fn(
7172        renderBundleEncoder: WGPURenderBundleEncoder,
7173        slot: u32,
7174        buffer: WGPUBuffer,
7175        offset: u64,
7176        size: u64,
7177    ),
7178>;
7179pub type WGPUProcRenderBundleEncoderAddRef =
7180    ::core::option::Option<unsafe extern "C" fn(renderBundleEncoder: WGPURenderBundleEncoder)>;
7181pub type WGPUProcRenderBundleEncoderRelease =
7182    ::core::option::Option<unsafe extern "C" fn(renderBundleEncoder: WGPURenderBundleEncoder)>;
7183pub type WGPUProcRenderPassEncoderBeginOcclusionQuery = ::core::option::Option<
7184    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, queryIndex: u32),
7185>;
7186pub type WGPUProcRenderPassEncoderDraw = ::core::option::Option<
7187    unsafe extern "C" fn(
7188        renderPassEncoder: WGPURenderPassEncoder,
7189        vertexCount: u32,
7190        instanceCount: u32,
7191        firstVertex: u32,
7192        firstInstance: u32,
7193    ),
7194>;
7195pub type WGPUProcRenderPassEncoderDrawIndexed = ::core::option::Option<
7196    unsafe extern "C" fn(
7197        renderPassEncoder: WGPURenderPassEncoder,
7198        indexCount: u32,
7199        instanceCount: u32,
7200        firstIndex: u32,
7201        baseVertex: i32,
7202        firstInstance: u32,
7203    ),
7204>;
7205pub type WGPUProcRenderPassEncoderDrawIndexedIndirect = ::core::option::Option<
7206    unsafe extern "C" fn(
7207        renderPassEncoder: WGPURenderPassEncoder,
7208        indirectBuffer: WGPUBuffer,
7209        indirectOffset: u64,
7210    ),
7211>;
7212pub type WGPUProcRenderPassEncoderDrawIndirect = ::core::option::Option<
7213    unsafe extern "C" fn(
7214        renderPassEncoder: WGPURenderPassEncoder,
7215        indirectBuffer: WGPUBuffer,
7216        indirectOffset: u64,
7217    ),
7218>;
7219pub type WGPUProcRenderPassEncoderEnd =
7220    ::core::option::Option<unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder)>;
7221pub type WGPUProcRenderPassEncoderEndOcclusionQuery =
7222    ::core::option::Option<unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder)>;
7223pub type WGPUProcRenderPassEncoderExecuteBundles = ::core::option::Option<
7224    unsafe extern "C" fn(
7225        renderPassEncoder: WGPURenderPassEncoder,
7226        bundleCount: usize,
7227        bundles: *const WGPURenderBundle,
7228    ),
7229>;
7230pub type WGPUProcRenderPassEncoderInsertDebugMarker = ::core::option::Option<
7231    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, markerLabel: WGPUStringView),
7232>;
7233pub type WGPUProcRenderPassEncoderMultiDrawIndexedIndirect = ::core::option::Option<
7234    unsafe extern "C" fn(
7235        renderPassEncoder: WGPURenderPassEncoder,
7236        indirectBuffer: WGPUBuffer,
7237        indirectOffset: u64,
7238        maxDrawCount: u32,
7239        drawCountBuffer: WGPUBuffer,
7240        drawCountBufferOffset: u64,
7241    ),
7242>;
7243pub type WGPUProcRenderPassEncoderMultiDrawIndirect = ::core::option::Option<
7244    unsafe extern "C" fn(
7245        renderPassEncoder: WGPURenderPassEncoder,
7246        indirectBuffer: WGPUBuffer,
7247        indirectOffset: u64,
7248        maxDrawCount: u32,
7249        drawCountBuffer: WGPUBuffer,
7250        drawCountBufferOffset: u64,
7251    ),
7252>;
7253pub type WGPUProcRenderPassEncoderPixelLocalStorageBarrier =
7254    ::core::option::Option<unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder)>;
7255pub type WGPUProcRenderPassEncoderPopDebugGroup =
7256    ::core::option::Option<unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder)>;
7257pub type WGPUProcRenderPassEncoderPushDebugGroup = ::core::option::Option<
7258    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, groupLabel: WGPUStringView),
7259>;
7260pub type WGPUProcRenderPassEncoderSetBindGroup = ::core::option::Option<
7261    unsafe extern "C" fn(
7262        renderPassEncoder: WGPURenderPassEncoder,
7263        groupIndex: u32,
7264        group: WGPUBindGroup,
7265        dynamicOffsetCount: usize,
7266        dynamicOffsets: *const u32,
7267    ),
7268>;
7269pub type WGPUProcRenderPassEncoderSetBlendConstant = ::core::option::Option<
7270    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, color: *const WGPUColor),
7271>;
7272pub type WGPUProcRenderPassEncoderSetImmediateData = ::core::option::Option<
7273    unsafe extern "C" fn(
7274        renderPassEncoder: WGPURenderPassEncoder,
7275        offset: u32,
7276        data: *const ::core::ffi::c_void,
7277        size: usize,
7278    ),
7279>;
7280pub type WGPUProcRenderPassEncoderSetIndexBuffer = ::core::option::Option<
7281    unsafe extern "C" fn(
7282        renderPassEncoder: WGPURenderPassEncoder,
7283        buffer: WGPUBuffer,
7284        format: WGPUIndexFormat,
7285        offset: u64,
7286        size: u64,
7287    ),
7288>;
7289pub type WGPUProcRenderPassEncoderSetLabel = ::core::option::Option<
7290    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, label: WGPUStringView),
7291>;
7292pub type WGPUProcRenderPassEncoderSetPipeline = ::core::option::Option<
7293    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, pipeline: WGPURenderPipeline),
7294>;
7295pub type WGPUProcRenderPassEncoderSetScissorRect = ::core::option::Option<
7296    unsafe extern "C" fn(
7297        renderPassEncoder: WGPURenderPassEncoder,
7298        x: u32,
7299        y: u32,
7300        width: u32,
7301        height: u32,
7302    ),
7303>;
7304pub type WGPUProcRenderPassEncoderSetStencilReference = ::core::option::Option<
7305    unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder, reference: u32),
7306>;
7307pub type WGPUProcRenderPassEncoderSetVertexBuffer = ::core::option::Option<
7308    unsafe extern "C" fn(
7309        renderPassEncoder: WGPURenderPassEncoder,
7310        slot: u32,
7311        buffer: WGPUBuffer,
7312        offset: u64,
7313        size: u64,
7314    ),
7315>;
7316pub type WGPUProcRenderPassEncoderSetViewport = ::core::option::Option<
7317    unsafe extern "C" fn(
7318        renderPassEncoder: WGPURenderPassEncoder,
7319        x: f32,
7320        y: f32,
7321        width: f32,
7322        height: f32,
7323        minDepth: f32,
7324        maxDepth: f32,
7325    ),
7326>;
7327pub type WGPUProcRenderPassEncoderWriteTimestamp = ::core::option::Option<
7328    unsafe extern "C" fn(
7329        renderPassEncoder: WGPURenderPassEncoder,
7330        querySet: WGPUQuerySet,
7331        queryIndex: u32,
7332    ),
7333>;
7334pub type WGPUProcRenderPassEncoderAddRef =
7335    ::core::option::Option<unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder)>;
7336pub type WGPUProcRenderPassEncoderRelease =
7337    ::core::option::Option<unsafe extern "C" fn(renderPassEncoder: WGPURenderPassEncoder)>;
7338pub type WGPUProcRenderPipelineGetBindGroupLayout = ::core::option::Option<
7339    unsafe extern "C" fn(
7340        renderPipeline: WGPURenderPipeline,
7341        groupIndex: u32,
7342    ) -> WGPUBindGroupLayout,
7343>;
7344pub type WGPUProcRenderPipelineSetLabel = ::core::option::Option<
7345    unsafe extern "C" fn(renderPipeline: WGPURenderPipeline, label: WGPUStringView),
7346>;
7347pub type WGPUProcRenderPipelineAddRef =
7348    ::core::option::Option<unsafe extern "C" fn(renderPipeline: WGPURenderPipeline)>;
7349pub type WGPUProcRenderPipelineRelease =
7350    ::core::option::Option<unsafe extern "C" fn(renderPipeline: WGPURenderPipeline)>;
7351pub type WGPUProcSamplerSetLabel =
7352    ::core::option::Option<unsafe extern "C" fn(sampler: WGPUSampler, label: WGPUStringView)>;
7353pub type WGPUProcSamplerAddRef = ::core::option::Option<unsafe extern "C" fn(sampler: WGPUSampler)>;
7354pub type WGPUProcSamplerRelease =
7355    ::core::option::Option<unsafe extern "C" fn(sampler: WGPUSampler)>;
7356pub type WGPUProcShaderModuleGetCompilationInfo = ::core::option::Option<
7357    unsafe extern "C" fn(
7358        shaderModule: WGPUShaderModule,
7359        callbackInfo: WGPUCompilationInfoCallbackInfo,
7360    ) -> WGPUFuture,
7361>;
7362pub type WGPUProcShaderModuleSetLabel = ::core::option::Option<
7363    unsafe extern "C" fn(shaderModule: WGPUShaderModule, label: WGPUStringView),
7364>;
7365pub type WGPUProcShaderModuleAddRef =
7366    ::core::option::Option<unsafe extern "C" fn(shaderModule: WGPUShaderModule)>;
7367pub type WGPUProcShaderModuleRelease =
7368    ::core::option::Option<unsafe extern "C" fn(shaderModule: WGPUShaderModule)>;
7369pub type WGPUProcSharedBufferMemoryBeginAccess = ::core::option::Option<
7370    unsafe extern "C" fn(
7371        sharedBufferMemory: WGPUSharedBufferMemory,
7372        buffer: WGPUBuffer,
7373        descriptor: *const WGPUSharedBufferMemoryBeginAccessDescriptor,
7374    ) -> WGPUStatus,
7375>;
7376pub type WGPUProcSharedBufferMemoryCreateBuffer = ::core::option::Option<
7377    unsafe extern "C" fn(
7378        sharedBufferMemory: WGPUSharedBufferMemory,
7379        descriptor: *const WGPUBufferDescriptor,
7380    ) -> WGPUBuffer,
7381>;
7382pub type WGPUProcSharedBufferMemoryEndAccess = ::core::option::Option<
7383    unsafe extern "C" fn(
7384        sharedBufferMemory: WGPUSharedBufferMemory,
7385        buffer: WGPUBuffer,
7386        descriptor: *mut WGPUSharedBufferMemoryEndAccessState,
7387    ) -> WGPUStatus,
7388>;
7389pub type WGPUProcSharedBufferMemoryGetProperties = ::core::option::Option<
7390    unsafe extern "C" fn(
7391        sharedBufferMemory: WGPUSharedBufferMemory,
7392        properties: *mut WGPUSharedBufferMemoryProperties,
7393    ) -> WGPUStatus,
7394>;
7395pub type WGPUProcSharedBufferMemoryIsDeviceLost = ::core::option::Option<
7396    unsafe extern "C" fn(sharedBufferMemory: WGPUSharedBufferMemory) -> WGPUBool,
7397>;
7398pub type WGPUProcSharedBufferMemorySetLabel = ::core::option::Option<
7399    unsafe extern "C" fn(sharedBufferMemory: WGPUSharedBufferMemory, label: WGPUStringView),
7400>;
7401pub type WGPUProcSharedBufferMemoryAddRef =
7402    ::core::option::Option<unsafe extern "C" fn(sharedBufferMemory: WGPUSharedBufferMemory)>;
7403pub type WGPUProcSharedBufferMemoryRelease =
7404    ::core::option::Option<unsafe extern "C" fn(sharedBufferMemory: WGPUSharedBufferMemory)>;
7405pub type WGPUProcSharedFenceExportInfo = ::core::option::Option<
7406    unsafe extern "C" fn(sharedFence: WGPUSharedFence, info: *mut WGPUSharedFenceExportInfo),
7407>;
7408pub type WGPUProcSharedFenceAddRef =
7409    ::core::option::Option<unsafe extern "C" fn(sharedFence: WGPUSharedFence)>;
7410pub type WGPUProcSharedFenceRelease =
7411    ::core::option::Option<unsafe extern "C" fn(sharedFence: WGPUSharedFence)>;
7412pub type WGPUProcSharedTextureMemoryBeginAccess = ::core::option::Option<
7413    unsafe extern "C" fn(
7414        sharedTextureMemory: WGPUSharedTextureMemory,
7415        texture: WGPUTexture,
7416        descriptor: *const WGPUSharedTextureMemoryBeginAccessDescriptor,
7417    ) -> WGPUStatus,
7418>;
7419pub type WGPUProcSharedTextureMemoryCreateTexture = ::core::option::Option<
7420    unsafe extern "C" fn(
7421        sharedTextureMemory: WGPUSharedTextureMemory,
7422        descriptor: *const WGPUTextureDescriptor,
7423    ) -> WGPUTexture,
7424>;
7425pub type WGPUProcSharedTextureMemoryEndAccess = ::core::option::Option<
7426    unsafe extern "C" fn(
7427        sharedTextureMemory: WGPUSharedTextureMemory,
7428        texture: WGPUTexture,
7429        descriptor: *mut WGPUSharedTextureMemoryEndAccessState,
7430    ) -> WGPUStatus,
7431>;
7432pub type WGPUProcSharedTextureMemoryGetProperties = ::core::option::Option<
7433    unsafe extern "C" fn(
7434        sharedTextureMemory: WGPUSharedTextureMemory,
7435        properties: *mut WGPUSharedTextureMemoryProperties,
7436    ) -> WGPUStatus,
7437>;
7438pub type WGPUProcSharedTextureMemoryIsDeviceLost = ::core::option::Option<
7439    unsafe extern "C" fn(sharedTextureMemory: WGPUSharedTextureMemory) -> WGPUBool,
7440>;
7441pub type WGPUProcSharedTextureMemorySetLabel = ::core::option::Option<
7442    unsafe extern "C" fn(sharedTextureMemory: WGPUSharedTextureMemory, label: WGPUStringView),
7443>;
7444pub type WGPUProcSharedTextureMemoryAddRef =
7445    ::core::option::Option<unsafe extern "C" fn(sharedTextureMemory: WGPUSharedTextureMemory)>;
7446pub type WGPUProcSharedTextureMemoryRelease =
7447    ::core::option::Option<unsafe extern "C" fn(sharedTextureMemory: WGPUSharedTextureMemory)>;
7448pub type WGPUProcSurfaceConfigure = ::core::option::Option<
7449    unsafe extern "C" fn(surface: WGPUSurface, config: *const WGPUSurfaceConfiguration),
7450>;
7451pub type WGPUProcSurfaceGetCapabilities = ::core::option::Option<
7452    unsafe extern "C" fn(
7453        surface: WGPUSurface,
7454        adapter: WGPUAdapter,
7455        capabilities: *mut WGPUSurfaceCapabilities,
7456    ) -> WGPUStatus,
7457>;
7458pub type WGPUProcSurfaceGetCurrentTexture = ::core::option::Option<
7459    unsafe extern "C" fn(surface: WGPUSurface, surfaceTexture: *mut WGPUSurfaceTexture),
7460>;
7461pub type WGPUProcSurfacePresent =
7462    ::core::option::Option<unsafe extern "C" fn(surface: WGPUSurface)>;
7463pub type WGPUProcSurfaceSetLabel =
7464    ::core::option::Option<unsafe extern "C" fn(surface: WGPUSurface, label: WGPUStringView)>;
7465pub type WGPUProcSurfaceUnconfigure =
7466    ::core::option::Option<unsafe extern "C" fn(surface: WGPUSurface)>;
7467pub type WGPUProcSurfaceAddRef = ::core::option::Option<unsafe extern "C" fn(surface: WGPUSurface)>;
7468pub type WGPUProcSurfaceRelease =
7469    ::core::option::Option<unsafe extern "C" fn(surface: WGPUSurface)>;
7470pub type WGPUProcTextureCreateErrorView = ::core::option::Option<
7471    unsafe extern "C" fn(
7472        texture: WGPUTexture,
7473        descriptor: *const WGPUTextureViewDescriptor,
7474    ) -> WGPUTextureView,
7475>;
7476pub type WGPUProcTextureCreateView = ::core::option::Option<
7477    unsafe extern "C" fn(
7478        texture: WGPUTexture,
7479        descriptor: *const WGPUTextureViewDescriptor,
7480    ) -> WGPUTextureView,
7481>;
7482pub type WGPUProcTextureDestroy =
7483    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture)>;
7484pub type WGPUProcTextureGetDepthOrArrayLayers =
7485    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> u32>;
7486pub type WGPUProcTextureGetDimension =
7487    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> WGPUTextureDimension>;
7488pub type WGPUProcTextureGetFormat =
7489    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> WGPUTextureFormat>;
7490pub type WGPUProcTextureGetHeight =
7491    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> u32>;
7492pub type WGPUProcTextureGetMipLevelCount =
7493    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> u32>;
7494pub type WGPUProcTextureGetSampleCount =
7495    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> u32>;
7496pub type WGPUProcTextureGetUsage =
7497    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> WGPUTextureUsage>;
7498pub type WGPUProcTextureGetWidth =
7499    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture) -> u32>;
7500pub type WGPUProcTextureSetLabel =
7501    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture, label: WGPUStringView)>;
7502pub type WGPUProcTextureAddRef = ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture)>;
7503pub type WGPUProcTextureRelease =
7504    ::core::option::Option<unsafe extern "C" fn(texture: WGPUTexture)>;
7505pub type WGPUProcTextureViewSetLabel = ::core::option::Option<
7506    unsafe extern "C" fn(textureView: WGPUTextureView, label: WGPUStringView),
7507>;
7508pub type WGPUProcTextureViewAddRef =
7509    ::core::option::Option<unsafe extern "C" fn(textureView: WGPUTextureView)>;
7510pub type WGPUProcTextureViewRelease =
7511    ::core::option::Option<unsafe extern "C" fn(textureView: WGPUTextureView)>;
7512unsafe extern "C" {
7513    pub fn wgpuAdapterInfoFreeMembers(value: WGPUAdapterInfo);
7514}
7515unsafe extern "C" {
7516    pub fn wgpuAdapterPropertiesMemoryHeapsFreeMembers(value: WGPUAdapterPropertiesMemoryHeaps);
7517}
7518unsafe extern "C" {
7519    pub fn wgpuAdapterPropertiesSubgroupMatrixConfigsFreeMembers(
7520        value: WGPUAdapterPropertiesSubgroupMatrixConfigs,
7521    );
7522}
7523unsafe extern "C" {
7524    pub fn wgpuCreateInstance(descriptor: *const WGPUInstanceDescriptor) -> WGPUInstance;
7525}
7526unsafe extern "C" {
7527    pub fn wgpuDawnDrmFormatCapabilitiesFreeMembers(value: WGPUDawnDrmFormatCapabilities);
7528}
7529unsafe extern "C" {
7530    pub fn wgpuGetInstanceCapabilities(capabilities: *mut WGPUInstanceCapabilities) -> WGPUStatus;
7531}
7532unsafe extern "C" {
7533    pub fn wgpuGetProcAddress(procName: WGPUStringView) -> WGPUProc;
7534}
7535unsafe extern "C" {
7536    pub fn wgpuSharedBufferMemoryEndAccessStateFreeMembers(
7537        value: WGPUSharedBufferMemoryEndAccessState,
7538    );
7539}
7540unsafe extern "C" {
7541    pub fn wgpuSharedTextureMemoryEndAccessStateFreeMembers(
7542        value: WGPUSharedTextureMemoryEndAccessState,
7543    );
7544}
7545unsafe extern "C" {
7546    pub fn wgpuSupportedFeaturesFreeMembers(value: WGPUSupportedFeatures);
7547}
7548unsafe extern "C" {
7549    pub fn wgpuSupportedWGSLLanguageFeaturesFreeMembers(value: WGPUSupportedWGSLLanguageFeatures);
7550}
7551unsafe extern "C" {
7552    pub fn wgpuSurfaceCapabilitiesFreeMembers(value: WGPUSurfaceCapabilities);
7553}
7554unsafe extern "C" {
7555    pub fn wgpuAdapterCreateDevice(
7556        adapter: WGPUAdapter,
7557        descriptor: *const WGPUDeviceDescriptor,
7558    ) -> WGPUDevice;
7559}
7560unsafe extern "C" {
7561    pub fn wgpuAdapterGetFeatures(adapter: WGPUAdapter, features: *mut WGPUSupportedFeatures);
7562}
7563unsafe extern "C" {
7564    pub fn wgpuAdapterGetFormatCapabilities(
7565        adapter: WGPUAdapter,
7566        format: WGPUTextureFormat,
7567        capabilities: *mut WGPUDawnFormatCapabilities,
7568    ) -> WGPUStatus;
7569}
7570unsafe extern "C" {
7571    pub fn wgpuAdapterGetInfo(adapter: WGPUAdapter, info: *mut WGPUAdapterInfo) -> WGPUStatus;
7572}
7573unsafe extern "C" {
7574    pub fn wgpuAdapterGetInstance(adapter: WGPUAdapter) -> WGPUInstance;
7575}
7576unsafe extern "C" {
7577    pub fn wgpuAdapterGetLimits(adapter: WGPUAdapter, limits: *mut WGPULimits) -> WGPUStatus;
7578}
7579unsafe extern "C" {
7580    pub fn wgpuAdapterHasFeature(adapter: WGPUAdapter, feature: WGPUFeatureName) -> WGPUBool;
7581}
7582unsafe extern "C" {
7583    pub fn wgpuAdapterRequestDevice(
7584        adapter: WGPUAdapter,
7585        options: *const WGPUDeviceDescriptor,
7586        callbackInfo: WGPURequestDeviceCallbackInfo,
7587    ) -> WGPUFuture;
7588}
7589unsafe extern "C" {
7590    pub fn wgpuAdapterAddRef(adapter: WGPUAdapter);
7591}
7592unsafe extern "C" {
7593    pub fn wgpuAdapterRelease(adapter: WGPUAdapter);
7594}
7595unsafe extern "C" {
7596    pub fn wgpuBindGroupSetLabel(bindGroup: WGPUBindGroup, label: WGPUStringView);
7597}
7598unsafe extern "C" {
7599    pub fn wgpuBindGroupAddRef(bindGroup: WGPUBindGroup);
7600}
7601unsafe extern "C" {
7602    pub fn wgpuBindGroupRelease(bindGroup: WGPUBindGroup);
7603}
7604unsafe extern "C" {
7605    pub fn wgpuBindGroupLayoutSetLabel(bindGroupLayout: WGPUBindGroupLayout, label: WGPUStringView);
7606}
7607unsafe extern "C" {
7608    pub fn wgpuBindGroupLayoutAddRef(bindGroupLayout: WGPUBindGroupLayout);
7609}
7610unsafe extern "C" {
7611    pub fn wgpuBindGroupLayoutRelease(bindGroupLayout: WGPUBindGroupLayout);
7612}
7613unsafe extern "C" {
7614    pub fn wgpuBufferDestroy(buffer: WGPUBuffer);
7615}
7616unsafe extern "C" {
7617    pub fn wgpuBufferGetConstMappedRange(
7618        buffer: WGPUBuffer,
7619        offset: usize,
7620        size: usize,
7621    ) -> *const ::core::ffi::c_void;
7622}
7623unsafe extern "C" {
7624    pub fn wgpuBufferGetMappedRange(
7625        buffer: WGPUBuffer,
7626        offset: usize,
7627        size: usize,
7628    ) -> *mut ::core::ffi::c_void;
7629}
7630unsafe extern "C" {
7631    pub fn wgpuBufferGetMapState(buffer: WGPUBuffer) -> WGPUBufferMapState;
7632}
7633unsafe extern "C" {
7634    pub fn wgpuBufferGetSize(buffer: WGPUBuffer) -> u64;
7635}
7636unsafe extern "C" {
7637    pub fn wgpuBufferGetUsage(buffer: WGPUBuffer) -> WGPUBufferUsage;
7638}
7639unsafe extern "C" {
7640    pub fn wgpuBufferMapAsync(
7641        buffer: WGPUBuffer,
7642        mode: WGPUMapMode,
7643        offset: usize,
7644        size: usize,
7645        callbackInfo: WGPUBufferMapCallbackInfo,
7646    ) -> WGPUFuture;
7647}
7648unsafe extern "C" {
7649    pub fn wgpuBufferReadMappedRange(
7650        buffer: WGPUBuffer,
7651        offset: usize,
7652        data: *mut ::core::ffi::c_void,
7653        size: usize,
7654    ) -> WGPUStatus;
7655}
7656unsafe extern "C" {
7657    pub fn wgpuBufferSetLabel(buffer: WGPUBuffer, label: WGPUStringView);
7658}
7659unsafe extern "C" {
7660    pub fn wgpuBufferUnmap(buffer: WGPUBuffer);
7661}
7662unsafe extern "C" {
7663    pub fn wgpuBufferWriteMappedRange(
7664        buffer: WGPUBuffer,
7665        offset: usize,
7666        data: *const ::core::ffi::c_void,
7667        size: usize,
7668    ) -> WGPUStatus;
7669}
7670unsafe extern "C" {
7671    pub fn wgpuBufferAddRef(buffer: WGPUBuffer);
7672}
7673unsafe extern "C" {
7674    pub fn wgpuBufferRelease(buffer: WGPUBuffer);
7675}
7676unsafe extern "C" {
7677    pub fn wgpuCommandBufferSetLabel(commandBuffer: WGPUCommandBuffer, label: WGPUStringView);
7678}
7679unsafe extern "C" {
7680    pub fn wgpuCommandBufferAddRef(commandBuffer: WGPUCommandBuffer);
7681}
7682unsafe extern "C" {
7683    pub fn wgpuCommandBufferRelease(commandBuffer: WGPUCommandBuffer);
7684}
7685unsafe extern "C" {
7686    pub fn wgpuCommandEncoderBeginComputePass(
7687        commandEncoder: WGPUCommandEncoder,
7688        descriptor: *const WGPUComputePassDescriptor,
7689    ) -> WGPUComputePassEncoder;
7690}
7691unsafe extern "C" {
7692    pub fn wgpuCommandEncoderBeginRenderPass(
7693        commandEncoder: WGPUCommandEncoder,
7694        descriptor: *const WGPURenderPassDescriptor,
7695    ) -> WGPURenderPassEncoder;
7696}
7697unsafe extern "C" {
7698    pub fn wgpuCommandEncoderClearBuffer(
7699        commandEncoder: WGPUCommandEncoder,
7700        buffer: WGPUBuffer,
7701        offset: u64,
7702        size: u64,
7703    );
7704}
7705unsafe extern "C" {
7706    pub fn wgpuCommandEncoderCopyBufferToBuffer(
7707        commandEncoder: WGPUCommandEncoder,
7708        source: WGPUBuffer,
7709        sourceOffset: u64,
7710        destination: WGPUBuffer,
7711        destinationOffset: u64,
7712        size: u64,
7713    );
7714}
7715unsafe extern "C" {
7716    pub fn wgpuCommandEncoderCopyBufferToTexture(
7717        commandEncoder: WGPUCommandEncoder,
7718        source: *const WGPUTexelCopyBufferInfo,
7719        destination: *const WGPUTexelCopyTextureInfo,
7720        copySize: *const WGPUExtent3D,
7721    );
7722}
7723unsafe extern "C" {
7724    pub fn wgpuCommandEncoderCopyTextureToBuffer(
7725        commandEncoder: WGPUCommandEncoder,
7726        source: *const WGPUTexelCopyTextureInfo,
7727        destination: *const WGPUTexelCopyBufferInfo,
7728        copySize: *const WGPUExtent3D,
7729    );
7730}
7731unsafe extern "C" {
7732    pub fn wgpuCommandEncoderCopyTextureToTexture(
7733        commandEncoder: WGPUCommandEncoder,
7734        source: *const WGPUTexelCopyTextureInfo,
7735        destination: *const WGPUTexelCopyTextureInfo,
7736        copySize: *const WGPUExtent3D,
7737    );
7738}
7739unsafe extern "C" {
7740    pub fn wgpuCommandEncoderFinish(
7741        commandEncoder: WGPUCommandEncoder,
7742        descriptor: *const WGPUCommandBufferDescriptor,
7743    ) -> WGPUCommandBuffer;
7744}
7745unsafe extern "C" {
7746    pub fn wgpuCommandEncoderInjectValidationError(
7747        commandEncoder: WGPUCommandEncoder,
7748        message: WGPUStringView,
7749    );
7750}
7751unsafe extern "C" {
7752    pub fn wgpuCommandEncoderInsertDebugMarker(
7753        commandEncoder: WGPUCommandEncoder,
7754        markerLabel: WGPUStringView,
7755    );
7756}
7757unsafe extern "C" {
7758    pub fn wgpuCommandEncoderPopDebugGroup(commandEncoder: WGPUCommandEncoder);
7759}
7760unsafe extern "C" {
7761    pub fn wgpuCommandEncoderPushDebugGroup(
7762        commandEncoder: WGPUCommandEncoder,
7763        groupLabel: WGPUStringView,
7764    );
7765}
7766unsafe extern "C" {
7767    pub fn wgpuCommandEncoderResolveQuerySet(
7768        commandEncoder: WGPUCommandEncoder,
7769        querySet: WGPUQuerySet,
7770        firstQuery: u32,
7771        queryCount: u32,
7772        destination: WGPUBuffer,
7773        destinationOffset: u64,
7774    );
7775}
7776unsafe extern "C" {
7777    pub fn wgpuCommandEncoderSetLabel(commandEncoder: WGPUCommandEncoder, label: WGPUStringView);
7778}
7779unsafe extern "C" {
7780    pub fn wgpuCommandEncoderWriteBuffer(
7781        commandEncoder: WGPUCommandEncoder,
7782        buffer: WGPUBuffer,
7783        bufferOffset: u64,
7784        data: *const u8,
7785        size: u64,
7786    );
7787}
7788unsafe extern "C" {
7789    pub fn wgpuCommandEncoderWriteTimestamp(
7790        commandEncoder: WGPUCommandEncoder,
7791        querySet: WGPUQuerySet,
7792        queryIndex: u32,
7793    );
7794}
7795unsafe extern "C" {
7796    pub fn wgpuCommandEncoderAddRef(commandEncoder: WGPUCommandEncoder);
7797}
7798unsafe extern "C" {
7799    pub fn wgpuCommandEncoderRelease(commandEncoder: WGPUCommandEncoder);
7800}
7801unsafe extern "C" {
7802    pub fn wgpuComputePassEncoderDispatchWorkgroups(
7803        computePassEncoder: WGPUComputePassEncoder,
7804        workgroupCountX: u32,
7805        workgroupCountY: u32,
7806        workgroupCountZ: u32,
7807    );
7808}
7809unsafe extern "C" {
7810    pub fn wgpuComputePassEncoderDispatchWorkgroupsIndirect(
7811        computePassEncoder: WGPUComputePassEncoder,
7812        indirectBuffer: WGPUBuffer,
7813        indirectOffset: u64,
7814    );
7815}
7816unsafe extern "C" {
7817    pub fn wgpuComputePassEncoderEnd(computePassEncoder: WGPUComputePassEncoder);
7818}
7819unsafe extern "C" {
7820    pub fn wgpuComputePassEncoderInsertDebugMarker(
7821        computePassEncoder: WGPUComputePassEncoder,
7822        markerLabel: WGPUStringView,
7823    );
7824}
7825unsafe extern "C" {
7826    pub fn wgpuComputePassEncoderPopDebugGroup(computePassEncoder: WGPUComputePassEncoder);
7827}
7828unsafe extern "C" {
7829    pub fn wgpuComputePassEncoderPushDebugGroup(
7830        computePassEncoder: WGPUComputePassEncoder,
7831        groupLabel: WGPUStringView,
7832    );
7833}
7834unsafe extern "C" {
7835    pub fn wgpuComputePassEncoderSetBindGroup(
7836        computePassEncoder: WGPUComputePassEncoder,
7837        groupIndex: u32,
7838        group: WGPUBindGroup,
7839        dynamicOffsetCount: usize,
7840        dynamicOffsets: *const u32,
7841    );
7842}
7843unsafe extern "C" {
7844    pub fn wgpuComputePassEncoderSetImmediateData(
7845        computePassEncoder: WGPUComputePassEncoder,
7846        offset: u32,
7847        data: *const ::core::ffi::c_void,
7848        size: usize,
7849    );
7850}
7851unsafe extern "C" {
7852    pub fn wgpuComputePassEncoderSetLabel(
7853        computePassEncoder: WGPUComputePassEncoder,
7854        label: WGPUStringView,
7855    );
7856}
7857unsafe extern "C" {
7858    pub fn wgpuComputePassEncoderSetPipeline(
7859        computePassEncoder: WGPUComputePassEncoder,
7860        pipeline: WGPUComputePipeline,
7861    );
7862}
7863unsafe extern "C" {
7864    pub fn wgpuComputePassEncoderWriteTimestamp(
7865        computePassEncoder: WGPUComputePassEncoder,
7866        querySet: WGPUQuerySet,
7867        queryIndex: u32,
7868    );
7869}
7870unsafe extern "C" {
7871    pub fn wgpuComputePassEncoderAddRef(computePassEncoder: WGPUComputePassEncoder);
7872}
7873unsafe extern "C" {
7874    pub fn wgpuComputePassEncoderRelease(computePassEncoder: WGPUComputePassEncoder);
7875}
7876unsafe extern "C" {
7877    pub fn wgpuComputePipelineGetBindGroupLayout(
7878        computePipeline: WGPUComputePipeline,
7879        groupIndex: u32,
7880    ) -> WGPUBindGroupLayout;
7881}
7882unsafe extern "C" {
7883    pub fn wgpuComputePipelineSetLabel(computePipeline: WGPUComputePipeline, label: WGPUStringView);
7884}
7885unsafe extern "C" {
7886    pub fn wgpuComputePipelineAddRef(computePipeline: WGPUComputePipeline);
7887}
7888unsafe extern "C" {
7889    pub fn wgpuComputePipelineRelease(computePipeline: WGPUComputePipeline);
7890}
7891unsafe extern "C" {
7892    pub fn wgpuDeviceCreateBindGroup(
7893        device: WGPUDevice,
7894        descriptor: *const WGPUBindGroupDescriptor,
7895    ) -> WGPUBindGroup;
7896}
7897unsafe extern "C" {
7898    pub fn wgpuDeviceCreateBindGroupLayout(
7899        device: WGPUDevice,
7900        descriptor: *const WGPUBindGroupLayoutDescriptor,
7901    ) -> WGPUBindGroupLayout;
7902}
7903unsafe extern "C" {
7904    pub fn wgpuDeviceCreateBuffer(
7905        device: WGPUDevice,
7906        descriptor: *const WGPUBufferDescriptor,
7907    ) -> WGPUBuffer;
7908}
7909unsafe extern "C" {
7910    pub fn wgpuDeviceCreateCommandEncoder(
7911        device: WGPUDevice,
7912        descriptor: *const WGPUCommandEncoderDescriptor,
7913    ) -> WGPUCommandEncoder;
7914}
7915unsafe extern "C" {
7916    pub fn wgpuDeviceCreateComputePipeline(
7917        device: WGPUDevice,
7918        descriptor: *const WGPUComputePipelineDescriptor,
7919    ) -> WGPUComputePipeline;
7920}
7921unsafe extern "C" {
7922    pub fn wgpuDeviceCreateComputePipelineAsync(
7923        device: WGPUDevice,
7924        descriptor: *const WGPUComputePipelineDescriptor,
7925        callbackInfo: WGPUCreateComputePipelineAsyncCallbackInfo,
7926    ) -> WGPUFuture;
7927}
7928unsafe extern "C" {
7929    pub fn wgpuDeviceCreateErrorBuffer(
7930        device: WGPUDevice,
7931        descriptor: *const WGPUBufferDescriptor,
7932    ) -> WGPUBuffer;
7933}
7934unsafe extern "C" {
7935    pub fn wgpuDeviceCreateErrorExternalTexture(device: WGPUDevice) -> WGPUExternalTexture;
7936}
7937unsafe extern "C" {
7938    pub fn wgpuDeviceCreateErrorShaderModule(
7939        device: WGPUDevice,
7940        descriptor: *const WGPUShaderModuleDescriptor,
7941        errorMessage: WGPUStringView,
7942    ) -> WGPUShaderModule;
7943}
7944unsafe extern "C" {
7945    pub fn wgpuDeviceCreateErrorTexture(
7946        device: WGPUDevice,
7947        descriptor: *const WGPUTextureDescriptor,
7948    ) -> WGPUTexture;
7949}
7950unsafe extern "C" {
7951    pub fn wgpuDeviceCreateExternalTexture(
7952        device: WGPUDevice,
7953        externalTextureDescriptor: *const WGPUExternalTextureDescriptor,
7954    ) -> WGPUExternalTexture;
7955}
7956unsafe extern "C" {
7957    pub fn wgpuDeviceCreatePipelineLayout(
7958        device: WGPUDevice,
7959        descriptor: *const WGPUPipelineLayoutDescriptor,
7960    ) -> WGPUPipelineLayout;
7961}
7962unsafe extern "C" {
7963    pub fn wgpuDeviceCreateQuerySet(
7964        device: WGPUDevice,
7965        descriptor: *const WGPUQuerySetDescriptor,
7966    ) -> WGPUQuerySet;
7967}
7968unsafe extern "C" {
7969    pub fn wgpuDeviceCreateRenderBundleEncoder(
7970        device: WGPUDevice,
7971        descriptor: *const WGPURenderBundleEncoderDescriptor,
7972    ) -> WGPURenderBundleEncoder;
7973}
7974unsafe extern "C" {
7975    pub fn wgpuDeviceCreateRenderPipeline(
7976        device: WGPUDevice,
7977        descriptor: *const WGPURenderPipelineDescriptor,
7978    ) -> WGPURenderPipeline;
7979}
7980unsafe extern "C" {
7981    pub fn wgpuDeviceCreateRenderPipelineAsync(
7982        device: WGPUDevice,
7983        descriptor: *const WGPURenderPipelineDescriptor,
7984        callbackInfo: WGPUCreateRenderPipelineAsyncCallbackInfo,
7985    ) -> WGPUFuture;
7986}
7987unsafe extern "C" {
7988    pub fn wgpuDeviceCreateSampler(
7989        device: WGPUDevice,
7990        descriptor: *const WGPUSamplerDescriptor,
7991    ) -> WGPUSampler;
7992}
7993unsafe extern "C" {
7994    pub fn wgpuDeviceCreateShaderModule(
7995        device: WGPUDevice,
7996        descriptor: *const WGPUShaderModuleDescriptor,
7997    ) -> WGPUShaderModule;
7998}
7999unsafe extern "C" {
8000    pub fn wgpuDeviceCreateTexture(
8001        device: WGPUDevice,
8002        descriptor: *const WGPUTextureDescriptor,
8003    ) -> WGPUTexture;
8004}
8005unsafe extern "C" {
8006    pub fn wgpuDeviceDestroy(device: WGPUDevice);
8007}
8008unsafe extern "C" {
8009    pub fn wgpuDeviceForceLoss(
8010        device: WGPUDevice,
8011        type_: WGPUDeviceLostReason,
8012        message: WGPUStringView,
8013    );
8014}
8015unsafe extern "C" {
8016    pub fn wgpuDeviceGetAdapter(device: WGPUDevice) -> WGPUAdapter;
8017}
8018unsafe extern "C" {
8019    pub fn wgpuDeviceGetAdapterInfo(
8020        device: WGPUDevice,
8021        adapterInfo: *mut WGPUAdapterInfo,
8022    ) -> WGPUStatus;
8023}
8024unsafe extern "C" {
8025    pub fn wgpuDeviceGetAHardwareBufferProperties(
8026        device: WGPUDevice,
8027        handle: *mut ::core::ffi::c_void,
8028        properties: *mut WGPUAHardwareBufferProperties,
8029    ) -> WGPUStatus;
8030}
8031unsafe extern "C" {
8032    pub fn wgpuDeviceGetFeatures(device: WGPUDevice, features: *mut WGPUSupportedFeatures);
8033}
8034unsafe extern "C" {
8035    pub fn wgpuDeviceGetLimits(device: WGPUDevice, limits: *mut WGPULimits) -> WGPUStatus;
8036}
8037unsafe extern "C" {
8038    pub fn wgpuDeviceGetLostFuture(device: WGPUDevice) -> WGPUFuture;
8039}
8040unsafe extern "C" {
8041    pub fn wgpuDeviceGetQueue(device: WGPUDevice) -> WGPUQueue;
8042}
8043unsafe extern "C" {
8044    pub fn wgpuDeviceHasFeature(device: WGPUDevice, feature: WGPUFeatureName) -> WGPUBool;
8045}
8046unsafe extern "C" {
8047    pub fn wgpuDeviceImportSharedBufferMemory(
8048        device: WGPUDevice,
8049        descriptor: *const WGPUSharedBufferMemoryDescriptor,
8050    ) -> WGPUSharedBufferMemory;
8051}
8052unsafe extern "C" {
8053    pub fn wgpuDeviceImportSharedFence(
8054        device: WGPUDevice,
8055        descriptor: *const WGPUSharedFenceDescriptor,
8056    ) -> WGPUSharedFence;
8057}
8058unsafe extern "C" {
8059    pub fn wgpuDeviceImportSharedTextureMemory(
8060        device: WGPUDevice,
8061        descriptor: *const WGPUSharedTextureMemoryDescriptor,
8062    ) -> WGPUSharedTextureMemory;
8063}
8064unsafe extern "C" {
8065    pub fn wgpuDeviceInjectError(device: WGPUDevice, type_: WGPUErrorType, message: WGPUStringView);
8066}
8067unsafe extern "C" {
8068    pub fn wgpuDevicePopErrorScope(
8069        device: WGPUDevice,
8070        callbackInfo: WGPUPopErrorScopeCallbackInfo,
8071    ) -> WGPUFuture;
8072}
8073unsafe extern "C" {
8074    pub fn wgpuDevicePushErrorScope(device: WGPUDevice, filter: WGPUErrorFilter);
8075}
8076unsafe extern "C" {
8077    pub fn wgpuDeviceSetLabel(device: WGPUDevice, label: WGPUStringView);
8078}
8079unsafe extern "C" {
8080    pub fn wgpuDeviceSetLoggingCallback(device: WGPUDevice, callbackInfo: WGPULoggingCallbackInfo);
8081}
8082unsafe extern "C" {
8083    pub fn wgpuDeviceTick(device: WGPUDevice);
8084}
8085unsafe extern "C" {
8086    pub fn wgpuDeviceValidateTextureDescriptor(
8087        device: WGPUDevice,
8088        descriptor: *const WGPUTextureDescriptor,
8089    );
8090}
8091unsafe extern "C" {
8092    pub fn wgpuDeviceAddRef(device: WGPUDevice);
8093}
8094unsafe extern "C" {
8095    pub fn wgpuDeviceRelease(device: WGPUDevice);
8096}
8097unsafe extern "C" {
8098    pub fn wgpuExternalTextureDestroy(externalTexture: WGPUExternalTexture);
8099}
8100unsafe extern "C" {
8101    pub fn wgpuExternalTextureExpire(externalTexture: WGPUExternalTexture);
8102}
8103unsafe extern "C" {
8104    pub fn wgpuExternalTextureRefresh(externalTexture: WGPUExternalTexture);
8105}
8106unsafe extern "C" {
8107    pub fn wgpuExternalTextureSetLabel(externalTexture: WGPUExternalTexture, label: WGPUStringView);
8108}
8109unsafe extern "C" {
8110    pub fn wgpuExternalTextureAddRef(externalTexture: WGPUExternalTexture);
8111}
8112unsafe extern "C" {
8113    pub fn wgpuExternalTextureRelease(externalTexture: WGPUExternalTexture);
8114}
8115unsafe extern "C" {
8116    pub fn wgpuInstanceCreateSurface(
8117        instance: WGPUInstance,
8118        descriptor: *const WGPUSurfaceDescriptor,
8119    ) -> WGPUSurface;
8120}
8121unsafe extern "C" {
8122    pub fn wgpuInstanceGetWGSLLanguageFeatures(
8123        instance: WGPUInstance,
8124        features: *mut WGPUSupportedWGSLLanguageFeatures,
8125    ) -> WGPUStatus;
8126}
8127unsafe extern "C" {
8128    pub fn wgpuInstanceHasWGSLLanguageFeature(
8129        instance: WGPUInstance,
8130        feature: WGPUWGSLLanguageFeatureName,
8131    ) -> WGPUBool;
8132}
8133unsafe extern "C" {
8134    pub fn wgpuInstanceProcessEvents(instance: WGPUInstance);
8135}
8136unsafe extern "C" {
8137    pub fn wgpuInstanceRequestAdapter(
8138        instance: WGPUInstance,
8139        options: *const WGPURequestAdapterOptions,
8140        callbackInfo: WGPURequestAdapterCallbackInfo,
8141    ) -> WGPUFuture;
8142}
8143unsafe extern "C" {
8144    pub fn wgpuInstanceWaitAny(
8145        instance: WGPUInstance,
8146        futureCount: usize,
8147        futures: *mut WGPUFutureWaitInfo,
8148        timeoutNS: u64,
8149    ) -> WGPUWaitStatus;
8150}
8151unsafe extern "C" {
8152    pub fn wgpuInstanceAddRef(instance: WGPUInstance);
8153}
8154unsafe extern "C" {
8155    pub fn wgpuInstanceRelease(instance: WGPUInstance);
8156}
8157unsafe extern "C" {
8158    pub fn wgpuPipelineLayoutSetLabel(pipelineLayout: WGPUPipelineLayout, label: WGPUStringView);
8159}
8160unsafe extern "C" {
8161    pub fn wgpuPipelineLayoutAddRef(pipelineLayout: WGPUPipelineLayout);
8162}
8163unsafe extern "C" {
8164    pub fn wgpuPipelineLayoutRelease(pipelineLayout: WGPUPipelineLayout);
8165}
8166unsafe extern "C" {
8167    pub fn wgpuQuerySetDestroy(querySet: WGPUQuerySet);
8168}
8169unsafe extern "C" {
8170    pub fn wgpuQuerySetGetCount(querySet: WGPUQuerySet) -> u32;
8171}
8172unsafe extern "C" {
8173    pub fn wgpuQuerySetGetType(querySet: WGPUQuerySet) -> WGPUQueryType;
8174}
8175unsafe extern "C" {
8176    pub fn wgpuQuerySetSetLabel(querySet: WGPUQuerySet, label: WGPUStringView);
8177}
8178unsafe extern "C" {
8179    pub fn wgpuQuerySetAddRef(querySet: WGPUQuerySet);
8180}
8181unsafe extern "C" {
8182    pub fn wgpuQuerySetRelease(querySet: WGPUQuerySet);
8183}
8184unsafe extern "C" {
8185    pub fn wgpuQueueCopyExternalTextureForBrowser(
8186        queue: WGPUQueue,
8187        source: *const WGPUImageCopyExternalTexture,
8188        destination: *const WGPUTexelCopyTextureInfo,
8189        copySize: *const WGPUExtent3D,
8190        options: *const WGPUCopyTextureForBrowserOptions,
8191    );
8192}
8193unsafe extern "C" {
8194    pub fn wgpuQueueCopyTextureForBrowser(
8195        queue: WGPUQueue,
8196        source: *const WGPUTexelCopyTextureInfo,
8197        destination: *const WGPUTexelCopyTextureInfo,
8198        copySize: *const WGPUExtent3D,
8199        options: *const WGPUCopyTextureForBrowserOptions,
8200    );
8201}
8202unsafe extern "C" {
8203    pub fn wgpuQueueOnSubmittedWorkDone(
8204        queue: WGPUQueue,
8205        callbackInfo: WGPUQueueWorkDoneCallbackInfo,
8206    ) -> WGPUFuture;
8207}
8208unsafe extern "C" {
8209    pub fn wgpuQueueSetLabel(queue: WGPUQueue, label: WGPUStringView);
8210}
8211unsafe extern "C" {
8212    pub fn wgpuQueueSubmit(
8213        queue: WGPUQueue,
8214        commandCount: usize,
8215        commands: *const WGPUCommandBuffer,
8216    );
8217}
8218unsafe extern "C" {
8219    pub fn wgpuQueueWriteBuffer(
8220        queue: WGPUQueue,
8221        buffer: WGPUBuffer,
8222        bufferOffset: u64,
8223        data: *const ::core::ffi::c_void,
8224        size: usize,
8225    );
8226}
8227unsafe extern "C" {
8228    pub fn wgpuQueueWriteTexture(
8229        queue: WGPUQueue,
8230        destination: *const WGPUTexelCopyTextureInfo,
8231        data: *const ::core::ffi::c_void,
8232        dataSize: usize,
8233        dataLayout: *const WGPUTexelCopyBufferLayout,
8234        writeSize: *const WGPUExtent3D,
8235    );
8236}
8237unsafe extern "C" {
8238    pub fn wgpuQueueAddRef(queue: WGPUQueue);
8239}
8240unsafe extern "C" {
8241    pub fn wgpuQueueRelease(queue: WGPUQueue);
8242}
8243unsafe extern "C" {
8244    pub fn wgpuRenderBundleSetLabel(renderBundle: WGPURenderBundle, label: WGPUStringView);
8245}
8246unsafe extern "C" {
8247    pub fn wgpuRenderBundleAddRef(renderBundle: WGPURenderBundle);
8248}
8249unsafe extern "C" {
8250    pub fn wgpuRenderBundleRelease(renderBundle: WGPURenderBundle);
8251}
8252unsafe extern "C" {
8253    pub fn wgpuRenderBundleEncoderDraw(
8254        renderBundleEncoder: WGPURenderBundleEncoder,
8255        vertexCount: u32,
8256        instanceCount: u32,
8257        firstVertex: u32,
8258        firstInstance: u32,
8259    );
8260}
8261unsafe extern "C" {
8262    pub fn wgpuRenderBundleEncoderDrawIndexed(
8263        renderBundleEncoder: WGPURenderBundleEncoder,
8264        indexCount: u32,
8265        instanceCount: u32,
8266        firstIndex: u32,
8267        baseVertex: i32,
8268        firstInstance: u32,
8269    );
8270}
8271unsafe extern "C" {
8272    pub fn wgpuRenderBundleEncoderDrawIndexedIndirect(
8273        renderBundleEncoder: WGPURenderBundleEncoder,
8274        indirectBuffer: WGPUBuffer,
8275        indirectOffset: u64,
8276    );
8277}
8278unsafe extern "C" {
8279    pub fn wgpuRenderBundleEncoderDrawIndirect(
8280        renderBundleEncoder: WGPURenderBundleEncoder,
8281        indirectBuffer: WGPUBuffer,
8282        indirectOffset: u64,
8283    );
8284}
8285unsafe extern "C" {
8286    pub fn wgpuRenderBundleEncoderFinish(
8287        renderBundleEncoder: WGPURenderBundleEncoder,
8288        descriptor: *const WGPURenderBundleDescriptor,
8289    ) -> WGPURenderBundle;
8290}
8291unsafe extern "C" {
8292    pub fn wgpuRenderBundleEncoderInsertDebugMarker(
8293        renderBundleEncoder: WGPURenderBundleEncoder,
8294        markerLabel: WGPUStringView,
8295    );
8296}
8297unsafe extern "C" {
8298    pub fn wgpuRenderBundleEncoderPopDebugGroup(renderBundleEncoder: WGPURenderBundleEncoder);
8299}
8300unsafe extern "C" {
8301    pub fn wgpuRenderBundleEncoderPushDebugGroup(
8302        renderBundleEncoder: WGPURenderBundleEncoder,
8303        groupLabel: WGPUStringView,
8304    );
8305}
8306unsafe extern "C" {
8307    pub fn wgpuRenderBundleEncoderSetBindGroup(
8308        renderBundleEncoder: WGPURenderBundleEncoder,
8309        groupIndex: u32,
8310        group: WGPUBindGroup,
8311        dynamicOffsetCount: usize,
8312        dynamicOffsets: *const u32,
8313    );
8314}
8315unsafe extern "C" {
8316    pub fn wgpuRenderBundleEncoderSetImmediateData(
8317        renderBundleEncoder: WGPURenderBundleEncoder,
8318        offset: u32,
8319        data: *const ::core::ffi::c_void,
8320        size: usize,
8321    );
8322}
8323unsafe extern "C" {
8324    pub fn wgpuRenderBundleEncoderSetIndexBuffer(
8325        renderBundleEncoder: WGPURenderBundleEncoder,
8326        buffer: WGPUBuffer,
8327        format: WGPUIndexFormat,
8328        offset: u64,
8329        size: u64,
8330    );
8331}
8332unsafe extern "C" {
8333    pub fn wgpuRenderBundleEncoderSetLabel(
8334        renderBundleEncoder: WGPURenderBundleEncoder,
8335        label: WGPUStringView,
8336    );
8337}
8338unsafe extern "C" {
8339    pub fn wgpuRenderBundleEncoderSetPipeline(
8340        renderBundleEncoder: WGPURenderBundleEncoder,
8341        pipeline: WGPURenderPipeline,
8342    );
8343}
8344unsafe extern "C" {
8345    pub fn wgpuRenderBundleEncoderSetVertexBuffer(
8346        renderBundleEncoder: WGPURenderBundleEncoder,
8347        slot: u32,
8348        buffer: WGPUBuffer,
8349        offset: u64,
8350        size: u64,
8351    );
8352}
8353unsafe extern "C" {
8354    pub fn wgpuRenderBundleEncoderAddRef(renderBundleEncoder: WGPURenderBundleEncoder);
8355}
8356unsafe extern "C" {
8357    pub fn wgpuRenderBundleEncoderRelease(renderBundleEncoder: WGPURenderBundleEncoder);
8358}
8359unsafe extern "C" {
8360    pub fn wgpuRenderPassEncoderBeginOcclusionQuery(
8361        renderPassEncoder: WGPURenderPassEncoder,
8362        queryIndex: u32,
8363    );
8364}
8365unsafe extern "C" {
8366    pub fn wgpuRenderPassEncoderDraw(
8367        renderPassEncoder: WGPURenderPassEncoder,
8368        vertexCount: u32,
8369        instanceCount: u32,
8370        firstVertex: u32,
8371        firstInstance: u32,
8372    );
8373}
8374unsafe extern "C" {
8375    pub fn wgpuRenderPassEncoderDrawIndexed(
8376        renderPassEncoder: WGPURenderPassEncoder,
8377        indexCount: u32,
8378        instanceCount: u32,
8379        firstIndex: u32,
8380        baseVertex: i32,
8381        firstInstance: u32,
8382    );
8383}
8384unsafe extern "C" {
8385    pub fn wgpuRenderPassEncoderDrawIndexedIndirect(
8386        renderPassEncoder: WGPURenderPassEncoder,
8387        indirectBuffer: WGPUBuffer,
8388        indirectOffset: u64,
8389    );
8390}
8391unsafe extern "C" {
8392    pub fn wgpuRenderPassEncoderDrawIndirect(
8393        renderPassEncoder: WGPURenderPassEncoder,
8394        indirectBuffer: WGPUBuffer,
8395        indirectOffset: u64,
8396    );
8397}
8398unsafe extern "C" {
8399    pub fn wgpuRenderPassEncoderEnd(renderPassEncoder: WGPURenderPassEncoder);
8400}
8401unsafe extern "C" {
8402    pub fn wgpuRenderPassEncoderEndOcclusionQuery(renderPassEncoder: WGPURenderPassEncoder);
8403}
8404unsafe extern "C" {
8405    pub fn wgpuRenderPassEncoderExecuteBundles(
8406        renderPassEncoder: WGPURenderPassEncoder,
8407        bundleCount: usize,
8408        bundles: *const WGPURenderBundle,
8409    );
8410}
8411unsafe extern "C" {
8412    pub fn wgpuRenderPassEncoderInsertDebugMarker(
8413        renderPassEncoder: WGPURenderPassEncoder,
8414        markerLabel: WGPUStringView,
8415    );
8416}
8417unsafe extern "C" {
8418    pub fn wgpuRenderPassEncoderMultiDrawIndexedIndirect(
8419        renderPassEncoder: WGPURenderPassEncoder,
8420        indirectBuffer: WGPUBuffer,
8421        indirectOffset: u64,
8422        maxDrawCount: u32,
8423        drawCountBuffer: WGPUBuffer,
8424        drawCountBufferOffset: u64,
8425    );
8426}
8427unsafe extern "C" {
8428    pub fn wgpuRenderPassEncoderMultiDrawIndirect(
8429        renderPassEncoder: WGPURenderPassEncoder,
8430        indirectBuffer: WGPUBuffer,
8431        indirectOffset: u64,
8432        maxDrawCount: u32,
8433        drawCountBuffer: WGPUBuffer,
8434        drawCountBufferOffset: u64,
8435    );
8436}
8437unsafe extern "C" {
8438    pub fn wgpuRenderPassEncoderPixelLocalStorageBarrier(renderPassEncoder: WGPURenderPassEncoder);
8439}
8440unsafe extern "C" {
8441    pub fn wgpuRenderPassEncoderPopDebugGroup(renderPassEncoder: WGPURenderPassEncoder);
8442}
8443unsafe extern "C" {
8444    pub fn wgpuRenderPassEncoderPushDebugGroup(
8445        renderPassEncoder: WGPURenderPassEncoder,
8446        groupLabel: WGPUStringView,
8447    );
8448}
8449unsafe extern "C" {
8450    pub fn wgpuRenderPassEncoderSetBindGroup(
8451        renderPassEncoder: WGPURenderPassEncoder,
8452        groupIndex: u32,
8453        group: WGPUBindGroup,
8454        dynamicOffsetCount: usize,
8455        dynamicOffsets: *const u32,
8456    );
8457}
8458unsafe extern "C" {
8459    pub fn wgpuRenderPassEncoderSetBlendConstant(
8460        renderPassEncoder: WGPURenderPassEncoder,
8461        color: *const WGPUColor,
8462    );
8463}
8464unsafe extern "C" {
8465    pub fn wgpuRenderPassEncoderSetImmediateData(
8466        renderPassEncoder: WGPURenderPassEncoder,
8467        offset: u32,
8468        data: *const ::core::ffi::c_void,
8469        size: usize,
8470    );
8471}
8472unsafe extern "C" {
8473    pub fn wgpuRenderPassEncoderSetIndexBuffer(
8474        renderPassEncoder: WGPURenderPassEncoder,
8475        buffer: WGPUBuffer,
8476        format: WGPUIndexFormat,
8477        offset: u64,
8478        size: u64,
8479    );
8480}
8481unsafe extern "C" {
8482    pub fn wgpuRenderPassEncoderSetLabel(
8483        renderPassEncoder: WGPURenderPassEncoder,
8484        label: WGPUStringView,
8485    );
8486}
8487unsafe extern "C" {
8488    pub fn wgpuRenderPassEncoderSetPipeline(
8489        renderPassEncoder: WGPURenderPassEncoder,
8490        pipeline: WGPURenderPipeline,
8491    );
8492}
8493unsafe extern "C" {
8494    pub fn wgpuRenderPassEncoderSetScissorRect(
8495        renderPassEncoder: WGPURenderPassEncoder,
8496        x: u32,
8497        y: u32,
8498        width: u32,
8499        height: u32,
8500    );
8501}
8502unsafe extern "C" {
8503    pub fn wgpuRenderPassEncoderSetStencilReference(
8504        renderPassEncoder: WGPURenderPassEncoder,
8505        reference: u32,
8506    );
8507}
8508unsafe extern "C" {
8509    pub fn wgpuRenderPassEncoderSetVertexBuffer(
8510        renderPassEncoder: WGPURenderPassEncoder,
8511        slot: u32,
8512        buffer: WGPUBuffer,
8513        offset: u64,
8514        size: u64,
8515    );
8516}
8517unsafe extern "C" {
8518    pub fn wgpuRenderPassEncoderSetViewport(
8519        renderPassEncoder: WGPURenderPassEncoder,
8520        x: f32,
8521        y: f32,
8522        width: f32,
8523        height: f32,
8524        minDepth: f32,
8525        maxDepth: f32,
8526    );
8527}
8528unsafe extern "C" {
8529    pub fn wgpuRenderPassEncoderWriteTimestamp(
8530        renderPassEncoder: WGPURenderPassEncoder,
8531        querySet: WGPUQuerySet,
8532        queryIndex: u32,
8533    );
8534}
8535unsafe extern "C" {
8536    pub fn wgpuRenderPassEncoderAddRef(renderPassEncoder: WGPURenderPassEncoder);
8537}
8538unsafe extern "C" {
8539    pub fn wgpuRenderPassEncoderRelease(renderPassEncoder: WGPURenderPassEncoder);
8540}
8541unsafe extern "C" {
8542    pub fn wgpuRenderPipelineGetBindGroupLayout(
8543        renderPipeline: WGPURenderPipeline,
8544        groupIndex: u32,
8545    ) -> WGPUBindGroupLayout;
8546}
8547unsafe extern "C" {
8548    pub fn wgpuRenderPipelineSetLabel(renderPipeline: WGPURenderPipeline, label: WGPUStringView);
8549}
8550unsafe extern "C" {
8551    pub fn wgpuRenderPipelineAddRef(renderPipeline: WGPURenderPipeline);
8552}
8553unsafe extern "C" {
8554    pub fn wgpuRenderPipelineRelease(renderPipeline: WGPURenderPipeline);
8555}
8556unsafe extern "C" {
8557    pub fn wgpuSamplerSetLabel(sampler: WGPUSampler, label: WGPUStringView);
8558}
8559unsafe extern "C" {
8560    pub fn wgpuSamplerAddRef(sampler: WGPUSampler);
8561}
8562unsafe extern "C" {
8563    pub fn wgpuSamplerRelease(sampler: WGPUSampler);
8564}
8565unsafe extern "C" {
8566    pub fn wgpuShaderModuleGetCompilationInfo(
8567        shaderModule: WGPUShaderModule,
8568        callbackInfo: WGPUCompilationInfoCallbackInfo,
8569    ) -> WGPUFuture;
8570}
8571unsafe extern "C" {
8572    pub fn wgpuShaderModuleSetLabel(shaderModule: WGPUShaderModule, label: WGPUStringView);
8573}
8574unsafe extern "C" {
8575    pub fn wgpuShaderModuleAddRef(shaderModule: WGPUShaderModule);
8576}
8577unsafe extern "C" {
8578    pub fn wgpuShaderModuleRelease(shaderModule: WGPUShaderModule);
8579}
8580unsafe extern "C" {
8581    pub fn wgpuSharedBufferMemoryBeginAccess(
8582        sharedBufferMemory: WGPUSharedBufferMemory,
8583        buffer: WGPUBuffer,
8584        descriptor: *const WGPUSharedBufferMemoryBeginAccessDescriptor,
8585    ) -> WGPUStatus;
8586}
8587unsafe extern "C" {
8588    pub fn wgpuSharedBufferMemoryCreateBuffer(
8589        sharedBufferMemory: WGPUSharedBufferMemory,
8590        descriptor: *const WGPUBufferDescriptor,
8591    ) -> WGPUBuffer;
8592}
8593unsafe extern "C" {
8594    pub fn wgpuSharedBufferMemoryEndAccess(
8595        sharedBufferMemory: WGPUSharedBufferMemory,
8596        buffer: WGPUBuffer,
8597        descriptor: *mut WGPUSharedBufferMemoryEndAccessState,
8598    ) -> WGPUStatus;
8599}
8600unsafe extern "C" {
8601    pub fn wgpuSharedBufferMemoryGetProperties(
8602        sharedBufferMemory: WGPUSharedBufferMemory,
8603        properties: *mut WGPUSharedBufferMemoryProperties,
8604    ) -> WGPUStatus;
8605}
8606unsafe extern "C" {
8607    pub fn wgpuSharedBufferMemoryIsDeviceLost(
8608        sharedBufferMemory: WGPUSharedBufferMemory,
8609    ) -> WGPUBool;
8610}
8611unsafe extern "C" {
8612    pub fn wgpuSharedBufferMemorySetLabel(
8613        sharedBufferMemory: WGPUSharedBufferMemory,
8614        label: WGPUStringView,
8615    );
8616}
8617unsafe extern "C" {
8618    pub fn wgpuSharedBufferMemoryAddRef(sharedBufferMemory: WGPUSharedBufferMemory);
8619}
8620unsafe extern "C" {
8621    pub fn wgpuSharedBufferMemoryRelease(sharedBufferMemory: WGPUSharedBufferMemory);
8622}
8623unsafe extern "C" {
8624    pub fn wgpuSharedFenceExportInfo(
8625        sharedFence: WGPUSharedFence,
8626        info: *mut WGPUSharedFenceExportInfo,
8627    );
8628}
8629unsafe extern "C" {
8630    pub fn wgpuSharedFenceAddRef(sharedFence: WGPUSharedFence);
8631}
8632unsafe extern "C" {
8633    pub fn wgpuSharedFenceRelease(sharedFence: WGPUSharedFence);
8634}
8635unsafe extern "C" {
8636    pub fn wgpuSharedTextureMemoryBeginAccess(
8637        sharedTextureMemory: WGPUSharedTextureMemory,
8638        texture: WGPUTexture,
8639        descriptor: *const WGPUSharedTextureMemoryBeginAccessDescriptor,
8640    ) -> WGPUStatus;
8641}
8642unsafe extern "C" {
8643    pub fn wgpuSharedTextureMemoryCreateTexture(
8644        sharedTextureMemory: WGPUSharedTextureMemory,
8645        descriptor: *const WGPUTextureDescriptor,
8646    ) -> WGPUTexture;
8647}
8648unsafe extern "C" {
8649    pub fn wgpuSharedTextureMemoryEndAccess(
8650        sharedTextureMemory: WGPUSharedTextureMemory,
8651        texture: WGPUTexture,
8652        descriptor: *mut WGPUSharedTextureMemoryEndAccessState,
8653    ) -> WGPUStatus;
8654}
8655unsafe extern "C" {
8656    pub fn wgpuSharedTextureMemoryGetProperties(
8657        sharedTextureMemory: WGPUSharedTextureMemory,
8658        properties: *mut WGPUSharedTextureMemoryProperties,
8659    ) -> WGPUStatus;
8660}
8661unsafe extern "C" {
8662    pub fn wgpuSharedTextureMemoryIsDeviceLost(
8663        sharedTextureMemory: WGPUSharedTextureMemory,
8664    ) -> WGPUBool;
8665}
8666unsafe extern "C" {
8667    pub fn wgpuSharedTextureMemorySetLabel(
8668        sharedTextureMemory: WGPUSharedTextureMemory,
8669        label: WGPUStringView,
8670    );
8671}
8672unsafe extern "C" {
8673    pub fn wgpuSharedTextureMemoryAddRef(sharedTextureMemory: WGPUSharedTextureMemory);
8674}
8675unsafe extern "C" {
8676    pub fn wgpuSharedTextureMemoryRelease(sharedTextureMemory: WGPUSharedTextureMemory);
8677}
8678unsafe extern "C" {
8679    pub fn wgpuSurfaceConfigure(surface: WGPUSurface, config: *const WGPUSurfaceConfiguration);
8680}
8681unsafe extern "C" {
8682    pub fn wgpuSurfaceGetCapabilities(
8683        surface: WGPUSurface,
8684        adapter: WGPUAdapter,
8685        capabilities: *mut WGPUSurfaceCapabilities,
8686    ) -> WGPUStatus;
8687}
8688unsafe extern "C" {
8689    pub fn wgpuSurfaceGetCurrentTexture(
8690        surface: WGPUSurface,
8691        surfaceTexture: *mut WGPUSurfaceTexture,
8692    );
8693}
8694unsafe extern "C" {
8695    pub fn wgpuSurfacePresent(surface: WGPUSurface);
8696}
8697unsafe extern "C" {
8698    pub fn wgpuSurfaceSetLabel(surface: WGPUSurface, label: WGPUStringView);
8699}
8700unsafe extern "C" {
8701    pub fn wgpuSurfaceUnconfigure(surface: WGPUSurface);
8702}
8703unsafe extern "C" {
8704    pub fn wgpuSurfaceAddRef(surface: WGPUSurface);
8705}
8706unsafe extern "C" {
8707    pub fn wgpuSurfaceRelease(surface: WGPUSurface);
8708}
8709unsafe extern "C" {
8710    pub fn wgpuTextureCreateErrorView(
8711        texture: WGPUTexture,
8712        descriptor: *const WGPUTextureViewDescriptor,
8713    ) -> WGPUTextureView;
8714}
8715unsafe extern "C" {
8716    pub fn wgpuTextureCreateView(
8717        texture: WGPUTexture,
8718        descriptor: *const WGPUTextureViewDescriptor,
8719    ) -> WGPUTextureView;
8720}
8721unsafe extern "C" {
8722    pub fn wgpuTextureDestroy(texture: WGPUTexture);
8723}
8724unsafe extern "C" {
8725    pub fn wgpuTextureGetDepthOrArrayLayers(texture: WGPUTexture) -> u32;
8726}
8727unsafe extern "C" {
8728    pub fn wgpuTextureGetDimension(texture: WGPUTexture) -> WGPUTextureDimension;
8729}
8730unsafe extern "C" {
8731    pub fn wgpuTextureGetFormat(texture: WGPUTexture) -> WGPUTextureFormat;
8732}
8733unsafe extern "C" {
8734    pub fn wgpuTextureGetHeight(texture: WGPUTexture) -> u32;
8735}
8736unsafe extern "C" {
8737    pub fn wgpuTextureGetMipLevelCount(texture: WGPUTexture) -> u32;
8738}
8739unsafe extern "C" {
8740    pub fn wgpuTextureGetSampleCount(texture: WGPUTexture) -> u32;
8741}
8742unsafe extern "C" {
8743    pub fn wgpuTextureGetUsage(texture: WGPUTexture) -> WGPUTextureUsage;
8744}
8745unsafe extern "C" {
8746    pub fn wgpuTextureGetWidth(texture: WGPUTexture) -> u32;
8747}
8748unsafe extern "C" {
8749    pub fn wgpuTextureSetLabel(texture: WGPUTexture, label: WGPUStringView);
8750}
8751unsafe extern "C" {
8752    pub fn wgpuTextureAddRef(texture: WGPUTexture);
8753}
8754unsafe extern "C" {
8755    pub fn wgpuTextureRelease(texture: WGPUTexture);
8756}
8757unsafe extern "C" {
8758    pub fn wgpuTextureViewSetLabel(textureView: WGPUTextureView, label: WGPUStringView);
8759}
8760unsafe extern "C" {
8761    pub fn wgpuTextureViewAddRef(textureView: WGPUTextureView);
8762}
8763unsafe extern "C" {
8764    pub fn wgpuTextureViewRelease(textureView: WGPUTextureView);
8765}