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
dependabot[bot]
e0f83dc38c
Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0 ( #4798 )
...
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action ) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases )
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.4.3...v4.5.0 )
---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
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>
2023-11-29 02:02:55 -05:00
Connor Fitzgerald
7a37229630
Revamp Examples to Match Website ( #4765 )
...
* Revamp examples to match website
* Small fixes
* Fix stencil_triangles on resize
* Fix
* Fix everything
2023-11-25 17:20:11 -05:00
Connor Fitzgerald
dfa7e2f8fb
Fix publish script
2023-11-04 22:11:34 -04:00
TornaxO7
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
dependabot[bot]
b8b93042c2
Bump actions/checkout from 3 to 4 ( #4570 )
...
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-10-26 03:01:01 +00:00
Connor Fitzgerald
34e947de4b
Integration of Naga into Repo ( #4296 )
2023-10-25 16:51:36 -04:00
Connor Fitzgerald
2b90f7df80
Fix doc build
2023-10-23 21:53:39 -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
Leo Kettmeir
d0a7f46e3a
update deno and spec ( #4143 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-04 04:25:56 +00: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 Blandy
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]
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
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
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
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
Connor Fitzgerald
80b178fa56
Bumps wasm-bindgen version ( #3854 )
...
* Bumps wasm-bindgen version
* Always run the publish job, just don't publish on PR
* Pin wasm-bindgen version when publishing
2023-06-10 18:29:16 -04:00
Connor 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 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 Fitzgerald
7bbccbe1d9
Self Hosted Mac Runner ( #3827 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-06-05 11:38:30 -04:00
dependabot[bot]
307f7acb6c
Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2 ( #3812 )
...
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
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-05-30 12:20:51 +02:00
Paul Hansen
28374fb1c8
Publish examples to wgpu.rs on updates to trunk branch instead of gecko ( #3750 )
2023-05-11 12:12:25 -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
Jim Blandy
b1d2ec043e
Don't try to build the entire workspace on wasm32. ( #3460 )
2023-02-07 21:56:00 +00:00
Jim Blandy
630c12fe47
Update publish.yml workflow's wasm-bindgen version to 0.2.83. ( #3351 )
...
In order to update wgpu.rs, the version of wasm-bindgen specified in
`.github/workflows/publish.yml` must exactly match that in the main
`Cargo.lock` file. This is currently 0.2.83.
2023-01-04 16:11:08 -08:00
Connor Fitzgerald
9670e9e6b9
Make sure all doctests and tests in wgpu-types run
2022-12-21 17:24:46 -05:00
Harald Reingruber
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
Samuel Hurel
d3e5789b95
Fix doc generation ( #3224 )
2022-11-23 16:59:59 -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
6e026c8c0a
style: EOF newline for ctx.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
i509VCB
d81cb46be0
enable doc_auto_cfg for docs.rs ( #3113 )
...
* enable doc_auto_cfg for docs.rs
This should expose more feature labels in the generated documentation and removes the needs for the manually labeling the features for a type, function or enum variants.
* enable docsrs cfg when building docs for master
2022-10-26 17:07:25 -04:00
Jinlei Li
cc448817e7
Use cargo 1.64 workspace inheritance feature ( #3107 )
2022-10-20 01:41:17 -04:00
Connor Fitzgerald
ce081796c8
Rework CI ( #3097 )
2022-10-14 22:55:36 -04:00
daxpedda
02cc2ae234
[BREAKING] Make Shader(Module)Source::Wgsl
optional ( #2890 )
2022-10-08 01:12:50 -04:00
char0313
d5f1941fea
Change msrv and ci
2022-10-07 18:16:23 -04:00
Jim Blandy
7d138e2e76
Avoid overflow in check texture copy bounds. ( #2963 )
2022-08-28 20:07:04 -04:00
Jim Blandy
228998ae0d
Update ci.yml from macos-10.15 to macos-11. ( #2940 )
2022-08-03 19:27:42 -04:00
Jim Blandy
18d053d5af
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.
2022-07-13 12:37:47 -04:00
Jinlei Li
048a420d82
Remove the default features from wgpu-info ( #2753 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2022-06-10 19:57:06 +00:00
Hiroaki Yutani
af259aa12a
Exclude dependencies from documents ( #2642 )
2022-05-04 17:35:45 -04:00
Jim Blandy
c226a10329
Specify an exact wasm-bindgen-cli version in publish.yml. ( #2624 )
...
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.76`, and our `Cargo.lock` says `0.2.78`, so
the latter is what `publish.yml` should mention.
2022-04-21 20:57:35 +00:00
Alphyr
d45e6b4119
Update ash
to 0.37
( #2557 )
2022-03-27 22:15:58 -07:00
Connor Fitzgerald
926bf848cf
hal/gles: Fix compressed texture stride calculations
2022-02-28 21:38:52 -08:00
Connor Fitzgerald
4e44288677
Install vulkan sdk on CI
2022-02-28 21:38:52 -08:00
Connor Fitzgerald
3841353f13
Re-enable GL tests in CI
2022-02-28 21:38:52 -08:00
Connor Fitzgerald
373cc61084
Use cargo nextest for running our tests ( #2495 )
2022-02-19 10:50:17 -05:00
Alexander Guryanov
b19000367c
feature: emscripten
2022-01-27 14:14:29 -05:00
Dzmitry Malyshau
043e36c59a
Test WebGPU backend with extra features
2022-01-06 12:48:40 -05:00
Lucas Kent
b88808b454
Replace run-wasm-example.sh with aliased rust crate (xtask)
2022-01-04 23:56:47 -05:00
Dzmitry Malyshau
873e83c54d
Publish WebGL examples
2021-12-11 17:26:45 -05:00
Dzmitry Malyshau
834eed75d0
Enable macOS and Linux AArch64 targets on CI
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
3c59d9ec15
Refactor test kinds on CI
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
cdf948b920
Fix and re-enable player tests
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
f03c45921e
Only run clippy on MSRV
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
668bea4cb2
Enforce MSRV
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
713f7fd7f2
Changelog update for 0.11
2021-10-07 19:15:49 -04:00
Zicklag
312828f12f
Implement WebGL2 Backend ( #1686 )
...
* Implement WebGL Backend
* Add WebGL Fixes by @mrk-its
* Update Limits for WASM and Examples
* Address Review Points
2021-10-07 16:18:09 -04:00
Dzmitry Malyshau
96ed52f4a7
Check Deno build on CI
2021-09-28 11:43:43 -04:00
Connor Fitzgerald
a3d4037fb5
Enable vulkan testing
2021-09-17 09:17:15 -04:00
Connor Fitzgerald
e0a6bffd5c
Revamp the readme
2021-09-15 14:46:01 -04:00
Connor Fitzgerald
a5e6e8f9cc
Split out CTS to its own workflow
2021-09-15 10:26:29 -04:00
Dzmitry Malyshau
c4c359a43d
Only run CTS check if 'needs testing' label is added
2021-09-14 14:41:47 -04:00
Connor Fitzgerald
7766ed194b
Improve CI testing code
2021-09-14 13:34:07 -04:00
Dzmitry Malyshau
bc91048216
Update cts to a44186d, enable blending tests
2021-09-14 09:11:29 -04:00
Dzmitry Malyshau
60142b56da
List CTS tests to run
2021-09-13 19:44:38 -04:00
Dzmitry Malyshau
bbb9968297
Enable WebGPU CTS on CI
2021-09-09 22:21:04 -04:00
Dzmitry Malyshau
ca6fd97c62
Codecoverage CI fix
2021-09-09 12:44:24 -04:00
Dzmitry Malyshau
9da5c1d3a0
Release v0.10 ( #1820 )
...
* Release v0.10
* hal/gles: update glow handles logic
2021-08-18 19:06:21 +00:00
Imbris
6ba30cbc0b
Run tests in the CI for all workspace members
2021-08-17 13:57:29 -04:00