Commit Graph

4338 Commits

Author SHA1 Message Date
dependabot[bot]
95f2ca7f54 Bump serde from 1.0.174 to 1.0.175 (#3973)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.174 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175)

---
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>
2023-07-25 10:10:41 +02:00
dependabot[bot]
a7798f2f8a Bump thiserror from 1.0.43 to 1.0.44 (#3969)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44)

---
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>
2023-07-24 08:55:47 +02:00
dependabot[bot]
7b7626487a Bump serde from 1.0.173 to 1.0.174 (#3968)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.173 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.174)

---
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>
2023-07-24 08:55:36 +02:00
dependabot[bot]
b9ecc8cd02 Bump winit from 0.27.5 to 0.28.0 (#3950)
* Bump winit from 0.27.5 to 0.28.0

Bumps [winit](https://github.com/rust-windowing/winit) from 0.27.5 to 0.28.0.
- [Release notes](https://github.com/rust-windowing/winit/releases)
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-windowing/winit/compare/v0.27.5...v0.28.0)

---
updated-dependencies:
- dependency-name: winit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* no longer check samples for emscripten target

* set native activity for Android

* fix using workspace for wgpu-hal

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2023-07-23 22:43:11 +00:00
Bruce Mitchener
2a77bbd80d Fix some typos. (#3965) 2023-07-23 08:15:20 +00:00
Ali
b93dc7c69a Fixed: enabling PARTIALLY_BOUND_BINDING_ARRAY does not get enabled on vulkan backend (#3772) 2023-07-23 07:37:59 +00:00
Connor Fitzgerald
311065100b Vulkan portability in CI (#3964) 2023-07-23 07:35:57 +00:00
Schell Carl Scivally
8417eff6bc fix: vulkan only uses robust_*_access2 if the driver supports it (#3962) 2023-07-22 23:52:44 -04:00
Jinlei Li
9b10afd6b8 Fix the error when running the example with cargo xtask run-wasm --bin (#3963) 2023-07-22 23:10:40 -04:00
Schell Carl Scivally
8927077645 fix: macOS - added portability bit and extension when creating vulkan instance (#3958)
* fix: added portability bit and extension when creating vulkan instance

* fmt
2023-07-22 10:35:28 +02:00
Small White
ac9ac8bcae Updated documentation to clarify dx12compiler usage. (#3957) 2023-07-21 17:50:25 +00:00
Connor Fitzgerald
21098cdace Add note about wgpu-info to changelog wgpu-core-v0.17.0 wgpu-v0.17.0 wgpu-info-v0.17.0 v0.17.0 wgpu-hal-v0.17.0 wgpu-types-v0.17.0 2023-07-20 23:15:51 -04:00
Connor Fitzgerald
493ff2e564 Bump wgpu versions 2023-07-20 23:14:11 -04:00
Connor Fitzgerald
bdb98b1916 Chaneglog update 2023-07-20 23:14:11 -04:00
dependabot[bot]
14892f0955 Bump num-traits from 0.2.15 to 0.2.16 (#3955)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 22:40:49 -04:00
Nicolas Silva
4ab9dbea8f Update max_bindings_per_bind_group from 640 to 1000 to reflect spec (#3942)
* Update max_bindings_per_bind_group from 640 to 1000 to reflect change in the spec.

* Add changelog entry.
2023-07-20 10:02:59 -04:00
Connor Fitzgerald
f1381233fb Update dependencies (#3952) 2023-07-19 21:29:10 -04:00
Connor Fitzgerald
bd159ed57b Fix mipmap example with queries (#3951) 2023-07-20 00:28:18 +00:00
dependabot[bot]
cffee85add Bump core-graphics-types from 0.1.1 to 0.1.2 (#3948)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 20:11:16 -04:00
dependabot[bot]
95cfd83f1e Bump smallvec from 1.10.0 to 1.11.0 (#3946)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 20:11:04 -04:00
dependabot[bot]
1eb8497759 Bump anyhow from 1.0.71 to 1.0.72 (#3949)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 20:10:57 -04:00
amfaber
a60efbde96 Expose TextureUsages in SurfaceCapabilities (#3874)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-07-19 22:57:41 +00:00
Connor Fitzgerald
2602553355 Skip multithreaded compute test (#3945) 2023-07-19 18:01:04 -04:00
Nicolas Silva
64bf58a056 Add a basic test for mismatched devices (#3926) 2023-07-19 17:51:42 -04:00
artyomd
11b8dbbea3 Add tests for scissors (#3877) 2023-07-19 21:48:23 +00:00
Jinlei Li
d089b9488b Ignore the exception values generated by the winit resize event (#3916) 2023-07-19 17:07:48 -04:00
Aaron Hill
fd5550cc89 Make RequestAdapterOptions.power_preference optional (#3903)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-07-19 21:04:31 +00:00
dependabot[bot]
db87ee8f20 Bump js-sys from 0.3.63 to 0.3.64 (#3861)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-07-19 16:30:14 -04:00
Erich Gubler
c062e18858 Update max_bindings_per_bind_group default to 1000 (#3943) 2023-07-19 16:19:26 -04:00
Erich Gubler
7f1515f9bf chore(dx12): resolve warnings and errors when dx11 is not specified (#3937) 2023-07-19 16:15:35 -04:00
dependabot[bot]
7ae2fad9bf Bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3 (#3923)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 16:06:24 -04:00
Connor Fitzgerald
8e216b4cba Fix panic on surface creation (#3941) 2023-07-19 16:13:07 +00:00
Jeff Muizelaar
1161a22f4f Port to d3d12 0.7 with ownership
This replaces the WeakPtr usage with ComPtr which is no longer
Copy. This means we need to do a bunch of clone()s and take some
things as references.
2023-07-18 14:10:37 -07:00
Nicolas Silva
80d19d890c Update naga to 0.12.0@git:409239c0e2313bfd0dc4fd64f8c3021185ccef1b (#3935) 2023-07-18 13:25:48 +02:00
Ashley
e4eb5b38ec Fix ASTC feature selection in the webgl backend (#3934)
* Update glow to a new minor version, improve gles adapter astc feature selection
* Update Cargo.lock
* Add changelog entry
* Improve cfg flags to filter out emscripten
2023-07-17 14:40:53 +02:00
Nicolas Silva
7198d60f68 Validate that BufferDescriptor::usage is not zero (#3928)
* Validate that BufferDescriptor::usage is not zero.

* Add a changelog entry.
2023-07-14 22:41:34 +02:00
Nicolas Silva
fe9aa681fe Run cargo check to pick up bitflags 2.3.2 (#3929)
It annoyingly gets added in all pull requests as soon as anyone builds or has rustanalyzer running.
2023-07-14 08:08:40 +00:00
Wez Furlong
2af6d1bc63 Ensure X11 connections are closed (#3924)
Introduces a DisplayOwner struct to own both the library
and associated display pointer; their lifetimes are combined
in that struct.

The display pointer is encapsulated in a DisplayRef.

When DisplayOwner is dropped, it ensures that the DisplayRef
is correctly closed prior to unloading the library.

refs: https://github.com/gfx-rs/wgpu/issues/3813
2023-07-13 12:32:18 +02:00
Fredrik Fornwall
89f721f882 Make initialize_adapter_from_env take a compatible surface (#3905)
* Make initialize_adapter_from_env take a compatible surface

Add a compatible surface parameter to initialize_adapter_from_env, and
use that to make initialize_adapter_from_env_or_default always respect
its compatible_surface parameter.

---------

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2023-07-10 09:27:02 +02:00
Connor Fitzgerald
a885840a49 Update changelog for 0.16.2 (#3917) 2023-07-09 05:20:11 +00:00
AdrianEddy
e85cc91b5d Add support for importing external buffers (#3355) 2023-07-07 18:00:08 -04:00
Xiaopeng Li
9ab44e6ff6 Expose egl_config (#3907) 2023-07-07 17:55:47 -04:00
Fredrik Fornwall
234dea18c4 Fix link to GPUVertexBufferLayout
Fixes #3342.
2023-07-05 20:08:22 -02:30
Fredrik Fornwall
1c43272d2a Remove backend_bits from initialize_adapter_from_env (#3904)
Remove backend_bits from initialize_adapter_from_env, backends can
be specified using the backends field in InstanceDescriptor instead.
2023-07-05 18:21:39 +02:00
Fredrik Fornwall
17143c149c Make shader write&read storage buffers match non readonly layouts (#3893) 2023-06-29 22:30:34 +00:00
daxpedda
88f18ed190 Don't implement Send or Sync on Wasm (#3691)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-06-29 20:31:18 +00:00
AlbinBernhardssonARM
7c34cc86e8 Implement depth-clip-control using depthClamp (#3892) 2023-06-29 16:15:21 -04:00
Divy Srivastava
6158692654 Add Quartzcore behind link feature flag (#3897) 2023-06-29 12:07:30 +02:00
Leo Kettmeir
973cd3ebf8 feat: add link feature (#3853) 2023-06-28 12:30:28 +02:00
Jinlei Li
757245cdfc metal: support (simulated) visionOS (#3883) 2023-06-23 19:31:35 -04:00