From 3cca5f8cfd0fe63a0f3d32d5477d017414d10173 Mon Sep 17 00:00:00 2001 From: Andy Leiserson Date: Wed, 28 May 2025 08:21:19 -0700 Subject: [PATCH] Make the copy_buffer_to_buffer `size` parameter optional (#7659) * Make wgpu-core's copy_buffer_to_buffer `size` parameter optional * Make the copy size optional in more places * Fix for webgpu backend * [deno_webgpu] Support additional copyBufferToBuffer signatures * Add changelog entry * Add copyBufferToBuffer tests to CTS test list (This doesn't actually enable the tests for the new overloads, because of a different error reporting issue that affects many CTS tests including these. But if you run the tests for the new overloads manually, before and after the fix, you can see that the behavior has changed.) * Reproducible formula for vendoring modified webgpu-sys Commit the updated vendor command in all the files for consistency. --- CHANGELOG.md | 4 + cts_runner/test.lst | 5 ++ deno_webgpu/command_encoder.rs | 83 +++++++++++++++++-- wgpu-core/src/command/transfer.rs | 8 +- wgpu-core/src/device/trace.rs | 2 +- wgpu/src/api/command_encoder.rs | 4 +- wgpu/src/backend/webgpu.rs | 31 ++++--- wgpu/src/backend/webgpu/webgpu_sys/gen_Gpu.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuAdapter.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuAdapterInfo.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuAddressMode.rs | 2 +- .../webgpu_sys/gen_GpuAutoLayoutMode.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuBindGroup.rs | 2 +- .../webgpu_sys/gen_GpuBindGroupDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuBindGroupEntry.rs | 2 +- .../webgpu_sys/gen_GpuBindGroupLayout.rs | 2 +- .../gen_GpuBindGroupLayoutDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuBindGroupLayoutEntry.rs | 2 +- .../webgpu_sys/gen_GpuBlendComponent.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuBlendFactor.rs | 2 +- .../webgpu_sys/gen_GpuBlendOperation.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuBlendState.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuBuffer.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuBufferBinding.rs | 2 +- .../webgpu_sys/gen_GpuBufferBindingLayout.rs | 2 +- .../webgpu_sys/gen_GpuBufferBindingType.rs | 2 +- .../webgpu_sys/gen_GpuBufferDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuBufferMapState.rs | 2 +- .../webgpu_sys/gen_GpuCanvasAlphaMode.rs | 2 +- .../webgpu_sys/gen_GpuCanvasConfiguration.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuCanvasContext.rs | 2 +- .../webgpu_sys/gen_GpuCanvasToneMapping.rs | 2 +- .../gen_GpuCanvasToneMappingMode.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuColorDict.rs | 2 +- .../webgpu_sys/gen_GpuColorTargetState.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuCommandBuffer.rs | 2 +- .../gen_GpuCommandBufferDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuCommandEncoder.rs | 70 +++++++++++++++- .../gen_GpuCommandEncoderDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuCompareFunction.rs | 2 +- .../webgpu_sys/gen_GpuCompilationInfo.rs | 2 +- .../webgpu_sys/gen_GpuCompilationMessage.rs | 2 +- .../gen_GpuCompilationMessageType.rs | 2 +- .../gen_GpuComputePassDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuComputePassEncoder.rs | 2 +- .../gen_GpuComputePassTimestampWrites.rs | 2 +- .../webgpu_sys/gen_GpuComputePipeline.rs | 2 +- .../gen_GpuComputePipelineDescriptor.rs | 2 +- .../gen_GpuCopyExternalImageDestInfo.rs | 2 +- .../gen_GpuCopyExternalImageSourceInfo.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuCullMode.rs | 2 +- .../webgpu_sys/gen_GpuDepthStencilState.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuDevice.rs | 2 +- .../webgpu_sys/gen_GpuDeviceDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuDeviceLostInfo.rs | 2 +- .../webgpu_sys/gen_GpuDeviceLostReason.rs | 2 +- .../backend/webgpu/webgpu_sys/gen_GpuError.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuErrorFilter.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuExtent3dDict.rs | 2 +- .../webgpu_sys/gen_GpuExternalTexture.rs | 2 +- .../gen_GpuExternalTextureBindingLayout.rs | 2 +- .../gen_GpuExternalTextureDescriptor.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuFeatureName.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuFilterMode.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuFragmentState.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuFrontFace.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuIndexFormat.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuLoadOp.rs | 2 +- .../webgpu_sys/gen_GpuMipmapFilterMode.rs | 2 +- .../webgpu_sys/gen_GpuMultisampleState.rs | 2 +- .../webgpu_sys/gen_GpuObjectDescriptorBase.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuOrigin2dDict.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuOrigin3dDict.rs | 2 +- .../webgpu_sys/gen_GpuOutOfMemoryError.rs | 2 +- .../gen_GpuPipelineDescriptorBase.rs | 2 +- .../webgpu_sys/gen_GpuPipelineLayout.rs | 2 +- .../gen_GpuPipelineLayoutDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuPowerPreference.rs | 2 +- .../webgpu_sys/gen_GpuPrimitiveState.rs | 2 +- .../webgpu_sys/gen_GpuPrimitiveTopology.rs | 2 +- .../webgpu_sys/gen_GpuProgrammableStage.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuQuerySet.rs | 2 +- .../webgpu_sys/gen_GpuQuerySetDescriptor.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuQueryType.rs | 2 +- .../backend/webgpu/webgpu_sys/gen_GpuQueue.rs | 2 +- .../webgpu_sys/gen_GpuQueueDescriptor.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuRenderBundle.rs | 2 +- .../gen_GpuRenderBundleDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuRenderBundleEncoder.rs | 2 +- .../gen_GpuRenderBundleEncoderDescriptor.rs | 2 +- .../gen_GpuRenderPassColorAttachment.rs | 2 +- ...gen_GpuRenderPassDepthStencilAttachment.rs | 2 +- .../webgpu_sys/gen_GpuRenderPassDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuRenderPassEncoder.rs | 2 +- .../gen_GpuRenderPassTimestampWrites.rs | 2 +- .../webgpu_sys/gen_GpuRenderPipeline.rs | 2 +- .../gen_GpuRenderPipelineDescriptor.rs | 2 +- .../gen_GpuRequestAdapterOptions.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuSampler.rs | 2 +- .../webgpu_sys/gen_GpuSamplerBindingLayout.rs | 2 +- .../webgpu_sys/gen_GpuSamplerBindingType.rs | 2 +- .../webgpu_sys/gen_GpuSamplerDescriptor.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuShaderModule.rs | 2 +- .../gen_GpuShaderModuleDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuStencilFaceState.rs | 2 +- .../webgpu_sys/gen_GpuStencilOperation.rs | 2 +- .../webgpu_sys/gen_GpuStorageTextureAccess.rs | 2 +- .../gen_GpuStorageTextureBindingLayout.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuStoreOp.rs | 2 +- .../webgpu_sys/gen_GpuSupportedFeatures.rs | 2 +- .../webgpu_sys/gen_GpuSupportedLimits.rs | 2 +- .../webgpu_sys/gen_GpuTexelCopyBufferInfo.rs | 2 +- .../gen_GpuTexelCopyBufferLayout.rs | 2 +- .../webgpu_sys/gen_GpuTexelCopyTextureInfo.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuTexture.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuTextureAspect.rs | 2 +- .../webgpu_sys/gen_GpuTextureBindingLayout.rs | 2 +- .../webgpu_sys/gen_GpuTextureDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuTextureDimension.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuTextureFormat.rs | 2 +- .../webgpu_sys/gen_GpuTextureSampleType.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuTextureView.rs | 2 +- .../gen_GpuTextureViewDescriptor.rs | 2 +- .../webgpu_sys/gen_GpuTextureViewDimension.rs | 2 +- .../webgpu_sys/gen_GpuUncapturedErrorEvent.rs | 2 +- .../gen_GpuUncapturedErrorEventInit.rs | 2 +- .../webgpu_sys/gen_GpuValidationError.rs | 2 +- .../webgpu_sys/gen_GpuVertexAttribute.rs | 2 +- .../webgpu_sys/gen_GpuVertexBufferLayout.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuVertexFormat.rs | 2 +- .../webgpu/webgpu_sys/gen_GpuVertexState.rs | 2 +- .../webgpu_sys/gen_GpuVertexStepMode.rs | 2 +- .../webgpu_sys/gen_WgslLanguageFeatures.rs | 2 +- .../webgpu/webgpu_sys/gen_gpu_map_mode.rs | 2 +- wgpu/src/backend/webgpu/webgpu_sys/mod.rs | 2 +- wgpu/src/backend/wgpu_core.rs | 2 +- wgpu/src/dispatch.rs | 2 +- xtask/src/vendor_web_sys.rs | 12 ++- 138 files changed, 322 insertions(+), 155 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01f62fe59..d47f8b4a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,10 @@ Naga now infers the correct binding layout when a resource appears only in an as - Use highest SPIR-V version supported by Vulkan API version. By @robamler in [#7595](https://github.com/gfx-rs/wgpu/pull/7595) +#### WebGPU + +- The type of the `size` parameter to `copy_buffer_to_buffer` has changed from `BufferAddress` to `impl Into>`. This achieves the spec-defined behavior of the value being optional, while still accepting existing calls without changes. By @andyleiserson in [#7659](https://github.com/gfx-rs/wgpu/pull/7659). + ### Bug Fixes #### Naga diff --git a/cts_runner/test.lst b/cts_runner/test.lst index 1b9398be5..38872f74a 100644 --- a/cts_runner/test.lst +++ b/cts_runner/test.lst @@ -1,5 +1,10 @@ unittests:* webgpu:api,operation,command_buffer,basic:* +webgpu:api,operation,command_buffer,copyBufferToBuffer:single:newSig=false;* +// https://github.com/gfx-rs/wgpu/issues/7391 +//FAIL: webgpu:api,operation,command_buffer,copyBufferToBuffer:single:newSig=true;* +webgpu:api,operation,command_buffer,copyBufferToBuffer:state_transitions:* +webgpu:api,operation,command_buffer,copyBufferToBuffer:copy_order:* webgpu:api,operation,compute,basic:memcpy:* //FAIL: webgpu:api,operation,compute,basic:large_dispatch:* webgpu:api,operation,device,lost:* diff --git a/deno_webgpu/command_encoder.rs b/deno_webgpu/command_encoder.rs index 1a6317a27..6a1e81213 100644 --- a/deno_webgpu/command_encoder.rs +++ b/deno_webgpu/command_encoder.rs @@ -5,11 +5,13 @@ use std::cell::RefCell; use deno_core::cppgc::Ptr; use deno_core::op2; +use deno_core::v8; +use deno_core::webidl::{IntOptions, WebIdlConverter, WebIdlError}; use deno_core::GarbageCollected; use deno_core::WebIDL; use deno_error::JsErrorBox; use wgpu_core::command::PassChannel; -use wgpu_types::TexelCopyBufferInfo; +use wgpu_types::{BufferAddress, TexelCopyBufferInfo}; use crate::buffer::GPUBuffer; use crate::command_buffer::GPUCommandBuffer; @@ -171,15 +173,78 @@ impl GPUCommandEncoder { } } - #[required(5)] - fn copy_buffer_to_buffer( + #[required(2)] + fn copy_buffer_to_buffer<'a>( &self, + scope: &mut v8::HandleScope<'a>, #[webidl] source: Ptr, - #[webidl(options(enforce_range = true))] source_offset: u64, - #[webidl] destination: Ptr, - #[webidl(options(enforce_range = true))] destination_offset: u64, - #[webidl(options(enforce_range = true))] size: u64, - ) { + arg2: v8::Local<'a, v8::Value>, + arg3: v8::Local<'a, v8::Value>, + arg4: v8::Local<'a, v8::Value>, + arg5: v8::Local<'a, v8::Value>, + ) -> Result<(), WebIdlError> { + let prefix = "Failed to execute 'GPUCommandEncoder.copyBufferToBuffer'"; + let int_options = IntOptions { + clamp: false, + enforce_range: true, + }; + + let source_offset: BufferAddress; + let destination: Ptr; + let destination_offset: BufferAddress; + let size: Option; + // Note that the last argument to either overload of `copy_buffer_to_buffer` + // is optional, so `arg5.is_undefined()` would not work here. + if arg4.is_undefined() { + // 3-argument overload + source_offset = 0; + destination = Ptr::::convert( + scope, + arg2, + Cow::Borrowed(prefix), + (|| Cow::Borrowed("destination")).into(), + &(), + )?; + destination_offset = 0; + size = >::convert( + scope, + arg3, + Cow::Borrowed(prefix), + (|| Cow::Borrowed("size")).into(), + &int_options, + )?; + } else { + // 5-argument overload + source_offset = u64::convert( + scope, + arg2, + Cow::Borrowed(prefix), + (|| Cow::Borrowed("sourceOffset")).into(), + &int_options, + )?; + destination = Ptr::::convert( + scope, + arg3, + Cow::Borrowed(prefix), + (|| Cow::Borrowed("destination")).into(), + &(), + )?; + destination_offset = u64::convert( + scope, + arg4, + Cow::Borrowed(prefix), + (|| Cow::Borrowed("destinationOffset")).into(), + &int_options, + )?; + size = >::convert( + scope, + arg5, + Cow::Borrowed(prefix), + (|| Cow::Borrowed("size")).into(), + &int_options, + )?; + } + let err = self .instance .command_encoder_copy_buffer_to_buffer( @@ -193,6 +258,8 @@ impl GPUCommandEncoder { .err(); self.error_handler.push_error(err); + + Ok(()) } #[required(3)] diff --git a/wgpu-core/src/command/transfer.rs b/wgpu-core/src/command/transfer.rs index c4d907305..bdb5ea0b3 100644 --- a/wgpu-core/src/command/transfer.rs +++ b/wgpu-core/src/command/transfer.rs @@ -532,7 +532,7 @@ impl Global { source_offset: BufferAddress, destination: BufferId, destination_offset: BufferAddress, - size: BufferAddress, + size: Option, ) -> Result<(), CopyError> { profiling::scope!("CommandEncoder::copy_buffer_to_buffer"); api_log!( @@ -598,6 +598,11 @@ impl Global { .map_err(TransferError::MissingBufferUsage)?; let dst_barrier = dst_pending.map(|pending| pending.into_hal(&dst_buffer, &snatch_guard)); + let (size, source_end_offset) = match size { + Some(size) => (size, source_offset + size), + None => (src_buffer.size - source_offset, src_buffer.size), + }; + if size % wgt::COPY_BUFFER_ALIGNMENT != 0 { return Err(TransferError::UnalignedCopySize(size).into()); } @@ -628,7 +633,6 @@ impl Global { } } - let source_end_offset = source_offset + size; let destination_end_offset = destination_offset + size; if source_end_offset > src_buffer.size { return Err(TransferError::BufferOverrun { diff --git a/wgpu-core/src/device/trace.rs b/wgpu-core/src/device/trace.rs index 3932d4086..413a4c9ff 100644 --- a/wgpu-core/src/device/trace.rs +++ b/wgpu-core/src/device/trace.rs @@ -151,7 +151,7 @@ pub enum Command { src_offset: wgt::BufferAddress, dst: id::BufferId, dst_offset: wgt::BufferAddress, - size: wgt::BufferAddress, + size: Option, }, CopyBufferToTexture { src: crate::command::TexelCopyBufferInfo, diff --git a/wgpu/src/api/command_encoder.rs b/wgpu/src/api/command_encoder.rs index 6e91a4528..489110802 100644 --- a/wgpu/src/api/command_encoder.rs +++ b/wgpu/src/api/command_encoder.rs @@ -116,14 +116,14 @@ impl CommandEncoder { source_offset: BufferAddress, destination: &Buffer, destination_offset: BufferAddress, - copy_size: BufferAddress, + copy_size: impl Into>, ) { self.inner.copy_buffer_to_buffer( &source.inner, source_offset, &destination.inner, destination_offset, - copy_size, + copy_size.into(), ); } diff --git a/wgpu/src/backend/webgpu.rs b/wgpu/src/backend/webgpu.rs index 282819e58..57a694545 100644 --- a/wgpu/src/backend/webgpu.rs +++ b/wgpu/src/backend/webgpu.rs @@ -2813,20 +2813,31 @@ impl dispatch::CommandEncoderInterface for WebCommandEncoder { source_offset: crate::BufferAddress, destination: &dispatch::DispatchBuffer, destination_offset: crate::BufferAddress, - copy_size: crate::BufferAddress, + copy_size: Option, ) { let source = source.as_webgpu(); let destination = destination.as_webgpu(); - self.inner - .copy_buffer_to_buffer_with_f64_and_f64_and_f64( - &source.inner, - source_offset as f64, - &destination.inner, - destination_offset as f64, - copy_size as f64, - ) - .unwrap(); + if let Some(size) = copy_size { + self.inner + .copy_buffer_to_buffer_with_f64_and_f64_and_f64( + &source.inner, + source_offset as f64, + &destination.inner, + destination_offset as f64, + size as f64, + ) + .unwrap(); + } else { + self.inner + .copy_buffer_to_buffer_with_f64_and_f64( + &source.inner, + source_offset as f64, + &destination.inner, + destination_offset as f64, + ) + .unwrap(); + } } fn copy_buffer_to_texture( diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_Gpu.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_Gpu.rs index 63248496f..32f5bec31 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_Gpu.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_Gpu.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapter.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapter.rs index 56f55c917..855a76bfd 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapter.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapter.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapterInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapterInfo.rs index 04a6e36e4..06c251f18 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapterInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAdapterInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAddressMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAddressMode.rs index c86d2dc8e..2718d15ff 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAddressMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAddressMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAutoLayoutMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAutoLayoutMode.rs index 0a5cd490c..2bd43bc2d 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAutoLayoutMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuAutoLayoutMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroup.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroup.rs index 50e9c38d5..02f61eafe 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroup.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroup.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupDescriptor.rs index dd861c6b0..691add6fc 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupEntry.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupEntry.rs index bb55ea5b8..c51e223a7 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupEntry.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupEntry.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayout.rs index f11a13393..4bade8fcd 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutDescriptor.rs index 7e4a50a2d..0bafe6463 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutEntry.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutEntry.rs index e13a7b575..0a5f916d2 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutEntry.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBindGroupLayoutEntry.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendComponent.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendComponent.rs index 99d708b72..9c3c8403b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendComponent.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendComponent.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendFactor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendFactor.rs index 37b7978da..d8ea45d59 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendFactor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendFactor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendOperation.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendOperation.rs index 9ce4393be..3d054b6af 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendOperation.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendOperation.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendState.rs index 043460b8a..5d01cc05f 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBlendState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBuffer.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBuffer.rs index e336ba4fb..1f161a2b7 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBuffer.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBuffer.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBinding.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBinding.rs index 0e56f2ede..95d81a228 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBinding.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBinding.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingLayout.rs index fb626c971..137291f0c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingType.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingType.rs index 32c345dd3..24ded9e63 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingType.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferBindingType.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferDescriptor.rs index 364ec90ef..f55a66bd2 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferMapState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferMapState.rs index ef5843a1e..95f5094a5 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferMapState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuBufferMapState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasAlphaMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasAlphaMode.rs index 2f05cc060..9cf7d07b6 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasAlphaMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasAlphaMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasConfiguration.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasConfiguration.rs index 383ea0e26..76c169a86 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasConfiguration.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasConfiguration.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasContext.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasContext.rs index b9a006bac..843adba31 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasContext.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasContext.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMapping.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMapping.rs index 899f95608..ebd0a8453 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMapping.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMapping.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMappingMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMappingMode.rs index efe6985b0..51d4c14c9 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMappingMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCanvasToneMappingMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorDict.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorDict.rs index 96117f719..7ce765106 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorDict.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorDict.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorTargetState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorTargetState.rs index 864510774..8f784505c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorTargetState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuColorTargetState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBuffer.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBuffer.rs index dabe282b6..cf78b2e3c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBuffer.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBuffer.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBufferDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBufferDescriptor.rs index b3b55f506..d22076cf3 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBufferDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandBufferDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoder.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoder.rs index 604b5de65..b5bc2cd1f 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoder.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoder.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; @@ -196,6 +196,74 @@ extern "C" { size: f64, ); + # [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)] + #[doc = "The `copyBufferToBuffer()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn copy_buffer_to_buffer_with_u32_and_u32( + this: &GpuCommandEncoder, + source: &GpuBuffer, + source_offset: u32, + destination: &GpuBuffer, + destination_offset: u32, + ) -> Result<(), JsValue>; + + # [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)] + #[doc = "The `copyBufferToBuffer()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn copy_buffer_to_buffer_with_f64_and_u32( + this: &GpuCommandEncoder, + source: &GpuBuffer, + source_offset: f64, + destination: &GpuBuffer, + destination_offset: u32, + ) -> Result<(), JsValue>; + + # [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)] + #[doc = "The `copyBufferToBuffer()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn copy_buffer_to_buffer_with_u32_and_f64( + this: &GpuCommandEncoder, + source: &GpuBuffer, + source_offset: u32, + destination: &GpuBuffer, + destination_offset: f64, + ) -> Result<(), JsValue>; + + # [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)] + #[doc = "The `copyBufferToBuffer()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `GpuBuffer`, `GpuCommandEncoder`*"] + #[doc = ""] + #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] + #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] + pub fn copy_buffer_to_buffer_with_f64_and_f64( + this: &GpuCommandEncoder, + source: &GpuBuffer, + source_offset: f64, + destination: &GpuBuffer, + destination_offset: f64, + ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "GPUCommandEncoder" , js_name = copyBufferToBuffer)] #[doc = "The `copyBufferToBuffer()` method."] #[doc = ""] diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoderDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoderDescriptor.rs index 3b6d9c8d8..62121b205 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoderDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCommandEncoderDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompareFunction.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompareFunction.rs index 615f82de9..e07496f03 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompareFunction.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompareFunction.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationInfo.rs index b2a4c1722..91617424e 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessage.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessage.rs index ca7fec811..bbf2422ac 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessage.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessage.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessageType.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessageType.rs index 4db916ce8..c2f0629f8 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessageType.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCompilationMessageType.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassDescriptor.rs index 4658d3f69..9de914978 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassEncoder.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassEncoder.rs index e84fce360..8a2831b3d 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassEncoder.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassEncoder.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassTimestampWrites.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassTimestampWrites.rs index 8471fcc68..6d8fa439c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassTimestampWrites.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePassTimestampWrites.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipeline.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipeline.rs index b83697327..3bbe4820b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipeline.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipeline.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipelineDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipelineDescriptor.rs index b066e55cc..d7ff8e671 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipelineDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuComputePipelineDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageDestInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageDestInfo.rs index b7eab80a0..48f7cf74e 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageDestInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageDestInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageSourceInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageSourceInfo.rs index 87456d7dc..24080faeb 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageSourceInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCopyExternalImageSourceInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCullMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCullMode.rs index 4bb8c48b8..2f46bd93a 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCullMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuCullMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDepthStencilState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDepthStencilState.rs index 577b39cf7..bff7df8a6 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDepthStencilState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDepthStencilState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDevice.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDevice.rs index 9e283c4ab..aa02361d7 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDevice.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDevice.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceDescriptor.rs index 6c4641ffc..dc27743e0 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostInfo.rs index b85fd45b0..b86f91bff 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostReason.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostReason.rs index 748016e29..7362466a3 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostReason.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuDeviceLostReason.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuError.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuError.rs index 3517ece14..d95fc59f8 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuError.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuError.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuErrorFilter.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuErrorFilter.rs index 15b38a413..21d336247 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuErrorFilter.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuErrorFilter.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExtent3dDict.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExtent3dDict.rs index e06b12f5b..00a52d545 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExtent3dDict.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExtent3dDict.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTexture.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTexture.rs index e4effa78c..36a3faf06 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTexture.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTexture.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureBindingLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureBindingLayout.rs index 4597f2786..869a4cc10 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureBindingLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureBindingLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureDescriptor.rs index 2c950be65..209538a3c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuExternalTextureDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFeatureName.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFeatureName.rs index 7fa2799d4..8b454f07c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFeatureName.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFeatureName.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFilterMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFilterMode.rs index b7cb82cd4..1e5c94697 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFilterMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFilterMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFragmentState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFragmentState.rs index 9490fc3dc..e8d961e8b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFragmentState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFragmentState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFrontFace.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFrontFace.rs index 07a487224..89dec0e64 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFrontFace.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuFrontFace.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuIndexFormat.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuIndexFormat.rs index c70d34a37..fd3a6a85c 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuIndexFormat.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuIndexFormat.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuLoadOp.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuLoadOp.rs index 7963f5aff..cb542321b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuLoadOp.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuLoadOp.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMipmapFilterMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMipmapFilterMode.rs index 531607e88..8dceae994 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMipmapFilterMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMipmapFilterMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMultisampleState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMultisampleState.rs index f517ae3a6..2cbaaccd3 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMultisampleState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuMultisampleState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuObjectDescriptorBase.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuObjectDescriptorBase.rs index 7666dc76b..284f643ec 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuObjectDescriptorBase.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuObjectDescriptorBase.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin2dDict.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin2dDict.rs index a055e9719..13e1ab6be 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin2dDict.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin2dDict.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin3dDict.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin3dDict.rs index a3356ed2f..96f67f929 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin3dDict.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOrigin3dDict.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOutOfMemoryError.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOutOfMemoryError.rs index 6affb6550..4246b73c0 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOutOfMemoryError.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuOutOfMemoryError.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineDescriptorBase.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineDescriptorBase.rs index 17b670864..5e9a661c8 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineDescriptorBase.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineDescriptorBase.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayout.rs index 659e4d576..58b55b532 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayoutDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayoutDescriptor.rs index 8d63b6e59..7b3b8277a 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayoutDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPipelineLayoutDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPowerPreference.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPowerPreference.rs index 5b0209b06..483a533e7 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPowerPreference.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPowerPreference.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveState.rs index 8ac4acecc..be0a1347a 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveTopology.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveTopology.rs index 157a37fed..1b869c2a9 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveTopology.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuPrimitiveTopology.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuProgrammableStage.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuProgrammableStage.rs index b1c526cd0..d8e08bc4e 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuProgrammableStage.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuProgrammableStage.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySet.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySet.rs index 5d103a487..55e3c8cf3 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySet.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySet.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySetDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySetDescriptor.rs index 6c3716e5d..0f79bef9f 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySetDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQuerySetDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueryType.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueryType.rs index eb845fefa..bf33f2eb6 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueryType.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueryType.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueue.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueue.rs index b69151efe..46aea1996 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueue.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueue.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueueDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueueDescriptor.rs index e035547b4..b70952ee5 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueueDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuQueueDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundle.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundle.rs index 704cc6e72..a51fc4bd4 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundle.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundle.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleDescriptor.rs index 2d471d255..be10266d0 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoder.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoder.rs index 57ed468c7..8809116bb 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoder.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoder.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoderDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoderDescriptor.rs index f093f66d2..0b4d28881 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoderDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderBundleEncoderDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassColorAttachment.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassColorAttachment.rs index 3e2bdcf3c..10c13f167 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassColorAttachment.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassColorAttachment.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDepthStencilAttachment.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDepthStencilAttachment.rs index 7d945689d..2388dc734 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDepthStencilAttachment.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDepthStencilAttachment.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDescriptor.rs index 61d63faef..dd4681475 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassEncoder.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassEncoder.rs index 04f1812bf..85049d8b0 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassEncoder.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassEncoder.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassTimestampWrites.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassTimestampWrites.rs index 50de9a1e1..1fcad8796 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassTimestampWrites.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPassTimestampWrites.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipeline.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipeline.rs index 615aac5c9..41663dd5d 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipeline.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipeline.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipelineDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipelineDescriptor.rs index c9e24c778..bbf92b31f 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipelineDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRenderPipelineDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRequestAdapterOptions.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRequestAdapterOptions.rs index 22ab89df6..8c85b3978 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRequestAdapterOptions.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuRequestAdapterOptions.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSampler.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSampler.rs index 4ec4f604b..d5e454bde 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSampler.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSampler.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingLayout.rs index 2a6852d3f..9647be02b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingType.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingType.rs index 11d87ff08..e65aa1b7a 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingType.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerBindingType.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerDescriptor.rs index 49998661f..bd679b734 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSamplerDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModule.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModule.rs index 033d1e4de..316a9b2fa 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModule.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModule.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModuleDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModuleDescriptor.rs index 526bcce19..89fac0382 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModuleDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuShaderModuleDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilFaceState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilFaceState.rs index 7af7f1c1f..709481e90 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilFaceState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilFaceState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilOperation.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilOperation.rs index 858794c04..088478779 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilOperation.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStencilOperation.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureAccess.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureAccess.rs index 6bd5b14f2..696c57751 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureAccess.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureAccess.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureBindingLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureBindingLayout.rs index 093bcd6be..a65a54635 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureBindingLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStorageTextureBindingLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStoreOp.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStoreOp.rs index 7206c4ba7..5271f6f25 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStoreOp.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuStoreOp.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedFeatures.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedFeatures.rs index 1f3843bee..78e155085 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedFeatures.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedFeatures.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedLimits.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedLimits.rs index 1cdaa1e63..b123896ac 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedLimits.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedLimits.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferInfo.rs index 28a794a64..64e2fb8ed 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferLayout.rs index 32459bf15..d82a124e2 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyBufferLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyTextureInfo.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyTextureInfo.rs index c02bc48e3..651ff52b5 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyTextureInfo.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexelCopyTextureInfo.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexture.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexture.rs index 50437cc1e..e8bb664ab 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexture.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTexture.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureAspect.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureAspect.rs index b4e485939..99552772b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureAspect.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureAspect.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureBindingLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureBindingLayout.rs index cd71dd32b..4030eeb23 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureBindingLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureBindingLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDescriptor.rs index 4ddbba8c3..92911d4c6 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDimension.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDimension.rs index 3e3c5c681..752dafb0d 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDimension.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureDimension.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs index 63df3f566..97f93dc97 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureSampleType.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureSampleType.rs index 91a4e985f..e36b12218 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureSampleType.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureSampleType.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureView.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureView.rs index 2edf02f7e..3b2cd03b9 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureView.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureView.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDescriptor.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDescriptor.rs index db48b8cdb..57d08f4dd 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDescriptor.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDescriptor.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDimension.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDimension.rs index 1878f41c6..4e0541a25 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDimension.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureViewDimension.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEvent.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEvent.rs index 015f07907..a07199e29 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEvent.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEvent.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEventInit.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEventInit.rs index 555607c31..8b6814dab 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEventInit.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuUncapturedErrorEventInit.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuValidationError.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuValidationError.rs index 87ef8a5b6..8ffde5cc5 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuValidationError.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuValidationError.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexAttribute.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexAttribute.rs index a8260b418..8fba1994b 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexAttribute.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexAttribute.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexBufferLayout.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexBufferLayout.rs index d05413bd9..bfde15001 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexBufferLayout.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexBufferLayout.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexFormat.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexFormat.rs index 67eb10514..baf6b50da 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexFormat.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexFormat.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexState.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexState.rs index faac3a11b..5c2e76dd3 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexState.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexState.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexStepMode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexStepMode.rs index 556609d54..a3c9c8a42 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexStepMode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuVertexStepMode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use wasm_bindgen::prelude::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_WgslLanguageFeatures.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_WgslLanguageFeatures.rs index cd0cd7704..7aa26f7da 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_WgslLanguageFeatures.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_WgslLanguageFeatures.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports)] #![allow(clippy::all)] use super::*; diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_gpu_map_mode.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_gpu_map_mode.rs index c63dbff35..959a4a7a1 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_gpu_map_mode.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_gpu_map_mode.rs @@ -18,7 +18,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #[doc = ""] #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] diff --git a/wgpu/src/backend/webgpu/webgpu_sys/mod.rs b/wgpu/src/backend/webgpu/webgpu_sys/mod.rs index 3e703d3bb..02e0e0a5d 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/mod.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/mod.rs @@ -21,7 +21,7 @@ // // If you want to improve the generated code, please submit a PR to the https://github.com/rustwasm/wasm-bindgen repository. // -// This file was generated by the `cargo xtask vendor-web-sys --version 0.2.97` command. +// This file was generated by the `cargo xtask vendor-web-sys --version buf-to-buf-copy-size --git-url https://github.com/andyleiserson/wasm-bindgen.git` command. #![allow(unused_imports, non_snake_case)] use web_sys::{Event, EventTarget}; diff --git a/wgpu/src/backend/wgpu_core.rs b/wgpu/src/backend/wgpu_core.rs index 32eb13752..6c13eeba1 100644 --- a/wgpu/src/backend/wgpu_core.rs +++ b/wgpu/src/backend/wgpu_core.rs @@ -2215,7 +2215,7 @@ impl dispatch::CommandEncoderInterface for CoreCommandEncoder { source_offset: crate::BufferAddress, destination: &dispatch::DispatchBuffer, destination_offset: crate::BufferAddress, - copy_size: crate::BufferAddress, + copy_size: Option, ) { let source = source.as_core(); let destination = destination.as_core(); diff --git a/wgpu/src/dispatch.rs b/wgpu/src/dispatch.rs index 9a606c1be..5e6dd3b95 100644 --- a/wgpu/src/dispatch.rs +++ b/wgpu/src/dispatch.rs @@ -275,7 +275,7 @@ pub trait CommandEncoderInterface: CommonTraits { source_offset: crate::BufferAddress, destination: &DispatchBuffer, destination_offset: crate::BufferAddress, - copy_size: crate::BufferAddress, + copy_size: Option, ); fn copy_buffer_to_texture( &self, diff --git a/xtask/src/vendor_web_sys.rs b/xtask/src/vendor_web_sys.rs index 451e95465..eaf30027c 100644 --- a/xtask/src/vendor_web_sys.rs +++ b/xtask/src/vendor_web_sys.rs @@ -1,5 +1,6 @@ use anyhow::Context; use pico_args::Arguments; +use std::fmt::Write; use xshell::Shell; use crate::bad_arguments; @@ -157,7 +158,7 @@ pub(crate) fn run_vendor_web_sys(shell: Shell, mut args: Arguments) -> anyhow::R let path_to_checkout_arg: Option = args.opt_value_from_str("--path-to-checkout")?; // Plain text of the command that was run. - let argument_description; + let mut argument_description; // Path to the checkout we're using let path_to_wasm_bindgen_checkout; match (path_to_checkout_arg.as_deref(), version.as_deref()) { @@ -177,6 +178,11 @@ pub(crate) fn run_vendor_web_sys(shell: Shell, mut args: Arguments) -> anyhow::R } }; + let git_url: Option = args.opt_value_from_str("--git-url")?; + if let Some(url) = &git_url { + write!(&mut argument_description, " --git-url {}", url)?; + } + let unknown_args = args.finish(); if !unknown_args.is_empty() { bad_arguments!( @@ -202,7 +208,9 @@ pub(crate) fn run_vendor_web_sys(shell: Shell, mut args: Arguments) -> anyhow::R version, "--depth", "1", - "https://github.com/rustwasm/wasm-bindgen.git", + git_url + .as_deref() + .unwrap_or("https://github.com/rustwasm/wasm-bindgen.git"), WASM_BINDGEN_TEMP_CLONE_PATH, ]) .ignore_stderr()