Skip to content
Snippets Groups Projects
  1. Aug 24, 2022
  2. Aug 23, 2022
  3. Aug 11, 2022
  4. May 17, 2022
  5. May 10, 2022
  6. May 04, 2022
  7. Apr 22, 2022
  8. Apr 20, 2022
  9. Apr 13, 2022
  10. Apr 12, 2022
  11. Apr 07, 2022
    • Jim Blandy's avatar
      Bug 1762730: Update wgpu-core, wgpu-hal, and wgpu-types to 75e82afd. r=jgilbert · 8c4605cf
      Jim Blandy authored
      New versions of several crates are introduced to third_party/rust, by
      changing the versions requested in `gfx/wgpu_bindings/Cargo.toml` and
      running `mach vendor rust`:
      
      - `wgpu-core`, `wgpu-hal`, and `wgpu-types`, as used by `wgpu_bindings`
      - `naga`, `ash`, and `metal`, as used by the above
      
      These are all exact copies of the upstream sources, at the git
      revisions listed in `.cargo/config.in`.
      
      This brings in fixes for some upstream `wgpu` bugs that were fuzzblockers:
      
      - Compute pipelines never freed at runtime, leaking memory #2564
        https://github.com/gfx-rs/wgpu/issues/2564
      
      - Device::drop doesn't actually free the device when using backend::direct::Context #2563
        https://github.com/gfx-rs/wgpu/issues/2563
      
      The Firefox sources also needed some adjustments to catch up with
      upstream changes:
      
      - The C type `mozilla::webgpu::ffi::WGPUTextureFormat` is now a struct
        containing a tag enum and a union, not just an enum. This is needed
        for [gfx-rs/wgpu#2477](https://github.com/gfx-rs/wgpu/pull/2477).
      
        (Note that Firefox's `WebGPU.webidl` is behind the current spec,
        so even though the newest ASTC texture formats are supported in `wgpu`,
        they're not available in Firefox yet.)
      
      - `wgpu` got a new feature, `id32`, which cbindgen needed to be told
        about so that it would generate preprocessor-protected code like
        this:
      
            #if defined(WGPU_FEATURE_ID32)
            typedef uint32_t WGPUNonZeroId;
            #endif
      
            #if !defined(WGPU_FEATURE_ID32)
            typedef uint64_t WGPUNonZeroId;
            #endif
      
        instead of just spitting out two conflicting definitions of
        `WGPUNonZeroId`.
      
      - The `wgpu_core::hub::IdentityHandlerFactory` trait's `spawn` method
        no longer takes a `min_index` argument. (Our implementations of that
        trait never used that argument anyway, so this was easy to
        accommodate.)
      
      Differential Revision: https://phabricator.services.mozilla.com/D142779
      8c4605cf
  12. Apr 05, 2022
    • Cristian Tuns's avatar
    • Jim Blandy's avatar
      Bug 1762730: Update wgpu-core, wgpu-hal, and wgpu-types to 75e82afd. r=jgilbert · 8075da04
      Jim Blandy authored
      New versions of several crates are introduced to third_party/rust, by
      changing the versions requested in `gfx/wgpu_bindings/Cargo.toml` and
      running `mach vendor rust`:
      
      - `wgpu-core`, `wgpu-hal`, and `wgpu-types`, as used by `wgpu_bindings`
      - `naga`, `ash`, and `metal`, as used by the above
      
      These are all exact copies of the upstream sources, at the git
      revisions listed in `.cargo/config.in`.
      
      This brings in fixes for some upstream `wgpu` bugs that were fuzzblockers:
      
      - Compute pipelines never freed at runtime, leaking memory #2564
        https://github.com/gfx-rs/wgpu/issues/2564
      
      - Device::drop doesn't actually free the device when using backend::direct::Context #2563
        https://github.com/gfx-rs/wgpu/issues/2563
      
      The Firefox sources also needed some adjustments to catch up with
      upstream changes:
      
      - The C type `mozilla::webgpu::ffi::WGPUTextureFormat` is now a struct
        containing a tag enum and a union, not just an enum. This is needed
        for [gfx-rs/wgpu#2477](https://github.com/gfx-rs/wgpu/pull/2477).
      
        (Note that Firefox's `WebGPU.webidl` is behind the current spec,
        so even though the newest ASTC texture formats are supported in `wgpu`,
        they're not available in Firefox yet.)
      
      - `wgpu` got a new feature, `id32`, which cbindgen needed to be told
        about so that it would generate preprocessor-protected code like
        this:
      
            #if defined(WGPU_FEATURE_ID32)
            typedef uint32_t WGPUNonZeroId;
            #endif
      
            #if !defined(WGPU_FEATURE_ID32)
            typedef uint64_t WGPUNonZeroId;
            #endif
      
        instead of just spitting out two conflicting definitions of
        `WGPUNonZeroId`.
      
      - The `wgpu_core::hub::IdentityHandlerFactory` trait's `spawn` method
        no longer takes a `min_index` argument. (Our implementations of that
        trait never used that argument anyway, so this was easy to
        accommodate.)
      
      Differential Revision: https://phabricator.services.mozilla.com/D142779
      8075da04
  13. Mar 30, 2022
  14. Apr 14, 2022
  15. Mar 29, 2022
  16. Mar 25, 2022
  17. Mar 23, 2022
  18. Mar 10, 2022
  19. Mar 01, 2022
  20. Feb 10, 2022
  21. Jan 31, 2022
  22. Jan 26, 2022
  23. Jan 14, 2022
  24. Jan 12, 2022
  25. Jan 20, 2022
  26. Jan 07, 2022
  27. Jan 05, 2022
  28. Jan 03, 2022
  29. Dec 31, 2021
Loading