Connor Fitzgerald
31d50af5ef
Remove Mac CI ( #4987 )
2024-01-04 12:50:07 -05:00
Valaphee The Meerkat
7c21e605fb
gles: use already existing debug__fn private capabilty instead of checking extensions ( #4974 )
2024-01-04 09:48:28 +01:00
Connor Fitzgerald
ad23b450d6
Pin DXC and Vulkan SDK version ( #4980 )
2024-01-04 08:41:13 +00:00
Connor Fitzgerald
d96d953025
Shorten Lock Lifetimes ( #4976 )
2024-01-04 09:24:54 +01:00
Ian Douglas Scott
771f64917c
wgpu-hal: Fix Mesa version check for version with suffix containing . ( #4959 )
...
On Pop!_OS we have versions like
`Mesa 23.3.0-1pop0~1702935939~22.04~67e417a`. This failed to parse here
since it tried to split at the `.` in the suffix.
Not sure if other distros use a suffix with a `.`, but splitting from
the left and comparing as a tuple instead of a float seems cleaner
overall.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-01-04 07:22:33 +00:00
dependabot[bot]
4431114ddf
Bump serde_json from 1.0.108 to 1.0.110 ( #4981 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.108 to 1.0.110.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.110 )
---
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>
2024-01-04 02:07:51 -05:00
Connor Fitzgerald
b989e56874
Use Custom Mesa for Building ( #4977 )
2024-01-03 22:49:40 -05:00
dependabot[bot]
ad37e923e8
Bump syn from 2.0.46 to 2.0.47 ( #4979 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 21:54:37 -05:00
dependabot[bot]
cef6a0c0cf
Bump thiserror from 1.0.52 to 1.0.56 ( #4978 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 21:54:23 -05:00
dependabot[bot]
57d09b101f
Bump anyhow from 1.0.78 to 1.0.79 ( #4966 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-01-03 22:32:48 +00:00
Connor Fitzgerald
fd37dbfae9
Fix hang in multithreaded test ( #4975 )
2024-01-03 23:05:35 +01:00
dependabot[bot]
d03e2907d5
Bump serde from 1.0.193 to 1.0.194 ( #4965 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 14:43:34 -05:00
John-John Tedro
71762a590c
Avoid allocating during queue submit ( #4947 )
2024-01-03 19:39:15 +01:00
Teodor Tanasoaia
6fdec5cc6b
[gl] fix RGBA8 format capabilities ( #4968 )
...
- `Rgba8UnormSrgb` can't be used as a storage texture
- `Rgba8Snorm` can be used as a storage texture
2024-01-03 12:14:15 +01:00
teoxoy
b47d4924a8
[glsl-in] fix swizzle in a global const context
2024-01-03 11:34:10 +01:00
Lucas Kent
a0c2b25829
Fix xtask wasm-bindgen install ( #4944 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-01-02 17:12:22 -05:00
dependabot[bot]
d7db4e5ef0
Bump winit from 0.29.6 to 0.29.8 ( #4948 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-01-02 16:44:43 -05:00
Martin Vilcans
8e0b715954
hello_compute: check for missing command-line args ( #4939 )
...
* hello_compute: check for missing command-line args
Fixes off-by-one error when checking for missing arguments.
Before this, running the example gave this scary looking error message:
```
$ cargo run --bin wgpu-examples hello_compute
Finished dev [unoptimized + debuginfo] target(s) in 0.13s
Running `target/debug/wgpu-examples hello_compute`
[2023-12-27T22:14:26Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_bind_group
Buffer binding size 0 is less than minimum 4
note: buffer = `Storage Buffer`
', wgpu/src/backend/direct.rs:3139:5
```
As this was the first example I tried to run, it almost scared me
away, thinking it was a driver issue.
Instead, without arguments the example should use defaults.
* Add PR #4939 to changelog as instructed
2024-01-02 21:08:41 +00:00
daxpedda
f004a9def9
Add cfg_aliases to wgpu ( #4935 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-01-02 16:05:51 -05:00
Nathan Adams
ec920e85d1
Fix incorrect ConfigureSurfaceError::TooLarge message ( #4960 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-01-02 15:32:51 -05:00
Connor Fitzgerald
53ab2b00b2
Disable Linux Tests ( #4957 )
2024-01-02 14:10:53 -05:00
dependabot[bot]
bcaf46d7c9
Bump anyhow from 1.0.77 to 1.0.78 ( #4950 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.77 to 1.0.78.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.77...1.0.78 )
---
updated-dependencies:
- dependency-name: anyhow
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>
2024-01-02 14:00:25 -05:00
Nathan Adams
aa48558e3f
Change examples page menu on smaller screens ( #4958 )
2024-01-02 13:27:39 -05:00
Connor Fitzgerald
e26a853654
BGL Weak Pointer Deduplication Pool ( #4927 )
...
* Ho boy
* BGL pool finished
* Remove id32 feature
* Add BGL Test
* Iteration
* Working Dedupe
* Tests
* Iteration
* Re-iteration
* Hash Cleanup
* Add large slew of tests
* Whoops
2024-01-02 09:27:22 -05:00
dependabot[bot]
46757372cc
Bump syn from 2.0.42 to 2.0.43 ( #4932 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.42 to 2.0.43.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.42...2.0.43 )
---
updated-dependencies:
- dependency-name: syn
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-12-28 14:04:44 +01:00
dependabot[bot]
430fc0b3a8
Bump thiserror from 1.0.51 to 1.0.52 ( #4933 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.52 )
---
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-12-28 14:04:20 +01:00
dependabot[bot]
377e5092c2
Bump anyhow from 1.0.76 to 1.0.77 ( #4936 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.76 to 1.0.77.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.76...1.0.77 )
---
updated-dependencies:
- dependency-name: anyhow
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-12-28 14:03:58 +01:00
Divy Srivastava
92d494e4b1
Align wgpu_types::CompositeAlphaMode serde serializations to spec ( #4940 )
...
* Align wgpu_types::CompositeAlphaMode serde serializations to spec
* add changelog
2023-12-28 05:10:16 -05:00
Erich Gubler
e45a86fa7c
[naga xtask] Add and use ValidateSubcommand::all.
...
Add an `all` method to `ValidateSubcommand`, so that we can just use
matches elsewhere, and let the compile catch missing or duplicated
cases for us.
2023-12-27 13:07:09 -08:00
Jim Blandy
71f18fd61a
[naga xtask] Use anyhow::ensure! where appropriate.
2023-12-27 13:07:09 -08:00
Jim Blandy
3e252ac2f3
[naga xtask] Use log::error in preference to eprintln.
2023-12-27 13:07:09 -08:00
Jim Blandy
de3df51807
[naga xtask] Add validate all subcommand.
2023-12-27 13:07:09 -08:00
Jim Blandy
403db446e4
[naga xtask] Run validation jobs in parallel, using jobserver.
2023-12-27 13:07:09 -08:00
Jim Blandy
85ab6327d3
[naga xtask] Use indicatif crate to report validation progress.
2023-12-27 13:07:09 -08:00
Jim Blandy
a1a8b6d445
[naga xtask] Remove ack_visiting function.
2023-12-27 13:07:09 -08:00
Jim Blandy
0d25acba68
[naga xtask] Collect validation jobs in a Vec before running them.
2023-12-27 13:07:09 -08:00
Jim Blandy
17a9166c26
[naga xtask] Produce output only when an error occurs.
2023-12-27 13:07:09 -08:00
Jim Blandy
41276a1731
[naga xtask] Break validation subcommands into functions.
2023-12-27 13:07:09 -08:00
Jim Blandy
9041bb94db
[naga xtask] Move validation subcommands into their own module.
2023-12-27 13:07:09 -08:00
dependabot[bot]
d7296ac30b
Bump web-time from 0.2.3 to 0.2.4 ( #4929 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 03:41:32 +00:00
dependabot[bot]
085141149b
Bump winit from 0.29.5 to 0.29.6 ( #4930 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-24 22:28:37 -05:00
Jim Blandy
9afd54ea24
[naga xtask] Use naga-cli's --bulk-validate option.
...
Use `naga --bulk-validate` for `cargo xtask validate wgsl`, reducing
runtime from 12s to 0.8s.
2023-12-24 12:03:28 -08:00
Jim Blandy
9013e226c3
[naga-cli] Add --bulk-validate option.
2023-12-24 12:03:28 -08:00
Jim Blandy
79a6a4b0d2
[naga-cli] Abstract out parsing of input file.
2023-12-24 12:03:28 -08:00
Erich Gubler
e1baa5a56e
docs: inline document-features usage, remove dep.
...
Re-implements https://github.com/gfx-rs/wgpu/pull/4886 (CC @Wumpf)
without the `document-features` crate, which has issues integrating into
Firefox builds after being `cargo vendor`ed into its repository. This
issue is being tracked against
https://github.com/slint-ui/document-features/issues/20 . Once resolved,
I expect that we will want to revert this PR in its entirety, since
`document-features` is still a good addition to `wgpu`'s documentation
story.
Internally, consensus has already been achieved for this change.
Firefox's ability to build unfortunately take priority over this
particular convenience. Hopefully, we won't have to compromise shortly!
I tested this by ensuring that the HTML output of our existing
`document_features::document_features!(…)` usage was exactly the same.
There should be exactly zero regressions in the current state of
documentation for users. For maintainers, I have added a disclaimer that
one needs to keep changes in sync. with the relevant `Cargo.toml`
manifests.
2023-12-22 14:31:12 -05:00
dependabot[bot]
c97b351b83
Bump winit from 0.29.4 to 0.29.5 ( #4922 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 23:19:32 -05:00
Andrew Farkas
2993650ede
Fix typo "layout pipeline layout" -> "pipeline layout" ( #4921 )
2023-12-22 01:02:41 +00:00
Connor Fitzgerald
79e5169255
Add BGL Deduplication Index Test ( #4914 )
2023-12-21 12:16:20 -05:00
Connor Fitzgerald
87ecc089dd
Remove id32 feature
2023-12-20 21:39:24 -08:00
dependabot[bot]
d9784aca8e
Bump anyhow from 1.0.75 to 1.0.76 ( #4910 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 03:00:44 +00:00