Closed Bug 1790198 Opened 2 years ago Closed 2 years ago

Update wgpu to new version 94ce76391b560a66e36df1300bd684321e57511a from 2022-09-04 16:22:25

Categories

(Core :: Graphics: WebGPU, enhancement)

enhancement

Tracking

()

RESOLVED INVALID
Tracking Status
firefox106 --- affected

People

(Reporter: update-bot, Unassigned)

Details

(Whiteboard: [3pl-filed][task_id: QNuyCRYhR4am2tQcnqQIYA])

This update covers 94 commits, including 1 new upstream commit I've never filed a bug on before. (It's the top one.):


94ce76391b560a66e36df1300bd684321e57511a by Jim Blandy

https://github.com/gfx-rs/wgpucommit/94ce76391b560a66e36df1300bd684321e57511a
Authored: 2022-09-04 09:22:25 -0700
Committed: 2022-09-04 09:22:25 -0700

Fix link in README.md.

Files Modified:

  • README.md

90eb399d4344a73ed723a9a4ab0249fde7bfa3c7 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/90eb399d4344a73ed723a9a4ab0249fde7bfa3c7
Authored: 2022-09-02 20:56:27 -0700
Committed: 2022-09-02 20:56:27 -0700

Fill in Adapter::as_hal and Device::as_hal documentation. (#2992)

In particular, explain why a callback is needed, rather than just
having these functions return an Option<&A::Mumble>.

Files Modified:

  • CHANGELOG.md
  • wgpu/src/lib.rs

e350f50b2fb6eb58b491e26f24b3b06720d147ec by Jinlei Li

https://github.com/gfx-rs/wgpucommit/e350f50b2fb6eb58b491e26f24b3b06720d147ec
Authored: 2022-09-03 11:28:26 +0800
Committed: 2022-09-02 20:28:26 -0700

metal: remove PrivateCapabilities's format_rgb10a2_unorm_surface field (#2981)

  • metal: remove PrivateCapabilities's format_rgb10a2_unorm_surface field

  • Update CHANGELOG

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/metal/adapter.rs
  • wgpu-hal/src/metal/mod.rs

254937c1b560e4a35028a45c465f42c1448981cf by Jim Blandy

https://github.com/gfx-rs/wgpucommit/254937c1b560e4a35028a45c465f42c1448981cf
Authored: 2022-09-02 20:26:46 -0700
Committed: 2022-09-02 20:26:46 -0700

Explain which WGSL version wgpu supports in various configs. (#3009)

Files Modified:

  • README.md

bec26b79ec27b98838f589eff4d20c4b86780be9 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/bec26b79ec27b98838f589eff4d20c4b86780be9
Authored: 2022-09-02 17:32:58 -0700
Committed: 2022-09-02 17:32:58 -0700

Don't use a callback to return backend instance handles. (#2991)

Change Instance::as_hal<A> to simply return an
Option<&A::Instance>, rather than passing it to a callback. We're
just borrowing a reference to some wgpu_hal::Api::Instance owned by
the wgpu_core::instance::Instance, so there's no special scoping or
locking magic required here.

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/hub.rs
  • wgpu/src/backend/direct.rs
  • wgpu/src/lib.rs

4a7fc68df04c17187f17c45afdc9e0a0e8731aa3 by Kevin Reid

https://github.com/gfx-rs/wgpucommit/4a7fc68df04c17187f17c45afdc9e0a0e8731aa3
Authored: 2022-09-02 16:50:15 -0700
Committed: 2022-09-02 23:50:15 +0000

Document that write_buffer_with is sound to read from. (#3006)

  • Document that write_buffer_with is sound to read from.

To a reader informed about Rust's memory model, the existing claim that

dereferencing it to a &[u8] panics

without further context sounds awfully like someone thinks they've
invented a write-only reference, and that the API might actually be
exposing undefined behavior via an uninitialized &mut [u8]. Therefore,
let's specify what happens if you do read through the mutable
reference. The text added in this commit is based on what was said in
the review when write_buffer_with was added:
https://github.com/gfx-rs/wgpu/pull/2777/files#r901392551

This is also relevant information to someone considering using
write_buffer_with() for performance gains: for example, it suggests
that it might be a bad idea to write data into the view and then sort
it in-place. (Or is that not a bad idea? Is it not slow if the CPU
already wrote over all the memory contiguously? I don't know.)

  • Changelog addition (+ fixing duplicate documentation section)

Files Modified:

  • CHANGELOG.md
  • wgpu/src/lib.rs

7e84bb2eae2e62b34344fee38dd07a3501ec95a6 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/7e84bb2eae2e62b34344fee38dd07a3501ec95a6
Authored: 2022-09-02 16:29:06 -0700
Committed: 2022-09-02 16:29:06 -0700

Correct create_surface_from_(offscreen)_canvas docs. (#2990)

The function's does not depend on the canvas argument meeting the
given requirements to avoid undefined behavior, so it should just be a
normal contract, not a safety contract.

Files Modified:

  • CHANGELOG.md
  • wgpu/src/lib.rs

6348a07d2803ed9e4ca34ccbe0491b4571509f72 by Andreas Monitzer

https://github.com/gfx-rs/wgpucommit/6348a07d2803ed9e4ca34ccbe0491b4571509f72
Authored: 2022-09-03 00:58:01 +0200
Committed: 2022-09-02 22:58:01 +0000

Expose the vk::Queue and the queue index in the Vulkan hal. (#2950)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/vulkan/adapter.rs
  • wgpu-hal/src/vulkan/device.rs
  • wgpu-hal/src/vulkan/mod.rs

701564da8c49ec537ed41792e841c29ffa859d01 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/701564da8c49ec537ed41792e841c29ffa859d01
Authored: 2022-09-02 15:37:21 -0700
Committed: 2022-09-02 15:37:21 -0700

Use () instead of PhantomData as IdentityManager's Input type. (#2972)

  • Use () instead of PhantomData as IdentityManager's Input type.

PhantomData suggests that there's some sort of persuasion required
for lifetime variance inference or other sorts of arcana, but it
doesn't seem to be necessary at all. () works just fine.

Files Modified:

  • CHANGELOG.md
  • deno_webgpu/src/binding.rs
  • deno_webgpu/src/buffer.rs
  • deno_webgpu/src/bundle.rs
  • deno_webgpu/src/command_encoder.rs
  • deno_webgpu/src/lib.rs
  • deno_webgpu/src/pipeline.rs
  • deno_webgpu/src/sampler.rs
  • deno_webgpu/src/shader.rs
  • deno_webgpu/src/texture.rs
  • wgpu-core/src/hub.rs
  • wgpu/src/backend/direct.rs

ee7fd47ecbc5eefde420f15e5c63757c12eef8d6 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/ee7fd47ecbc5eefde420f15e5c63757c12eef8d6
Authored: 2022-09-03 06:36:07 +0800
Committed: 2022-09-02 15:36:07 -0700

metal: fix max_storage_xx max_texture max_sampler and max_vertex_xx limits (#2978)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/metal/adapter.rs
  • wgpu-hal/src/metal/command.rs
  • wgpu-hal/src/metal/device.rs
  • wgpu-hal/src/metal/mod.rs

35deadc10859761554868340f1e4b900fc8ce188 by Mauro Gentile

https://github.com/gfx-rs/wgpucommit/35deadc10859761554868340f1e4b900fc8ce188
Authored: 2022-09-03 00:35:42 +0200
Committed: 2022-09-02 15:35:42 -0700

Depth clear value for web target (#2984)

  • Fix depth clear value on web

  • Defaulting to 0.

  • Added also stencil clear

Co-authored-by: Mauro Gentile <Mauro.Gentile@ubisoft.com>

Files Modified:

  • wgpu/src/backend/web.rs

c519901d575bd6d61711e5cf9c3c1b047e7d3cf7 by i509VCB

https://github.com/gfx-rs/wgpucommit/c519901d575bd6d61711e5cf9c3c1b047e7d3cf7
Authored: 2022-09-02 16:05:13 -0500
Committed: 2022-09-02 21:05:13 +0000

vulkan: remove use of Vulkan12Features/Properties types (#2936)

Vulkan prohibits including VkPhysicalDeviceVulkan12Features structures in the chain passed to VkCreateDevice along with other more specific features structs. Similiar restrictions apply to the ...Properties structures.

Fixes #2925.

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/vulkan/adapter.rs
  • wgpu-hal/src/vulkan/command.rs
  • wgpu-hal/src/vulkan/mod.rs

27f6302d5bf98e0f9b5fc249e4ca99aab7a55a7c by François

https://github.com/gfx-rs/wgpucommit/27f6302d5bf98e0f9b5fc249e4ca99aab7a55a7c
Authored: 2022-07-15 22:10:07 +0200
Committed: 2022-09-02 11:41:20 -0700

changelog

Files Modified:

  • CHANGELOG.md

b9564dbe74067b51a30f3a3187cc7c7f3622a1f0 by François

https://github.com/gfx-rs/wgpucommit/b9564dbe74067b51a30f3a3187cc7c7f3622a1f0
Authored: 2022-07-15 22:02:36 +0200
Committed: 2022-09-02 11:41:20 -0700

enable union feature of smallvec

Files Modified:

  • wgpu-hal/Cargo.toml

a50335f0f8a68cb36e2a60a5d4ca71a6dfa63c47 by François

https://github.com/gfx-rs/wgpucommit/a50335f0f8a68cb36e2a60a5d4ca71a6dfa63c47
Authored: 2022-07-15 17:20:03 +0200
Committed: 2022-09-02 11:41:20 -0700

use smallvec instead of onplace_it with fixed size

Files Modified:

  • Cargo.lock
  • wgpu-hal/Cargo.toml
  • wgpu-hal/src/vulkan/command.rs
  • wgpu-hal/src/vulkan/device.rs

58bc205f2a4e03db6acf4907d3e3c4277fabb4e7 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/58bc205f2a4e03db6acf4907d3e3c4277fabb4e7
Authored: 2022-09-01 10:36:34 -0700
Committed: 2022-09-02 11:33:55 -0700

Update to Naga b209d911 (2022-9-1).

This removes an expected failure on AMD RADV. I guess #2751 was our
bug all along.

Files Modified:

  • CHANGELOG.md
  • Cargo.lock
  • wgpu-core/Cargo.toml
  • wgpu-hal/Cargo.toml
  • wgpu-hal/src/dx12/device.rs
  • wgpu/Cargo.toml
  • wgpu/tests/shader_primitive_index/mod.rs

7d138e2e76c0d9bf1f1e573dbafb041bd533e76a by Jim Blandy

https://github.com/gfx-rs/wgpucommit/7d138e2e76c0d9bf1f1e573dbafb041bd533e76a
Authored: 2022-08-28 17:07:04 -0700
Committed: 2022-08-28 20:07:04 -0400

Avoid overflow in check texture copy bounds. (#2963)

Files Modified:

  • .github/workflows/ci.yml
  • CHANGELOG.md
  • wgpu-core/src/command/transfer.rs
  • wgpu/tests/texture_bounds.rs

a0dfb28b8dc3250811fda7bdc2b9c5c4694f424b by Jim Blandy

https://github.com/gfx-rs/wgpucommit/a0dfb28b8dc3250811fda7bdc2b9c5c4694f424b
Authored: 2022-08-28 16:49:09 -0700
Committed: 2022-08-28 19:49:09 -0400

Document wgpu_core id handling, factories, etc. (#2973)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/hub.rs

f5fa92aa796e82972da84107187a793fe6177a85 by i509VCB

https://github.com/gfx-rs/wgpucommit/f5fa92aa796e82972da84107187a793fe6177a85
Authored: 2022-08-28 18:48:22 -0500
Committed: 2022-08-28 19:48:22 -0400

note PresentMode::Mailbox support for Wayland (#2937)

Files Modified:

  • wgpu-types/src/lib.rs

2cd08a1c9ca90ce066aa80d2e432e8d5a8a602a7 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/2cd08a1c9ca90ce066aa80d2e432e8d5a8a602a7
Authored: 2022-08-24 14:25:59 -0700
Committed: 2022-08-24 17:25:59 -0400

Placate Clippy 0.1.63. (#2977)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/binding_model.rs
  • wgpu-core/src/command/compute.rs
  • wgpu-core/src/command/draw.rs
  • wgpu-core/src/command/mod.rs
  • wgpu-core/src/command/render.rs
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/resource.rs
  • wgpu-core/src/track/mod.rs
  • wgpu-hal/src/lib.rs
  • wgpu-types/src/lib.rs
  • wgpu/examples/water/point_gen.rs
  • wgpu/src/lib.rs
  • wgpu/tests/common/image.rs
  • wgpu/tests/example_wgsl.rs
  • wgpu/tests/zero_init_texture_after_discard.rs

f918ac1ed139d4d34aa4775f8ea10d4e2b8213fb by Jinlei Li

https://github.com/gfx-rs/wgpucommit/f918ac1ed139d4d34aa4775f8ea10d4e2b8213fb
Authored: 2022-08-21 03:18:39 +0800
Committed: 2022-08-20 19:18:39 +0000

vk: fix astc_hdr formats support (#2971)

  • vk: fix astc_hdr formats support

  • Update CHANGELOG

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/vulkan/adapter.rs
  • wgpu-types/src/lib.rs

a08ea2a255f4e3965827bc5bc0a7e283855ff890 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/a08ea2a255f4e3965827bc5bc0a7e283855ff890
Authored: 2022-08-20 22:14:57 +0800
Committed: 2022-08-20 07:14:57 -0700

metal: add the missing msg_send![view, retain] call within from_view (#2976)

  • metal: add the missing msg_send![view, retain] call within from_view

  • Update CHANGELOG

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/metal/surface.rs

c6ca2a7d0d4859e641a8ed544ba3b376ad581060 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/c6ca2a7d0d4859e641a8ed544ba3b376ad581060
Authored: 2022-08-13 18:25:49 -0700
Committed: 2022-08-13 18:25:49 -0700

Always free staging buffers (#2961)

  • Have prepare_staging_buffer take a raw hal Device.

This helps the borrow checker understand that we can borrow
pending_writes's encoder and the raw Device at the same time.

  • Always free staging buffers.

We must ensure that the staging buffer is not leaked when an error
occurs, so allocate it as late as possible, and free it explicitly when
those fallible operations we can't move it past go awry.

Fixes #2959.

  • Some tests for texture and buffer copies.

  • Add CHANGELOG.md entry.

Files Added:

  • wgpu/tests/buffer_copy.rs
  • wgpu/tests/texture_bounds.rs

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/queue.rs
  • wgpu/tests/root.rs

33d313cba91041852d02b5e382ddec358014b4d9 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/33d313cba91041852d02b5e382ddec358014b4d9
Authored: 2022-08-13 17:35:57 -0700
Committed: 2022-08-13 20:35:57 -0400

Document some wgpu-core resource tracking types (#2960)

Files Modified:

  • wgpu-core/src/device/queue.rs
  • wgpu-core/src/resource.rs

6e99cd3a3ed4a8758d8da5544980318f23ee61e8 by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/6e99cd3a3ed4a8758d8da5544980318f23ee61e8
Authored: 2022-08-14 02:01:19 +0200
Committed: 2022-08-14 00:01:19 +0000

Fix calculation/validation of layer/mip ranges in create_texture_view (#2955)

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs

96a85b3ac5f28963d501b8e7f383b807a6e14ab4 by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/96a85b3ac5f28963d501b8e7f383b807a6e14ab4
Authored: 2022-08-14 01:48:17 +0200
Committed: 2022-08-13 19:48:17 -0400

Add missing validation in copy_texture_to-Buffer. (#2958)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/command/transfer.rs

d655017439c10e8bd77ad80b353bb6b231c9d838 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/d655017439c10e8bd77ad80b353bb6b231c9d838
Authored: 2022-08-07 21:45:39 -0700
Committed: 2022-08-08 00:45:39 -0400

Implement "strict_asserts" feature in wgpu-core. (#2872)

Since wgpu-core's public functions are supposed to validate their
parameters, the internal track module skips many of Rust's usual
run-time checks in release builds. However, some wgpu-core users are
happy to pay the performance cost in exchange for more safety. The
"strict_asserts" feature causes wgpu_core to perform the same
checks in release builds as it does in debug builds.

Files Added:

  • wgpu-core/src/assertions.rs

Files Modified:

  • CHANGELOG.md
  • deno_webgpu/Cargo.toml
  • player/Cargo.toml
  • wgpu-core/Cargo.toml
  • wgpu-core/src/lib.rs
  • wgpu-core/src/track/buffer.rs
  • wgpu-core/src/track/mod.rs
  • wgpu-core/src/track/stateless.rs
  • wgpu-core/src/track/texture.rs

f7526ae9604a91d14e58eea0d6342988b4a94e79 by Wyatt Herkamp

https://github.com/gfx-rs/wgpucommit/f7526ae9604a91d14e58eea0d6342988b4a94e79
Authored: 2022-08-04 02:09:37 -0400
Committed: 2022-08-04 06:09:37 +0000

winit 0.27 Update and raw-window-handle 0.5 (#2918)

Files Modified:

  • CHANGELOG.md
  • Cargo.lock
  • player/Cargo.toml
  • wgpu-core/Cargo.toml
  • wgpu-core/src/instance.rs
  • wgpu-hal/Cargo.toml
  • wgpu-hal/src/gles/egl.rs
  • wgpu-hal/src/lib.rs
  • wgpu-hal/src/vulkan/instance.rs
  • wgpu/Cargo.toml
  • wgpu/src/backend/direct.rs
  • wgpu/src/lib.rs

ef3b31cd9a5a404107c0cd9735746d1d6bc0101e by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/ef3b31cd9a5a404107c0cd9735746d1d6bc0101e
Authored: 2022-08-04 05:28:36 +0200
Committed: 2022-08-03 20:28:36 -0700

Map bounds check (#2938)

  • Validate that map_async's range is not negative.

map_async already checks that the range's end is within the bounds of the buffer, so this also ensures the range start is within bounds.

  • Add an entry in the changelog.

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/resource.rs

228998ae0d460d541d67cbd25f811a90ac22dc54 by Jim Blandy

https://github.com/gfx-rs/wgpucommit/228998ae0d460d541d67cbd25f811a90ac22dc54
Authored: 2022-08-03 16:27:42 -0700
Committed: 2022-08-03 19:27:42 -0400

Update ci.yml from macos-10.15 to macos-11. (#2940)

Files Modified:

  • .github/workflows/ci.yml

780209dfb461b7d14109596a78b8eae24af51db4 by Kevin Reid

https://github.com/gfx-rs/wgpucommit/780209dfb461b7d14109596a78b8eae24af51db4
Authored: 2022-08-02 14:10:49 -0700
Committed: 2022-08-02 17:10:49 -0400

Add Buffer::size() and Buffer::usage(). (#2923)

Files Added:

  • wgpu/tests/resource_descriptor_accessor.rs

Files Modified:

  • CHANGELOG.md
  • wgpu/src/lib.rs
  • wgpu/tests/root.rs

29f5f8f60ef9ed461ef8d81a978d8239ee5865b8 by ani

https://github.com/gfx-rs/wgpucommit/29f5f8f60ef9ed461ef8d81a978d8239ee5865b8
Authored: 2022-08-02 19:24:10 +0000
Committed: 2022-08-02 19:24:10 +0000

Add WGSL examples to documentation (#2888)

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-types/src/lib.rs

8444fbe4606a3cc4b8b2b8237604cf468e8fe254 by i509VCB

https://github.com/gfx-rs/wgpucommit/8444fbe4606a3cc4b8b2b8237604cf468e8fe254
Authored: 2022-08-01 19:55:53 -0500
Committed: 2022-08-01 20:55:53 -0400

vulkan: fix issues querying multiview support (#2934)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/vulkan/adapter.rs

e59c33046bfae7c3f8ed5a412ea1db058f8b0cbf by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/e59c33046bfae7c3f8ed5a412ea1db058f8b0cbf
Authored: 2022-08-01 22:25:32 +0200
Committed: 2022-08-01 16:25:32 -0400

Validate against the maximum binding index (#2892)

  • Validate binding indices in create_bind_group_layout.

  • Add an entry in the changelog

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/binding_model.rs
  • wgpu-core/src/device/mod.rs

0dce58dfbdd3b8e6e8b5496ea80bbbdfd5522f95 by Seamooo

https://github.com/gfx-rs/wgpucommit/0dce58dfbdd3b8e6e8b5496ea80bbbdfd5522f95
Authored: 2022-08-02 03:06:26 +0800
Committed: 2022-08-01 19:06:26 +0000

changed websys features in core and hal to align with used features (#2922)

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-core/Cargo.toml
  • wgpu-hal/Cargo.toml

4cbf8cfcf198034994b07f4372d09c6da8ad94dd by Reece

https://github.com/gfx-rs/wgpucommit/4cbf8cfcf198034994b07f4372d09c6da8ad94dd
Authored: 2022-07-31 21:39:55 -0400
Committed: 2022-08-01 01:39:55 +0000

Fix opening of renderdoc lib (#2930)

  • Fix opening renderdoc lib

Renderdoc needs to not be opened by us, but instead open the existing copy.
Unfortunately this requires OS specific flags for opening, plus libloading
doesn't have full API coverage currently.

  • Added changelog entry for #2930

  • Hide RTLD_NOLOAD behind a cfg for unix

Co-authored-by: ABuffSeagull <reecevanatta@hey.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/auxil/renderdoc.rs

a05c8dc2dc846a78b98152d70f5a613699fc5695 by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/a05c8dc2dc846a78b98152d70f5a613699fc5695
Authored: 2022-08-01 00:05:18 +0200
Committed: 2022-07-31 22:05:18 +0000

Fix buffer zeroing with offset in map_buffer (#2916)

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs

b784eee5afdae2aae6d8529e8291733f8ab2ba5f by Kevin Reid

https://github.com/gfx-rs/wgpucommit/b784eee5afdae2aae6d8529e8291733f8ab2ba5f
Authored: 2022-07-31 14:55:37 -0700
Committed: 2022-07-31 17:55:37 -0400

Silence clippy::let_unit_value false positives on objc::msg_send calls. (#2924)

Files Modified:

  • wgpu-hal/src/metal/surface.rs

a420e453c3d9c93dfb1a8526bf11c000d895c916 by Kevin Reid

https://github.com/gfx-rs/wgpucommit/a420e453c3d9c93dfb1a8526bf11c000d895c916
Authored: 2022-07-26 07:59:27 -0700
Committed: 2022-07-26 14:59:27 +0000

StagingBelt: check for free chunks in the receiver as well as free_chunks. (#2906)

  • StagingBelt: check for free chunks in the receiver as well as free_chunks.

Previously, chunks would only be taken from the GPU callback receiver
and put on free_chunks during finish(). So, there might be chunks
that are actually available for use but wouldn't be used.

Now, we consult the receiver whenever we're about to consult the
free_chunks, so the reuse of chunks will be as good as possible (given
the application's uses of operations that trigger map_async callbacks).

  • Changelog entry.

Files Modified:

  • CHANGELOG.md
  • wgpu/src/util/belt.rs

271bb8690ecd8304d4dd16f89094ceb4b6f118cf by Valentin

https://github.com/gfx-rs/wgpucommit/271bb8690ecd8304d4dd16f89094ceb4b6f118cf
Authored: 2022-07-26 05:40:32 +0200
Committed: 2022-07-26 03:40:32 +0000

Fix documentation claiming shader entry points must return void (#2911)

Files Modified:

  • wgpu-core/src/pipeline.rs
  • wgpu-hal/src/lib.rs
  • wgpu/src/lib.rs

75519839be7977617396ec1a70f7ac2a023b0e9d by i509VCB

https://github.com/gfx-rs/wgpucommit/75519839be7977617396ec1a70f7ac2a023b0e9d
Authored: 2022-07-25 22:37:50 -0500
Committed: 2022-07-25 23:37:50 -0400

export AdapterContext in Gles hal (#2870)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/gles/mod.rs

7b487682d9a5c03a06fa2833186237a384569e6d by Kevin Reid

https://github.com/gfx-rs/wgpucommit/7b487682d9a5c03a06fa2833186237a384569e6d
Authored: 2022-07-25 20:36:56 -0700
Committed: 2022-07-26 03:36:56 +0000

Expand StagingBelt documentation. (#2905)

Files Modified:

  • CHANGELOG.md
  • wgpu/src/util/belt.rs

aae8c6aaec192fef409092c3f55514cd97d2cdb9 by Leo Kettmeir

https://github.com/gfx-rs/wgpucommit/aae8c6aaec192fef409092c3f55514cd97d2cdb9
Authored: 2022-07-26 05:31:58 +0200
Committed: 2022-07-25 23:31:58 -0400

update deno (#2901)

Files Modified:

  • cts_runner/Cargo.toml
  • deno_webgpu/Cargo.toml
  • deno_webgpu/src/01_webgpu.js
  • deno_webgpu/src/02_idl_types.js
  • deno_webgpu/src/command_encoder.rs
  • deno_webgpu/src/lib.rs
  • deno_webgpu/src/shader.rs
  • deno_webgpu/webgpu.idl

d0aa3f471a11f9f5d607d521c8e7b4ff5f2afe20 by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/d0aa3f471a11f9f5d607d521c8e7b4ff5f2afe20
Authored: 2022-07-26 05:28:52 +0200
Committed: 2022-07-25 23:28:52 -0400

Validate the number of color attachments in create_render_pipeline (#2913)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/pipeline.rs

537c6bed4e579a5cd99196ad4d3b1b952455d08a by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/537c6bed4e579a5cd99196ad4d3b1b952455d08a
Authored: 2022-07-21 02:24:49 -0400
Committed: 2022-07-21 02:24:49 -0400

Add warning when using CompareFunction::*Equal without an invariant Attribute (#2887)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/validation.rs
  • wgpu-types/src/lib.rs

6448c6062f268288f451962f6ff92be79e8b1e06 by Leo Kettmeir

https://github.com/gfx-rs/wgpucommit/6448c6062f268288f451962f6ff92be79e8b1e06
Authored: 2022-07-20 18:47:34 +0200
Committed: 2022-07-20 12:47:34 -0400

add CODEOWNERS file (#2896)

Files Added:

  • .github/CODEOWNERS

534ad76d5a2d7fc9f894b1f14bd0cba77b28eb16 by Leo Kettmeir

https://github.com/gfx-rs/wgpucommit/534ad76d5a2d7fc9f894b1f14bd0cba77b28eb16
Authored: 2022-07-20 18:47:10 +0200
Committed: 2022-07-20 12:47:10 -0400

upstream deno changes (#2895)

  • upstream GPUAutoLayoutMode

  • clean up symbols and fix miscalled op

  • fix gfx-rs/wgpu#2778

Files Modified:

  • deno_webgpu/src/01_webgpu.js
  • deno_webgpu/src/02_idl_types.js
  • deno_webgpu/src/buffer.rs
  • deno_webgpu/src/lib.rs
  • deno_webgpu/src/pipeline.rs
  • deno_webgpu/webgpu.idl

e49ef973111265eb4f6de65a75ee701a90cfa4fb by Seamus Mulholland-Patterson

https://github.com/gfx-rs/wgpucommit/e49ef973111265eb4f6de65a75ee701a90cfa4fb
Authored: 2022-07-16 00:12:59 +0800
Committed: 2022-07-15 14:11:04 -0400

added changelog entry for #2886

Files Modified:

  • CHANGELOG.md

6d4677fd7ff90fe33af97821c2516795295c50f9 by Seamus Mulholland-Patterson

https://github.com/gfx-rs/wgpucommit/6d4677fd7ff90fe33af97821c2516795295c50f9
Authored: 2022-07-15 17:18:11 +0800
Committed: 2022-07-15 14:11:04 -0400

added downlevel restriction error message for InvalidFormatUsages error

Files Modified:

  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/resource.rs

48325f1aaa1a26744e328112254a299e5509b9f1 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/48325f1aaa1a26744e328112254a299e5509b9f1
Authored: 2022-07-13 21:29:09 -0400
Committed: 2022-07-14 01:29:09 +0000

v0.13.2 changelog (#2882)

Files Modified:

  • CHANGELOG.md

6058676dd20de9f4fc37dfccf09e9e14524bcfbb by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/6058676dd20de9f4fc37dfccf09e9e14524bcfbb
Authored: 2022-07-13 20:01:12 +0200
Committed: 2022-07-13 18:01:12 +0000

Record that the buffer is mapped when its size is zero. (#2877)

  • Record that the buffer is mapped when its size is zero.

  • Avoid internally trying to map a zero-sized buffer if mapped_at_creation is true.

  • Add an entry in the changelog.

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/life.rs
  • wgpu-core/src/device/mod.rs

18d053d5af89c3943f47f173e9c98dad4ac252de by Jim Blandy

https://github.com/gfx-rs/wgpucommit/18d053d5af89c3943f47f173e9c98dad4ac252de
Authored: 2022-07-13 09:37:47 -0700
Committed: 2022-07-13 12:37:47 -0400

Specify an exact wasm-bindgen-cli version in publish.yml. (#2873)

The versions of wasm-bindgen-cli run by .github/workflows/publish.yml must
exactly match the version of wasm-bindgen used by wgpu. At the moment,
wgpu/Cargo.toml specifies 0.2.81, and our Cargo.lock agrees, so
that is what publish.yml should mention.

Files Modified:

  • .github/workflows/publish.yml

5094525fb8b6cd4d4e286619288662f6b48b8dfc by Jim Blandy

https://github.com/gfx-rs/wgpucommit/5094525fb8b6cd4d4e286619288662f6b48b8dfc
Authored: 2022-07-13 09:37:21 -0700
Committed: 2022-07-13 12:37:21 -0400

For wgpu web backend, use a real type for submission indices. (#2874)

The wgpu web backend uses () as Context::SubmissionIndex, which is
fine --- WebGPU provides no way to identify individual queue
submissions --- except that Clippy is concerned about us passing
around () in the front end as if it were a real value. Instead,
define a new zero-size wgpu::backend::web::SubmissionIndex type for
this use.

Files Modified:

  • wgpu/src/backend/web.rs

af345cd6c3fa56ca6ff3377dfd77a387716f1ba3 by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/af345cd6c3fa56ca6ff3377dfd77a387716f1ba3
Authored: 2022-07-13 18:34:36 +0200
Committed: 2022-07-13 12:34:36 -0400

Validate the range in map_async. (#2876)

  • Validate the range in map_async.

  • Add an entry in the changelog.

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs

db24c066cb72c89d5c1eb33c09e7b394a2343cf6 by i509VCB

https://github.com/gfx-rs/wgpucommit/db24c066cb72c89d5c1eb33c09e7b394a2343cf6
Authored: 2022-07-12 13:38:59 -0500
Committed: 2022-07-12 14:38:59 -0400

fix panic with as_hal functions (#2871)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/hub.rs
  • wgpu-core/src/resource.rs

ecf3f5ec3851c5f63f7ea95eb314faeb41d30aa6 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/ecf3f5ec3851c5f63f7ea95eb314faeb41d30aa6
Authored: 2022-07-11 11:06:32 +0800
Committed: 2022-07-10 23:06:32 -0400

metal | vulkan-portability: extract the generic code into get_metal_layer (#2826)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/metal/surface.rs
  • wgpu-hal/src/vulkan/instance.rs

a108efe6b66a3dd0ccfb6bd5d73eaf1992c7fd04 by i509VCB

https://github.com/gfx-rs/wgpucommit/a108efe6b66a3dd0ccfb6bd5d73eaf1992c7fd04
Authored: 2022-07-10 17:50:54 -0500
Committed: 2022-07-10 18:50:54 -0400

expose context and display from adapter and device for egl hal (#2860)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/gles/egl.rs

0dfb1115d25ae6fab7d0a69e39017c0af7504c41 by i509VCB

https://github.com/gfx-rs/wgpucommit/0dfb1115d25ae6fab7d0a69e39017c0af7504c41
Authored: 2022-07-10 17:49:53 -0500
Committed: 2022-07-10 18:49:53 -0400

document Adapter::new_external in wgpu-hal (#2863)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/gles/egl.rs

4add620d37addaf4006961c9e9d3d3486db7be9e by Nicholas Rishel

https://github.com/gfx-rs/wgpucommit/4add620d37addaf4006961c9e9d3d3486db7be9e
Authored: 2022-07-10 15:18:01 -0700
Committed: 2022-07-10 22:18:01 +0000

Fix instruction to run example test in README. (#2868)

Files Modified:

  • README.md

2ce1318c8c395db762616daeb971def0d53577cd by Sébastien Marleau

https://github.com/gfx-rs/wgpucommit/2ce1318c8c395db762616daeb971def0d53577cd
Authored: 2022-07-10 18:15:52 -0400
Committed: 2022-07-10 22:15:52 +0000

fix deduplication not taking into account render bundles (#2867)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/command/mod.rs
  • wgpu-core/src/command/render.rs

324de1bef620e88a2507a434b7584933104fbe4c by Nicolas Silva

https://github.com/gfx-rs/wgpucommit/324de1bef620e88a2507a434b7584933104fbe4c
Authored: 2022-07-08 08:29:05 +0200
Committed: 2022-07-07 23:29:05 -0700

Ensure the BufferMapCallback is always called. (#2848)

  • Ensure the BufferMapAsyncCallback is always called.

This solves two issues on the Gecko side:

  • The callback cleans up after itself (the user data is deleted at the end of the callback), so dropping the callback without calling it is a memory leak. I can't think of a better way to implement this on the C++ side since there can be any number of callback at any time living for an unspecified amount of time.
  • This makes it easier to implement the error reporting of the WebGPU spec.
  • Update the changelog.

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/resource.rs

94c065cb33b8677b523a6d53c1166a0d0be9fab2 by i509VCB

https://github.com/gfx-rs/wgpucommit/94c065cb33b8677b523a6d53c1166a0d0be9fab2
Authored: 2022-07-07 18:43:13 -0500
Committed: 2022-07-07 19:43:13 -0400

allow access to queue family index in vulkan hal device (#2859)

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/vulkan/adapter.rs
  • wgpu-hal/src/vulkan/device.rs
  • wgpu-hal/src/vulkan/mod.rs

9c5015f0598d31fc76476b6a48e19f291f5992dc by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/9c5015f0598d31fc76476b6a48e19f291f5992dc
Authored: 2022-07-06 10:51:32 -0400
Committed: 2022-07-06 11:06:34 -0400

Update Changelog

Files Modified:

  • CHANGELOG.md

259991e2589f01b6561a9daa9ff63d629c802c15 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/259991e2589f01b6561a9daa9ff63d629c802c15
Authored: 2022-07-05 23:46:56 -0400
Committed: 2022-07-06 11:06:34 -0400

Refactor GLES's texture_format_capabilities

Files Modified:

  • wgpu-hal/src/gles/adapter.rs
  • wgpu-hal/src/gles/mod.rs

499e9e628e7c4d8e5cb38f55ee8af33d0cc8efc4 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/499e9e628e7c4d8e5cb38f55ee8af33d0cc8efc4
Authored: 2022-07-04 17:47:57 -0400
Committed: 2022-07-06 11:06:34 -0400

Properly query SRV and UAV format features for depth formats

Files Modified:

  • wgpu-hal/src/dx12/adapter.rs

59f4efe93aaf2f3d2848fd683748b26bfeb3f97a by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/59f4efe93aaf2f3d2848fd683748b26bfeb3f97a
Authored: 2022-07-04 17:40:08 -0400
Committed: 2022-07-06 11:06:34 -0400

Prevent get_texture_format_features from saying textures always support COPY_*

Files Modified:

  • wgpu-core/src/instance.rs

7e369fdd573f2d6f46cbe60357eea8c702ce094f by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/7e369fdd573f2d6f46cbe60357eea8c702ce094f
Authored: 2022-07-04 17:37:19 -0400
Committed: 2022-07-06 11:06:34 -0400

Fix texture multi-sample-ability check with TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES

Files Modified:

  • wgpu-core/src/device/mod.rs

bb273a908fd7d5ec25bfd35507e258d0d73545ef by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/bb273a908fd7d5ec25bfd35507e258d0d73545ef
Authored: 2022-07-04 17:36:26 -0400
Committed: 2022-07-06 11:06:34 -0400

DX12/VK allow texture_format_capabilities to be called on any texture format

Files Modified:

  • wgpu-hal/src/auxil/dxgi/conv.rs
  • wgpu-hal/src/dx12/adapter.rs
  • wgpu-hal/src/vulkan/adapter.rs

ff233fbf31d7b17270f7711e1ddbb2171000883b by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/ff233fbf31d7b17270f7711e1ddbb2171000883b
Authored: 2022-07-04 17:35:03 -0400
Committed: 2022-07-06 11:06:34 -0400

Add format features table to wgpu-info and improve output

Files Modified:

  • wgpu-info/src/main.rs

1da5bbd7b43466a7cecbcdd67c0b613b36c6bf63 by Craig

https://github.com/gfx-rs/wgpucommit/1da5bbd7b43466a7cecbcdd67c0b613b36c6bf63
Authored: 2022-07-05 21:11:22 -0700
Committed: 2022-07-06 00:11:22 -0400

Prevent OpenGL from taking preference over Vulkan (#2853)

  • Prevent OpenGL from taking preference over Vulkan

  • update changelog

  • fix wasm build of example

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/instance.rs
  • wgpu-hal/src/gles/adapter.rs
  • wgpu-types/src/lib.rs
  • wgpu/examples/hello/README.md
  • wgpu/examples/hello/main.rs

b574354af4edeaf5d3d5ea0f738becc509c17e25 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/b574354af4edeaf5d3d5ea0f738becc509c17e25
Authored: 2022-07-06 11:37:26 +0800
Committed: 2022-07-06 03:37:26 +0000

gl: fix depth stencil texture format capability (#2854)

  • gl: fix depth stencil texture format capabilitys

  • Update CHANGELOG

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-hal/src/gles/adapter.rs

ab340baf6909833995273dd1bb78255b5477148a by Elabajaba

https://github.com/gfx-rs/wgpucommit/ab340baf6909833995273dd1bb78255b5477148a
Authored: 2022-07-05 16:59:41 -0400
Committed: 2022-07-05 20:59:41 +0000

Update present_mode docs as most of them don't automatically fall back to Fifo anymore. (#2855)

  • space

PresentMode no longer automatically falls back to Fifo

  • Update wgpu-types/src/lib.rs

Auto(No)Vsync fallback wording.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

  • changelog

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • CHANGELOG.md
  • wgpu-types/src/lib.rs

615ced5a998215b8fa2a0266b17200dde3a16947 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/615ced5a998215b8fa2a0266b17200dde3a16947
Authored: 2022-07-04 15:29:35 -0400
Committed: 2022-07-04 16:38:27 -0400

Changelog

Files Modified:

  • CHANGELOG.md

7319a8136b5f0759e42533105f287fba94f8109c by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/7319a8136b5f0759e42533105f287fba94f8109c
Authored: 2022-07-04 15:26:37 -0400
Committed: 2022-07-04 16:38:27 -0400

Add aniso to dx12

Files Modified:

  • wgpu-types/src/lib.rs

c36eb9f44bd9462fe176fb859839592131428feb by Steven

https://github.com/gfx-rs/wgpucommit/c36eb9f44bd9462fe176fb859839592131428feb
Authored: 2022-07-03 14:09:39 -0700
Committed: 2022-07-03 21:09:39 +0000

Add change (#2847)

Files Modified:

  • CHANGELOG.md

6befbcbca4ee2dc380c608ff3c7bfa51e2a291dc by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/6befbcbca4ee2dc380c608ff3c7bfa51e2a291dc
Authored: 2022-07-02 22:03:52 -0400
Committed: 2022-07-03 01:08:40 -0400

Touch up changelog

Files Modified:

  • CHANGELOG.md

7d85efb30194ed88f5a9d1c3ac277c8e4cc9168c by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/7d85efb30194ed88f5a9d1c3ac277c8e4cc9168c
Authored: 2022-07-03 00:55:41 -0400
Committed: 2022-07-03 01:08:40 -0400

Fix out of bounds access when surface texture is written to by multiple command buffers

Files Modified:

  • wgpu-core/src/device/queue.rs

aaabd56d9a3efd1614543da08f97a69c538aa35c by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/aaabd56d9a3efd1614543da08f97a69c538aa35c
Authored: 2022-07-02 21:44:34 -0400
Committed: 2022-07-03 01:08:40 -0400

Curb Expectations of DX11

Files Modified:

  • CHANGELOG.md

87552a92cca18b28d1bfad34479dd481bcb2996c by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/87552a92cca18b28d1bfad34479dd481bcb2996c
Authored: 2022-07-02 21:40:15 -0400
Committed: 2022-07-03 01:08:40 -0400

Fix GL_EXT_color_buffer_float detection on desktop

Files Modified:

  • wgpu-hal/src/gles/adapter.rs
  • wgpu-hal/src/gles/mod.rs

eea8edb8a0c17835894db41df38073599a3b4794 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/eea8edb8a0c17835894db41df38073599a3b4794
Authored: 2022-07-02 21:39:57 -0400
Committed: 2022-07-03 01:08:40 -0400

Fix AutoNoVsync on OpenGL

Files Modified:

  • wgpu-core/src/device/mod.rs

72a4ef93620c7adca351f60a6589bab53e1418c9 by Spencer C. Imbleau (he/him)

https://github.com/gfx-rs/wgpucommit/72a4ef93620c7adca351f60a6589bab53e1418c9
Authored: 2022-07-02 22:00:25 -0400
Committed: 2022-07-03 02:00:25 +0000

Fixes #2840 (#2842)

Files Modified:

  • CHANGELOG.md
  • wgpu-core/src/device/mod.rs

cb0646f8da8280a357001f13da8a336578252947 by RustEnthusiast

https://github.com/gfx-rs/wgpucommit/cb0646f8da8280a357001f13da8a336578252947
Authored: 2022-07-02 03:17:08 -0500
Committed: 2022-07-02 08:17:08 +0000

Update wgpu repository link in Cargo.toml. (#2834)

This fixes issue #2830.

Files Modified:

  • wgpu/Cargo.toml

c20c86a9481b1585107cad6455652d434849147a by Fel

https://github.com/gfx-rs/wgpucommit/c20c86a9481b1585107cad6455652d434849147a
Authored: 2022-07-01 19:39:11 -0300
Committed: 2022-07-01 22:39:11 +0000

Add other breaking changes to 0.13 changelog (#2831)

Files Modified:

  • CHANGELOG.md

5bef140228cb56d1dc2b0bd669ae4bd6f6ecf508 by multisn8

https://github.com/gfx-rs/wgpucommit/5bef140228cb56d1dc2b0bd669ae4bd6f6ecf508
Authored: 2022-07-01 21:32:27 +0200
Committed: 2022-07-01 19:32:27 +0000

Clarify about breaking max_buffer_size in Limits (#2828)

Files Modified:

  • CHANGELOG.md

e125321bff7eb602d1849f18f22606afeebef3fb by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/e125321bff7eb602d1849f18f22606afeebef3fb
Authored: 2022-07-01 10:38:04 -0400
Committed: 2022-07-01 14:38:04 +0000

Release 0.13 two - electric boogaloo (#2827)

Files Modified:

  • Cargo.lock
  • wgpu-hal/Cargo.toml

93dbffa5d3d5ae2b26ee0c573862fef2f9f4de52 by David Huculak

https://github.com/gfx-rs/wgpucommit/93dbffa5d3d5ae2b26ee0c573862fef2f9f4de52
Authored: 2022-06-30 21:44:29 -0400
Committed: 2022-07-01 01:44:29 +0000

Add other breaking changes to 0.13 changelog (#2825)

  • add other breaking changes to 0.13 changelog

  • fix typo

Files Modified:

  • CHANGELOG.md

1ceef24261c6c0ace193090a51e9d7e406da1185 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/1ceef24261c6c0ace193090a51e9d7e406da1185
Authored: 2022-06-30 16:25:49 -0400
Committed: 2022-06-30 20:25:49 +0000

Add changelog for 0.13 (#2823)

  • Changelog

  • Update CHANGELOG.md

  • Bump versions to 0.13

Files Modified:

  • .github/pull_request_template.md
  • CHANGELOG.md
  • Cargo.lock
  • wgpu-core/Cargo.toml
  • wgpu-hal/Cargo.toml
  • wgpu-hal/src/gles/adapter.rs
  • wgpu-hal/src/gles/device.rs
  • wgpu-info/Cargo.toml
  • wgpu-types/Cargo.toml
  • wgpu/Cargo.toml

ea05b44f384077a1a466eeb9a58c523379225a01 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/ea05b44f384077a1a466eeb9a58c523379225a01
Authored: 2022-06-30 14:24:17 -0400
Committed: 2022-06-30 14:24:17 -0400

Improve Presentation Api (#2803)

  • Add new presentation modes

  • Expand presentation formats

  • Add Surface::get_supported_modes

  • Update to rust 2021 and improve some metal surface code

  • Update wgpu-types/src/lib.rs

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>

  • Fix windows build errors

  • Fix issues with ALLOW_TEARING

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>

Files Modified:

  • cts_runner/Cargo.toml
  • deno_webgpu/Cargo.toml
  • dummy/Cargo.toml
  • player/Cargo.toml
  • run-wasm/Cargo.toml
  • wgpu-core/Cargo.toml
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/instance.rs
  • wgpu-core/src/present.rs
  • wgpu-hal/Cargo.toml
  • wgpu-hal/src/dx12/adapter.rs
  • wgpu-hal/src/dx12/instance.rs
  • wgpu-hal/src/dx12/mod.rs
  • wgpu-hal/src/metal/adapter.rs
  • wgpu-hal/src/metal/mod.rs
  • wgpu-hal/src/metal/surface.rs
  • wgpu-hal/src/vulkan/adapter.rs
  • wgpu-hal/src/vulkan/conv.rs
  • wgpu-info/Cargo.toml
  • wgpu-types/Cargo.toml
  • wgpu-types/src/lib.rs
  • wgpu/Cargo.toml
  • wgpu/examples/hello-triangle/main.rs
  • wgpu/src/backend/direct.rs
  • wgpu/src/backend/web.rs
  • wgpu/src/lib.rs

98597da1ec44be4c0722454c99f051a257760dc8 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/98597da1ec44be4c0722454c99f051a257760dc8
Authored: 2022-06-30 11:36:11 +0800
Committed: 2022-06-30 03:36:11 +0000

Allow fragment stage to have more outputs than the pipeline has (#2822)

Files Modified:

  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/pipeline.rs

1d8bc57a86a989b2fb30d3f3ae1cfcb9e55adac1 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/1d8bc57a86a989b2fb30d3f3ae1cfcb9e55adac1
Authored: 2022-06-29 23:05:42 -0400
Committed: 2022-06-30 03:05:42 +0000

Don't wait for current submission inside of submit (#2824)

Files Modified:

  • wgpu-core/src/device/queue.rs

464b61d01c5832497e7ae54dbb153464e74eb285 by Connor Fitzgerald

https://github.com/gfx-rs/wgpucommit/464b61d01c5832497e7ae54dbb153464e74eb285
Authored: 2022-06-28 15:49:51 -0400
Committed: 2022-06-28 19:49:51 +0000

Flip span labels to work better with tools (#2820)

Files Modified:

  • wgpu-core/src/command/compute.rs
  • wgpu-core/src/command/mod.rs
  • wgpu-core/src/command/render.rs
  • wgpu-core/src/command/transfer.rs
  • wgpu-core/src/device/life.rs
  • wgpu-core/src/device/mod.rs
  • wgpu-core/src/device/queue.rs
  • wgpu-core/src/hub.rs
  • wgpu-core/src/instance.rs
  • wgpu-core/src/present.rs
  • wgpu-core/src/resource.rs

5eb09f6bd786a7026fbd1d00e2e76afe450c7dac by Teodor Tanasoaia

https://github.com/gfx-rs/wgpucommit/5eb09f6bd786a7026fbd1d00e2e76afe450c7dac
Authored: 2022-06-28 20:32:43 +0200
Committed: 2022-06-28 18:32:43 +0000

Implement Queue::write_buffer_with (#2777)

  • implement Queue::write_buffer_with

  • address comments

  • update doc

  • Fix copy span location

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

Files Modified:

  • wgpu-core/src/device/queue.rs
  • wgpu-core/src/hub.rs
  • wgpu-core/src/id.rs
  • wgpu-core/src/resource.rs
  • wgpu/src/backend/direct.rs
  • wgpu/src/backend/mod.rs
  • wgpu/src/backend/web.rs
  • wgpu/src/lib.rs

0eb6845b6ad114963de73167332b8048b8997184 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/0eb6845b6ad114963de73167332b8048b8997184
Authored: 2022-06-29 02:15:57 +0800
Committed: 2022-06-28 14:15:57 -0400

web: march web-sys 0.3.58, sparse attachments support (#2813)

Files Modified:

  • Cargo.lock
  • wgpu/Cargo.toml
  • wgpu/src/backend/web.rs

b0c798639a9b041a14dfaf3f1deb1b1b932f55c5 by Jinlei Li

https://github.com/gfx-rs/wgpucommit/b0c798639a9b041a14dfaf3f1deb1b1b932f55c5
Authored: 2022-06-29 02:12:34 +0800
Committed: 2022-06-28 18:12:34 +0000

core: restrict hal::TextureUses::COLOR_TARGET condition within create_texture (#2818)

Files Modified:

  • wgpu-core/src/device/mod.rs

./mach vendor gfx/wgpu_bindings/moz.yaml failed with the following message:

Updating git repository `https://github.com/smol-rs/async-task`
Updating git repository `https://github.com/hsivonen/chardetng`
Updating git repository `https://github.com/hsivonen/chardetng_c`
Updating git repository `https://github.com/chris-zen/coremidi.git`
Updating git repository `https://github.com/mozilla/application-services`
Updating git submodule `https://github.com/mozilla/glean`
Updating git repository `https://github.com/mozilla/midir.git`
Updating git repository `https://github.com/rust-minidump/minidump-writer.git`
Updating git repository `https://github.com/hsivonen/packed_simd`
Updating crates.io index
Updating git repository `https://github.com/mozilla-spidermonkey/jsparagus`
Updating git repository `https://github.com/mozilla/neqo`
Updating git repository `https://github.com/mozilla/audioipc`
Updating git repository `https://github.com/kinetiknz/audioipc-2`
Updating git repository `https://github.com/mozilla/cubeb-coreaudio-rs`
Updating git repository `https://github.com/mozilla/cubeb-pulse-rs`
Updating git repository `https://github.com/jfkthame/mapped_hyph.git`
Updating git repository `https://github.com/mozilla/mp4parse-rust`
Updating git submodule `https://github.com/AOMediaCodec/av1-avif.git`
Updating git submodule `https://github.com/link-u/avif-sample-images`
Updating git repository `https://github.com/mozilla/uniffi-rs.git`
Updating git repository `https://github.com/gfx-rs/wgpu`
Updating git repository `https://github.com/gfx-rs/naga`
Updating git repository `https://github.com/kinetiknz/mio-named-pipes`
  Adding d3d12 v0.5.0
Removing d3d12 v0.4.1 (https://github.com/gfx-rs/d3d12-rs.git?rev=ffe5e261da0a6cb85332b82ab310abd2a7e849f6#ffe5e261)
Removing inplace_it v0.3.4
  Adding metal v0.24.0
Removing metal v0.23.1 (https://github.com/gfx-rs/metal-rs?rev=1aaa903#1aaa9033)
Removing naga v0.8.0 (https://github.com/gfx-rs/naga?rev=27d38aae#27d38aae)
  Adding naga v0.9.0 (https://github.com/gfx-rs/naga?rev=b209d911#b209d911)
Updating raw-window-handle v0.4.3 -> v0.5.0
  Adding wgpu-core v0.13.0 (https://github.com/gfx-rs/wgpu?rev=94ce76391b560a66e36df1300bd684321e57511a#94ce7639)
Removing wgpu-core v0.12.0 (https://github.com/gfx-rs/wgpu?rev=b370b990#b370b990)
  Adding wgpu-hal v0.13.0 (https://github.com/gfx-rs/wgpu?rev=94ce76391b560a66e36df1300bd684321e57511a#94ce7639)
Removing wgpu-hal v0.12.0 (https://github.com/gfx-rs/wgpu?rev=b370b990#b370b990)
  Adding wgpu-types v0.13.0 (https://github.com/gfx-rs/wgpu?rev=94ce76391b560a66e36df1300bd684321e57511a#94ce7639)
Removing wgpu-types v0.12.0 (https://github.com/gfx-rs/wgpu?rev=b370b990#b370b990)

Latest commit is 94ce76391b560a66e36df1300bd684321e57511a from 2022-09-04T16:22:25Z
Setting up artifact cargo-vet.tar.zst
Downloading artifact to local cache: /builds/worker/.mozbuild/toolchains/e7524f6384e08d39-cargo-vet.tar.zst
Downloading... 0.0 %
Downloading... 5.2 %
Downloading... 10.1 %
Downloading... 15.1 %
Downloading... 20.2 %
Downloading... 25.2 %
Downloading... 30.1 %
Downloading... 35.1 %
Downloading... 40.2 %
Downloading... 45.2 %
Downloading... 50.1 %
Downloading... 55.1 %
Downloading... 60.2 %
Downloading... 65.2 %
Downloading... 70.1 %
Downloading... 75.1 %
Downloading... 80.2 %
Downloading... 85.2 %
Downloading... 90.1 %
Downloading... 95.1 %
Downloading... 100.0 %
Error running mach:

['--log-no-times', 'artifact', 'toolchain', '--from-task', 'Lxabc4FbSSiohK9A5C9Cog:public/build/cargo-vet.tar.zst']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file artifact| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ModuleNotFoundError: No module named 'zstandard'

File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifact_commands.py", line 576, in artifact_toolchain
unpack_file(local)
File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/tooltool.py", line 993, in unpack_file
import zstandard

Flags: needinfo?(jimb)

This shouldn't have happened - https://github.com/mozilla-services/updatebot/pull/280 is in review to fix it.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jimb)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.