Connor Fitzgerald
a01ff0741c
Re-Enable Mac CI ( #5015 )
2024-01-08 16:12:57 -05:00
Nicolas Silva
c6eea50b04
Track the actual size of the buffer for memory init ( #5014 )
2024-01-08 17:24:09 +01:00
Patryk Wychowaniec
e7c7017d2e
[naga wgsl-in] Fix parsing break if
s
...
Closes https://github.com/gfx-rs/wgpu/issues/4982 .
2024-01-08 10:50:38 +01:00
Connor Fitzgerald
a2dced12b3
Disable naga-cli's docs
2024-01-08 08:48:13 +01:00
dependabot[bot]
1b6207b6d7
Bump libc from 0.2.151 to 0.2.152 ( #5010 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 00:06:25 -05:00
dependabot[bot]
ae72b64c21
Bump futures-lite from 2.1.0 to 2.2.0 ( #5011 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 00:06:10 -05:00
Rubens Brandão
0298198ab7
fix: get CONTEXT_PROFILE_MASK in invalid version ( #5007 )
2024-01-06 15:16:29 +00:00
dependabot[bot]
dd2b985690
Bump winit from 0.29.8 to 0.29.9 ( #5004 )
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.29.8 to 0.29.9.
- [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.29.8...v0.29.9 )
---
updated-dependencies:
- dependency-name: winit
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>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-01-06 09:56:44 -05:00
dependabot[bot]
0005b42648
Bump serde from 1.0.194 to 1.0.195 ( #5005 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.194 to 1.0.195.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.194...v1.0.195 )
---
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>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-01-06 09:56:06 -05:00
Nicolas Silva
8358868526
Propagate errors when openning/closing a command encoder ( #4999 )
2024-01-06 10:14:38 +01:00
Connor Fitzgerald
5e06baf80d
Pin nightly docs version
2024-01-06 09:41:15 +01:00
Nicolas Silva
4b82121501
Snatch the raw texture when destroying it
2024-01-05 11:42:28 +01:00
Nicolas Silva
95c451a3b8
Check thata bindgroup's textures are not destroyed before using it
2024-01-05 11:42:28 +01:00
Nicolas Silva
defd43dff2
Rename Texture::as_raw into Texture::raw
...
For consistency with Buffer::raw.
2024-01-05 11:27:17 +01:00
Nicolas Silva
bfe235a295
Put raw texture access behind snatch guards
2024-01-05 11:27:17 +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
dependabot[bot]
f162cfa0f8
Bump gpu-allocator from 0.24.0 to 0.25.0 ( #4992 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 22:12:25 -05:00
dependabot[bot]
07290c53b3
Bump serde_json from 1.0.110 to 1.0.111 ( #4993 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 22:11:51 -05:00
dependabot[bot]
ce80b693b1
Bump syn from 2.0.47 to 2.0.48 ( #4994 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 22:11:40 -05:00
Nick
00cf05c1d0
Fix Queue::write_texture, Fix DX12 write_texture_subset_2d and re-enable the test. ( #4990 )
2024-01-04 19:50:41 -05:00
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