Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device valid #4163

Merged
merged 45 commits into from
Sep 27, 2023
Merged

Device valid #4163

merged 45 commits into from
Sep 27, 2023

Commits on Sep 11, 2023

  1. Implement Device validity, and make it invalid when Device is lost.

    This tracks Device validity explicity, but it could be changed to instead
    change Device Storage to Error when the Device is invalid. This also could
    go further with standardizing the error reporting for an invalid Device.
    bradwerth committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    fff56b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Implement device validity, and make it invalid when device is lost.

    This tracks device validity explicitly, and short-circuits almost all
    operations on devices when they are invalid. This doesn't replace the
    storage of the device with an Error, because it's important for
    poll_devices to be able to monitor the devices (even if invalid) for
    emptiness so they can be cleaned up.
    bradwerth committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    0d4825c View commit details
    Browse the repository at this point in the history
  2. Fixup merge.

    bradwerth committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    dfb34f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    2887ad6 View commit details
    Browse the repository at this point in the history
  2. Bump profiling from 1.0.9 to 1.0.10 (gfx-rs#4102)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    74bbc7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    451dfeb View commit details
    Browse the repository at this point in the history
  4. Add details to InstanceError and CreateSurfaceError. (gfx-rs#4066)

    Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
    2 people authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    8fc3eb5 View commit details
    Browse the repository at this point in the history
  5. Skip test_multithreaded_compute on MoltenVK. (gfx-rs#4096)

    Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
    2 people authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    8fc8962 View commit details
    Browse the repository at this point in the history
  6. Bump thiserror from 1.0.47 to 1.0.48 (gfx-rs#4112)

    Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 1.0.48.
    - [Release notes](https://github.com/dtolnay/thiserror/releases)
    - [Commits](dtolnay/thiserror@1.0.47...1.0.48)
    
    ---
    updated-dependencies:
    - dependency-name: thiserror
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    fef6235 View commit details
    Browse the repository at this point in the history
  7. Bump serde from 1.0.186 to 1.0.188 (gfx-rs#4091)

    Bumps [serde](https://github.com/serde-rs/serde) from 1.0.186 to 1.0.188.
    - [Release notes](https://github.com/serde-rs/serde/releases)
    - [Commits](serde-rs/serde@v1.0.186...v1.0.188)
    
    ---
    updated-dependencies:
    - dependency-name: serde
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    cc0135e View commit details
    Browse the repository at this point in the history
  8. Bump actions/checkout from 3 to 4 (gfx-rs#4117)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    dbf82b7 View commit details
    Browse the repository at this point in the history
  9. hal/vulkan: Instance::required_extensions -> desired_extensions (g…

    …fx-rs#4115)
    
    Rename `wgpu_hal::vulkan::Instance::required_extensions` to
    `desired_extensions`, to match its behavior. Document the function to
    clarify its role.
    jimblandy authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    cdcf934 View commit details
    Browse the repository at this point in the history
  10. Enable vulkan presentation on Intel Mesa >= v21.2 (gfx-rs#4110)

    Due to an issue with Mesa versions less than 21.2 presentation on Vulkan
    was forced to Nvidia only. This in itself brought new issues around the
    Nvidia driver specfic format modifers.
    
    As of Mesa 21.2 the Intel vulkan issue is fixed. This commit enables
    presentation on versions 21.2 and above for Intel.
    
    References:
    - NVIDIA/egl-wayland#72
    
    Closes [gfx-rs#4101](gfx-rs#4101)
    flukejones authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    bbb3cd9 View commit details
    Browse the repository at this point in the history
  11. wgpu_core: Add logging to Instance::new.

    For each backend `blah`, log::debug/trace whether we were able to
    populate `Instance::blah`.
    jimblandy authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    7c47c49 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1acf857 View commit details
    Browse the repository at this point in the history
  13. Bump bytemuck from 1.13.1 to 1.14.0 (gfx-rs#4123)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    6ac37a5 View commit details
    Browse the repository at this point in the history
  14. Update naga to 0.13.0@git:cc87b8f9eb30bb55d0735b89d3df3e099e1a6e7c (g…

    …fx-rs#4130)
    
    Co-authored-by: Nicolas Silva <nical@fastnmail.com>
    2 people authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    8c75d36 View commit details
    Browse the repository at this point in the history
  15. Bump serde_json from 1.0.105 to 1.0.106 (gfx-rs#4129)

    Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.105 to 1.0.106.
    - [Release notes](https://github.com/serde-rs/json/releases)
    - [Commits](serde-rs/json@v1.0.105...v1.0.106)
    
    ---
    updated-dependencies:
    - dependency-name: serde_json
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    bcf544d View commit details
    Browse the repository at this point in the history
  16. Print errors in a more readable format in the player. (gfx-rs#4137)

    Co-authored-by: Nicolas Silva <nical@fastnmail.com>
    2 people authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    118b7e6 View commit details
    Browse the repository at this point in the history
  17. Workaround NV bug (gfx-rs#4132)

    cwfitzgerald authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    cd3e1f3 View commit details
    Browse the repository at this point in the history
  18. Bump serde_json from 1.0.106 to 1.0.107 (gfx-rs#4133)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    e8b839d View commit details
    Browse the repository at this point in the history
  19. Bump libc from 0.2.147 to 0.2.148 (gfx-rs#4134)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    eede6bd View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2f5dc46 View commit details
    Browse the repository at this point in the history
  21. Metal encoder & pass timestamp support (gfx-rs#4008)

    Implements timer queries via write_timestamp on Metal for encoders (whenever timer queries are available) and passes (for Intel/AMD GPUs, where we should advertise TIMESTAMP_QUERY_INSIDE_PASSES now).
    
    Due to some bugs in Metal this was a lot harder than expected. I believe the solution is close to optimal with the current restrictions in place. For details see code comments.
    Wumpf authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    2003dd9 View commit details
    Browse the repository at this point in the history
  22. Tests for wgpu#4139. (gfx-rs#4148)

    jimblandy authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    118359a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4dbff2e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    36a21e4 View commit details
    Browse the repository at this point in the history
  25. Make StoreOp an enum instead of a bool (gfx-rs#4147)

    Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
    2 people authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    573fdee View commit details
    Browse the repository at this point in the history
  26. Bump profiling from 1.0.10 to 1.0.11 (gfx-rs#4153)

    Bumps [profiling](https://github.com/aclysma/profiling) from 1.0.10 to 1.0.11.
    - [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/aclysma/profiling/commits)
    
    ---
    updated-dependencies:
    - dependency-name: profiling
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    c377399 View commit details
    Browse the repository at this point in the history
  27. Bump termcolor from 1.2.0 to 1.3.0 (gfx-rs#4152)

    Bumps [termcolor](https://github.com/BurntSushi/termcolor) from 1.2.0 to 1.3.0.
    - [Commits](BurntSushi/termcolor@1.2.0...1.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: termcolor
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    db408aa View commit details
    Browse the repository at this point in the history
  28. Support dual source blending (gfx-rs#4022)

    Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
    2 people authored and bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    17114ff View commit details
    Browse the repository at this point in the history
  29. Implement device validity, and make it invalid when device is lost.

    This tracks device validity explicitly, and short-circuits almost all
    operations on devices when they are invalid. This doesn't replace the
    storage of the device with an Error, because it's important for
    poll_devices to be able to monitor the devices (even if invalid) for
    emptiness so they can be cleaned up.
    bradwerth committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    3659bb5 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ef12c6a View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    4b6d4b5 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md.

    bradwerth committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    2ea06be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba05653 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f0ec42 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a4a5403 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e1f3d7c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2feef8f View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    084d036 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b756739 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Configuration menu
    Copy the full SHA
    48b2812 View commit details
    Browse the repository at this point in the history
  2. Restore config.toml.

    bradwerth committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    166549c View commit details
    Browse the repository at this point in the history
  3. rustfmt device.rs.

    bradwerth committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    835a733 View commit details
    Browse the repository at this point in the history