diff --git a/CHANGELOG.md b/CHANGELOG.md index 446f6c7084a..2ffe17e031f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -99,6 +99,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 cb02b6d1346..ea2b27049d0 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 1a6317a274a..6a1e8121301 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 c4d9073058a..bdb5ea0b338 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 3932d4086bb..413a4c9ffa3 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 6e91a452844..4891108024f 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 282819e58e7..57a69454541 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 63248496fc6..32f5bec31f1 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 56f55c91770..855a76bfdf3 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 04a6e36e470..06c251f1810 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 c86d2dc8e95..2718d15ff51 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 0a5cd490ce1..2bd43bc2de0 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 50e9c38d58a..02f61eafe8c 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 dd861c6b063..691add6fc35 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 bb55ea5b8a0..c51e223a7cf 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 f11a1339362..4bade8fcd89 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 7e4a50a2db5..0bafe646339 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 e13a7b575d9..0a5f916d2b5 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 99d708b726b..9c3c8403bd8 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 37b7978da33..d8ea45d598b 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 9ce4393be01..3d054b6afc1 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 043460b8a5e..5d01cc05f1b 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 e336ba4fbb7..1f161a2b79a 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 0e56f2ede6a..95d81a228a9 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 fb626c9711f..137291f0c64 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 32c345dd31b..24ded9e6339 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 364ec90ef69..f55a66bd299 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 ef5843a1eb5..95f5094a592 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 2f05cc060f9..9cf7d07b691 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 383ea0e26df..76c169a86de 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 b9a006bac3e..843adba3180 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 899f9560839..ebd0a84539f 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 efe6985b07f..51d4c14c93f 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 96117f71996..7ce76510666 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 8645107749d..8f784505ce2 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 dabe282b660..cf78b2e3cef 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 b3b55f506b9..d22076cf389 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 604b5de6561..b5bc2cd1fd8 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 3b6d9c8d89e..62121b205f7 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 615f82de951..e07496f03b8 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 b2a4c172248..91617424e2f 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 ca7fec811dd..bbf2422aca4 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 4db916ce83f..c2f0629f88a 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 4658d3f6949..9de91497888 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 e84fce360c5..8a2831b3d9c 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 8471fcc684e..6d8fa439c11 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 b83697327ce..3bbe4820bb5 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 b066e55ccd1..d7ff8e671b3 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 b7eab80a045..48f7cf74ea1 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 87456d7dca2..24080faeb41 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 4bb8c48b857..2f46bd93a55 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 577b39cf70b..bff7df8a66b 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 9e283c4ab1a..aa02361d77e 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 6c4641ffc39..dc27743e06d 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 b85fd45b061..b86f91bff33 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 748016e29cd..7362466a34a 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 3517ece149b..d95fc59f814 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 15b38a41377..21d3362470b 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 e06b12f5b32..00a52d54545 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 e4effa78c18..36a3faf0652 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 4597f278664..869a4cc1072 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 2c950be65dd..209538a3cf9 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 7fa2799d41f..8b454f07cfd 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 b7cb82cd448..1e5c94697a4 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 9490fc3dc56..e8d961e8bbf 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 07a4872244f..89dec0e64b0 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 c70d34a3707..fd3a6a85ca6 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 7963f5aff94..cb542321bd7 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 531607e88a3..8dceae994a0 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 f517ae3a6ad..2cbaaccd3b1 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 7666dc76bb6..284f643ec9b 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 a055e971989..13e1ab6bee7 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 a3356ed2fe9..96f67f929d9 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 6affb6550ff..4246b73c007 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 17b67086444..5e9a661c807 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 659e4d57693..58b55b53286 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 8d63b6e5996..7b3b8277a1e 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 5b0209b0680..483a533e7cb 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 8ac4acecc94..be0a1347a55 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 157a37fede4..1b869c2a921 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 b1c526cd02b..d8e08bc4e15 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 5d103a487e2..55e3c8cf347 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 6c3716e5d38..0f79bef9f04 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 eb845fefaeb..bf33f2eb639 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 b69151efe35..46aea1996ec 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 e035547b4d7..b70952ee574 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 704cc6e72f3..a51fc4bd484 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 2d471d25515..be10266d0f6 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 57ed468c741..8809116bbac 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 f093f66d22a..0b4d2888136 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 3e2bdcf3cc0..10c13f16723 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 7d945689d26..2388dc7346e 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 61d63faefae..dd468147591 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 04f1812bf2f..85049d8b03b 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 50de9a1e195..1fcad87967d 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 615aac5c9bc..41663dd5d87 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 c9e24c77838..bbf92b31fde 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 22ab89df637..8c85b39787a 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 4ec4f604b25..d5e454bde68 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 2a6852d3f75..9647be02b5d 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 11d87ff0825..e65aa1b7a62 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 49998661fab..bd679b734f4 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 033d1e4dee4..316a9b2fac4 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 526bcce1912..89fac0382fa 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 7af7f1c1f69..709481e9052 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 858794c04f4..088478779de 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 6bd5b14f2af..696c57751bb 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 093bcd6bec4..a65a5463531 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 7206c4ba785..5271f6f253f 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 1f3843beeaf..78e155085ed 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 1cdaa1e638e..b123896acb1 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 28a794a64b7..64e2fb8ed68 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 32459bf15c2..d82a124e26a 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 c02bc48e36e..651ff52b523 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 50437cc1e71..e8bb664ab08 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 b4e485939b5..99552772bfa 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 cd71dd32bf5..4030eeb2387 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 4ddbba8c3c9..92911d4c64f 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 3e3c5c6812c..752dafb0d87 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 63df3f5665d..97f93dc97bc 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 91a4e985f35..e36b12218d1 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 2edf02f7ee0..3b2cd03b9d4 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 db48b8cdb36..57d08f4ddc2 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 1878f41c6ce..4e0541a2536 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 015f07907b7..a07199e298e 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 555607c314a..8b6814dab23 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 87ef8a5b6f3..8ffde5cc523 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 a8260b418b9..8fba1994b53 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 d05413bd912..bfde1500141 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 67eb10514f4..baf6b50daae 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 faac3a11b9a..5c2e76dd365 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 556609d547b..a3c9c8a42b0 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 cd0cd77047a..7aa26f7daaa 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 c63dbff356f..959a4a7a1e0 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 3e703d3bb23..02e0e0a5db2 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 2c28df9fb04..8dae5534f49 100644 --- a/wgpu/src/backend/wgpu_core.rs +++ b/wgpu/src/backend/wgpu_core.rs @@ -2217,7 +2217,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 9a606c1be28..5e6dd3b95ff 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 451e95465ea..eaf30027cab 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()