dependabot[bot]
406119ff71
Bump env_logger from 0.10.0 to 0.10.1 ( #4674 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 10:14:42 -05:00
Westerbly Snaydley
2e7fd75712
vk: Enable FifoRelaxed PresentMode ( #4666 )
2023-11-10 17:09:42 +00:00
dependabot[bot]
951ba61300
Bump tokio from 1.33.0 to 1.34.0 ( #4663 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.0 )
---
updated-dependencies:
- dependency-name: tokio
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-10 17:00:16 +01:00
dependabot[bot]
ae48566f25
Bump smallvec from 1.11.1 to 1.11.2 ( #4664 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: smallvec
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-11-10 16:59:46 +01:00
Nicolas Silva
890825f395
Don't drop command buffers when submitting in wgpu_core ( #4660 )
...
Since wgpu's submit API consumes command buffers, they are dropped when submitting via wgpu but not when when using wgpu_core.
2023-11-09 19:00:23 +01:00
Nicolas Silva
1dc5347b14
Better handle destroying textures and buffers ( #4657 )
...
* Better handle destroying textures and buffers
Before this commit, explicitly destroying a texture or a buffer (without dropping it)
schedules the asynchronous destruction of its raw resources but does not actually mark
it as destroyed. This can cause some incorrect behavior, for example mapping a buffer
after destroying it does not cause a validation error (and later panics due to the
map callback being dropped without being called).
This Commit adds `Storage::take_and_mark_destroyed` for use in `destroy` methods.
Since it puts the resource in the error state, other methods properly catch that
the resource is no longer usable when attempting to access it and raise validation
errors.
There are other resource types that require similar treatment and will be addressed
in followup work.
* Add a changelog entry
2023-11-09 15:48:06 +01:00
Brad Werth
4e65eca1e8
More complete implementation of "lose the device". ( #4645 )
...
* More complete implementation of "lose the device".
This provides a way for wgpu-core to specify a callback on "lose the
device". It ensures this callback is called at the appropriate times:
either after device.destroy has empty queues, or on demand from
device.lose.
A test has been added to device.rs.
* Updated CHANGELOG.md.
* Fix conversion to *const c_char.
* Use an allow lint to permit trivial_casts.
* rustfmt changes.
2023-11-08 22:22:18 +01:00
dependabot[bot]
5f79800244
Bump getrandom from 0.2.10 to 0.2.11 ( #4651 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.10 to 0.2.11.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11 )
---
updated-dependencies:
- dependency-name: getrandom
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-11-08 09:47:18 +01:00
dependabot[bot]
01cb63c758
Bump serde from 1.0.191 to 1.0.192 ( #4652 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.191 to 1.0.192.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.191...v1.0.192 )
---
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-11-08 09:46:47 +01:00
dependabot[bot]
ba3d6898f1
Bump serde from 1.0.190 to 1.0.191 ( #4646 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.190 to 1.0.191.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.191 )
---
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-11-07 12:12:05 +01:00
Brad Werth
7aaf672576
Ensure that pipeline creation errors register layouts as errors also ( #4624 )
...
Since the pipeline id is provided by the caller, the caller may presume
that an implicit pipeline layout id is also created, even in error
conditions such as with an invalid device. Since our registry system
will panic if asked to retrieve a pipeline layout id that has never been
registered, it's dangerous to leave that id unregistered. This ensures
that the layout ids also get error values when the pipeline creation
returns an error.
2023-11-06 15:53:31 -05:00
Teodor Tanasoaia
1d4fa812ef
Gate usage of metal::ComputePassDescriptor
on timestamp query support ( #4643 )
2023-11-06 14:30:04 +00:00
Teodor Tanasoaia
261cb7c27d
Check if source
is empty when constructing hal::DebugSource
2023-11-06 14:32:29 +01:00
Connor Fitzgerald
7f72c9fc3b
Fix GL Push Constant Layout ( #4607 )
...
* It verks!
* More tests
* Fixes
* Working multi-stage push constants
* Comments
* Add push constant partial update teste
* Docs
* Update Cargo.toml
* Comments
2023-11-06 07:58:26 -05:00
Jim Blandy
267bd488d3
[naga wgsl-in] Introduce Scalar
type.
...
Introduce a new struct `Scalar`, holding a scalar kind and width, and
use it as appropriate in the WGSL front end. This consolidates
many (kind, width) pairs, and lets us name the two components.
Ideally, `Scalar` would be used throughout Naga, but this would be a large
change, touching hundreds of use sites. This patch begins by
introducing `Scalar` to the WGSL front end only.
2023-11-06 13:27:49 +01:00
Connor Fitzgerald
0dad15989f
Pass 3 on examples ( #4640 )
2023-11-06 04:41:49 +00:00
dependabot[bot]
0004e96fa4
Bump syn from 2.0.38 to 2.0.39 ( #4638 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 23:15:41 -05:00
dependabot[bot]
fe1429b927
Bump wasm-bindgen-test from 0.3.37 to 0.3.38 ( #4637 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 23:15:27 -05:00
dependabot[bot]
b9b4a41e7b
Bump libc from 0.2.149 to 0.2.150 ( #4636 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 23:15:20 -05:00
exrook
e7e2f2aa73
vulkan: Log validation layer messages during instance creation/destruction ( #4586 )
2023-11-05 23:14:59 -05:00
Connor Fitzgerald
bc7f4beedb
Fix wasm examples ( #4639 )
2023-11-06 03:55:45 +00:00
Connor Fitzgerald
873f19dec6
Fix Panic in Surface Configure ( #4635 )
2023-11-06 02:09:41 +00:00
Connor Fitzgerald
8547226176
Rewrite Example Event Loop ( #4634 )
2023-11-06 01:46:18 +00:00
Connor Fitzgerald
dfa7e2f8fb
Fix publish script
2023-11-04 22:11:34 -04:00
daxpedda
9501ccc6b0
Use HLSL 2018 ( #4629 )
2023-11-04 19:53:48 +00:00
dependabot[bot]
4bc1bf000c
Bump wasm-bindgen-futures from 0.4.37 to 0.4.38 ( #4625 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.37 to 0.4.38.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
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-11-03 09:24:56 +01:00
dependabot[bot]
c7431367a5
Bump gpu-allocator from 0.23.0 to 0.24.0 ( #4626 )
...
Bumps [gpu-allocator](https://github.com/Traverse-Research/gpu-allocator ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/Traverse-Research/gpu-allocator/releases )
- [Changelog](https://github.com/Traverse-Research/gpu-allocator/blob/main/release.toml )
- [Commits](https://github.com/Traverse-Research/gpu-allocator/compare/0.23.0...0.24.0 )
---
updated-dependencies:
- dependency-name: gpu-allocator
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-03 09:24:36 +01:00
Daniel McNab
7709010a79
Naga(msl): Clear named expressions after writing each function ( #4594 )
...
This appears to match other backends, and fixes
fix the case where expressions which were named in earlier
functions are used in local variable declarations
2023-11-02 18:46:36 +00:00
Jim Blandy
ea8b619ba4
Add some doc comments to naga::proc::constant_evaluator
.
2023-11-02 19:22:35 +01:00
Jim Blandy
e6063c5255
[wgsl-in] Replace TypedExpression
with a generic enum, Typed
.
...
Replace the `TypedExpression` struct, used to distinguish between WGSL
pointers and references since Naga has only `Pointer`, with an enum,
`Typed`, with variants for references and plain types. This cleans up
a bunch of code, since the struct's `is_reference` field basically
served as a detached enum discriminant. This also prepares the code
for adding abstract types.
2023-11-02 19:21:31 +01:00
dependabot[bot]
e78e9dd400
Bump js-sys from 0.3.64 to 0.3.65 ( #4622 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:41:23 -04:00
dependabot[bot]
0bf3e619e8
Bump hassle-rs from 0.10.0 to 0.11.0 ( #4623 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:41:17 -04:00
Zoxc
3f80ee785c
Implement mipmap views on the OpenGL backend ( #4278 )
2023-11-01 16:57:24 -04:00
dependabot[bot]
a411861f48
Bump indexmap from 2.0.2 to 2.1.0 ( #4620 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 03:11:54 -04:00
dependabot[bot]
862aff9447
Bump serde_json from 1.0.107 to 1.0.108 ( #4615 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.107 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108 )
---
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>
2023-10-31 01:51:08 -04:00
dependabot[bot]
5661de7a3c
Bump arbitrary from 1.3.1 to 1.3.2 ( #4616 )
...
Bumps [arbitrary](https://github.com/rust-fuzz/arbitrary ) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/rust-fuzz/arbitrary/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-fuzz/arbitrary/compare/derive_arbitrary@1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: arbitrary
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-10-31 01:50:52 -04:00
Zoxc
8f6fcb1e6f
Further OpenGL 3.1 support ( #4612 )
2023-10-30 11:51:13 -04:00
Zoxc
ac896cf223
Improve OpenGL 3.1 support ( #4272 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-30 05:35:24 +00:00
Zoxc
ff1ba0b4fe
[wgl] Create a hidden window per instance ( #4603 )
2023-10-30 01:10:01 -04:00
daxpedda
37fe6a5424
Mark some methods unsafe
( #4596 )
2023-10-29 23:59:48 -04:00
Zoxc
4b8835f6cd
Add sRGB and linear blending example ( #4275 )
2023-10-29 23:58:54 -04:00
Connor Fitzgerald
2aa7c29068
Extra Profiling Scopes ( #4610 )
2023-10-30 03:58:32 +00:00
Kevin Reid
e0341c52cf
Document nonzero surface size requirement. ( #4609 )
2023-10-29 23:22:38 -04:00
TornaxO7
83c3fbc55c
bumping winit
to 0.29.3 ( #4605 )
...
* bumping `winit` to 0.29.3
* remove minor version of winit
2023-10-29 17:34:39 +01:00
TornaxO7
ad3094c126
fix example-framework ( #4588 )
...
* fix example-framework
* `cargo fmt`
2023-10-28 02:40:33 -04:00
Connor Fitzgerald
43b74f9892
Update CODEOWNERS
2023-10-27 15:49:15 -04:00
Connor Fitzgerald
7df8443a9c
Update CODEOWNERS
2023-10-27 15:45:28 -04:00
Adrian Wu
b6fa2c536c
Fix typo in documentation of QueueWriteBufferView ( #4590 )
2023-10-27 16:34:37 +00:00
Alphyr
8998b9de87
Remove flume
dependency of wgpu
( #4585 )
...
* Remove `flume` dependency of `wgpu`
* Add `Exclusive`
2023-10-27 11:23:39 -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