Commit Graph
128 Commits
Author SHA1 Message Date
Nicolas Silva efb35d4fa1 Snatch bind groups associated with destroyed textures and buffers (#5136)
* Make bind groups snatchable

* Snatch bindgroups when destroying associated textures and buffers.
2024-01-25 05:11:43 +00:00
Lucas Kent e128d6c261 Error on missing web_sys_unstable_apis (#5104) 2024-01-21 03:36:29 +00:00
dependabot[bot]andAndreas Reich 6c86b55764 Bump Swatinem/rust-cache from 2.7.1 to 2.7.3 (#5060)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-01-16 11:37:27 -05:00
Andreas Reich 7774f31021 Allow WebGPU & WebGL in same wasm and detect WebGPU availability (#5044)
* Rename backends: web -> webgpu, direct -> wgpu_core

* rename context objects for web & core

* allow webgpu & webgl features side-by-side

* make sure webgl ci doesn't use webgpu

* update any_backend_feature_enabled

* add panicing generate_report method for compatibility

* RequestDeviceErrorKind::Web rename, fixup various cfg attributes

* automatic webgpu support detection

* changelog entry

* fix emscripten

* fix weird cfg, fix comment typo

* remove try_generate_report again

* Make get_mapped_range_as_array_buffer WebGPU only again
2024-01-14 09:45:52 +00:00
Connor Fitzgerald 5fd7d228ad Add proper timeouts to CI/nextest (#5051) 2024-01-13 12:26:55 +01:00
Connor Fitzgerald 2512b2dae1 Pin rust-cache-version (#5040) 2024-01-11 01:57:51 +00:00
Connor Fitzgerald f7695b360b Add test -> check Dependency (#5033) 2024-01-10 17:56:46 -05:00
Jim Blandy 8af6975d5e Prefer Arc::into_inner over Arc::try_unwrap. (#5018) 2024-01-08 19:24:33 -05:00
Connor Fitzgerald a01ff0741c Re-Enable Mac CI (#5015) 2024-01-08 16:12:57 -05:00
Connor Fitzgerald 5e06baf80d Pin nightly docs version 2024-01-06 09:41:15 +01:00
Connor Fitzgerald 2f87a8ff83 Update Rollup 2024-01-05 10:27:27 +01:00
Connor Fitzgerald 0b20427601 Add Verbosity Flags to wgpu-info (#4995) 2024-01-05 09:24:16 +01:00
Connor Fitzgerald 31d50af5ef Remove Mac CI (#4987) 2024-01-04 12:50:07 -05:00
Connor Fitzgerald ad23b450d6 Pin DXC and Vulkan SDK version (#4980) 2024-01-04 08:41:13 +00:00
Connor Fitzgerald b989e56874 Use Custom Mesa for Building (#4977) 2024-01-03 22:49:40 -05:00
Connor Fitzgerald 53ab2b00b2 Disable Linux Tests (#4957) 2024-01-02 14:10:53 -05:00
Connor Fitzgerald 090f2f757c Use nightly for docs (#4906) 2023-12-20 18:59:22 -05:00
Leo Kettmeir 41fb222726 update deno (#4801) 2023-11-30 15:29:30 +01:00
4c5a817071 Bump raw window handle to 0.6.0 (#4202)
Co-authored-by: junglie85 <junglie85@gmail.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-27 05:24:46 +00:00
Connor Fitzgerald ca7ac86ccd DXC on DX12 in CI (#4571) 2023-10-26 04:01:38 -04:00
Connor Fitzgerald 34e947de4b Integration of Naga into Repo (#4296) 2023-10-25 16:51:36 -04:00
Connor Fitzgerald bb00d594f8 Fix Issue with Caching on Windows CI (#4284) 2023-10-23 04:31:22 +00:00
Connor Fitzgerald 04ac5f2851 Update WARP and Install Mesa on Windows CI (#4270) 2023-10-22 00:34:00 -04:00
Connor Fitzgerald 543f921639 GPU Test Framework (#3873) 2023-10-19 12:06:42 -04:00
Connor Fitzgerald 93d2e5b4ba Split MSRV in Two Parts (#4204)
* Split MSRV in two parts

* Use toml

* Fix CI

* Update names and cache hits for various jobs

* Comment
2023-10-03 21:03:32 -04:00
dependabot[bot] 9591505af1 Bump actions/checkout from 3 to 4 (#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](https://github.com/actions/checkout/compare/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>
2023-09-05 15:27:38 +02:00
Jim BlandyandConnor Fitzgerald 54a7f0eac9 Skip test_multithreaded_compute on MoltenVK. (#4096)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-09-04 03:54:39 +00:00
dependabot[bot]andAndreas Reich 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
Connor Fitzgerald 311065100b Vulkan portability in CI (#3964) 2023-07-23 07:35:57 +00:00
daxpeddaandConnor Fitzgerald 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
Connor FitzgeraldandConnor Fitzgerald 10172e1f38 Move Examples and Tests to Their Own Crates (#3841)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-06-10 18:35:46 +00:00
Connor FitzgeraldandConnor Fitzgerald 173820222f Migrate to nv-flip for image comparison (#3830)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-06-08 11:48:06 -04:00
Leo Kettmeir 0ece5e6119 update deno (#3808) 2023-06-06 17:08:32 +02:00
Connor FitzgeraldandConnor Fitzgerald 7bbccbe1d9 Self Hosted Mac Runner (#3827)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-06-05 11:38:30 -04:00
Paul Hansen f173575427 Update CI to install wasm-pack from binary (#3754) 2023-05-07 06:08:50 +00:00
daxpedda 74303308cd Make crate features no-op on incompatible targets (#3466)
* Make crate features no-op on incompatible targets

* Remove `portable_features`

* Test `--all-features` in CI

* Make `renderdoc` no-op on WASM

* Address review
2023-02-21 13:50:55 +01:00
daxpedda e4445205c2 Remove emscripten crate features (#3467) 2023-02-15 21:46:00 +00:00
Teodor Tanasoaia 4bebad706e Improve CI (#3453) 2023-02-09 10:33:53 -05:00
Connor Fitzgerald f1ef213bbb Fix CI for merge queues 2023-02-08 19:52:25 -05:00
Connor Fitzgerald 9670e9e6b9 Make sure all doctests and tests in wgpu-types run 2022-12-21 17:24:46 -05:00
Harald ReingruberandConnor Fitzgerald f0f700c2d9 Test setup for WebAssembly+WebGL (#3238)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-12-09 01:02:39 +00:00
Jim Blandy a50836e0cb Make wgpu-core users responsible for choosing back ends. (#3254) 2022-12-07 20:58:45 -05:00
Erich Gubler 9bb2d28ce2 Add cargo-deny to CI (#3185) 2022-11-30 16:46:58 -05:00
Jim Blandy 9c6a60d97c Fix surface creation cfgs in example framework. (#3246) 2022-11-30 16:46:24 -05:00
Jim Blandy 73b23f1c8d Move minimum supported rust version (MSRV) from 1.65 back to 1.64. (#3231) 2022-11-23 21:22:03 +00:00
Erich Gubler 08b160c293 style: strip trailing whitespace from ci.yml 2022-11-07 17:36:04 -08:00
Erich Gubler 46af01c302 build: migrate Rust 1.64 -> 1.65 2022-11-07 17:36:04 -08:00
Erich Gubler 3d76979da6 build(ci): use RUST_VERSION for CTS consistently 2022-11-07 17:36:04 -08:00
Connor Fitzgerald c4533971c0 Struct Alignment Test (#3125) 2022-10-26 23:37:25 +00:00
Jinlei Li cc448817e7 Use cargo 1.64 workspace inheritance feature (#3107) 2022-10-20 01:41:17 -04:00