Loading dom/webgpu/ipc/WebGPUChild.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -380,9 +380,7 @@ RawId WebGPUChild::DeviceCreateBuffer(RawId aSelfId, RawId WebGPUChild::DeviceCreateTexture(RawId aSelfId, const dom::GPUTextureDescriptor& aDesc) { // Somehow cbindgen does not successfully rename this into // WGPUTextureDescriptor. See wgpu_bindings/cbindgen.toml. ffi::WGPUTextureDescriptor______nsACString__FfiSlice_TextureFormat desc = {}; ffi::WGPUTextureDescriptor desc = {}; webgpu::StringHelper label(aDesc.mLabel); desc.label = label.Get(); Loading gfx/wgpu_bindings/cbindgen.toml +1 −2 Original line number Diff line number Diff line Loading @@ -59,8 +59,7 @@ include = ["BufferUsages"] "CommandEncoderDescriptor______nsACString" = "WGPUCommandEncoderDescriptor" "RenderBundleDescriptor______nsACString" = "WGPURenderBundleDescriptor" "DeviceDescriptor______nsACString" = "WGPUDeviceDescriptor" # This one does not work for some reason. "WGPUTextureDescriptor______nsACString__FfiSlice_TextureFormat" = "WGPUTextureDescriptor" "TextureDescriptor______nsACString__FfiSlice_TextureFormat" = "WGPUTextureDescriptor" "SamplerDescriptor______nsACString" = "WGPUSamplerDescriptor" "AdapterInformation_nsString" = "WGPUAdapterInformation" Loading Loading
dom/webgpu/ipc/WebGPUChild.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -380,9 +380,7 @@ RawId WebGPUChild::DeviceCreateBuffer(RawId aSelfId, RawId WebGPUChild::DeviceCreateTexture(RawId aSelfId, const dom::GPUTextureDescriptor& aDesc) { // Somehow cbindgen does not successfully rename this into // WGPUTextureDescriptor. See wgpu_bindings/cbindgen.toml. ffi::WGPUTextureDescriptor______nsACString__FfiSlice_TextureFormat desc = {}; ffi::WGPUTextureDescriptor desc = {}; webgpu::StringHelper label(aDesc.mLabel); desc.label = label.Get(); Loading
gfx/wgpu_bindings/cbindgen.toml +1 −2 Original line number Diff line number Diff line Loading @@ -59,8 +59,7 @@ include = ["BufferUsages"] "CommandEncoderDescriptor______nsACString" = "WGPUCommandEncoderDescriptor" "RenderBundleDescriptor______nsACString" = "WGPURenderBundleDescriptor" "DeviceDescriptor______nsACString" = "WGPUDeviceDescriptor" # This one does not work for some reason. "WGPUTextureDescriptor______nsACString__FfiSlice_TextureFormat" = "WGPUTextureDescriptor" "TextureDescriptor______nsACString__FfiSlice_TextureFormat" = "WGPUTextureDescriptor" "SamplerDescriptor______nsACString" = "WGPUSamplerDescriptor" "AdapterInformation_nsString" = "WGPUAdapterInformation" Loading