Teodor Tanasoaia
e63b0f6f17
[vulkan] set spir-v capabilities based on downlevel flags ( #4197 )
2023-10-03 16:34:36 -04:00
Elabajaba
61300afd22
update gpu-allocator
to 0.23 ( #4198 )
2023-10-03 16:32:13 -04:00
Alix Bott
a4d733b2e6
Fix x11 hang when resizing on vulkan ( #4184 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-03 20:24:54 +00:00
dependabot[bot]
e677b1ea43
Bump async-executor from 1.5.3 to 1.5.4 ( #4186 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 20:19:37 +00:00
Teodor Tanasoaia
fd02a12726
Make GLES optional on Windows & macOS ( #4185 )
2023-10-03 16:16:24 -04:00
Teodor Tanasoaia
422c636877
Add Rgb10a2Uint
format ( #4199 )
2023-10-03 14:56:21 +02:00
dependabot[bot]
1cf3bdf0bd
Bump libloading from 0.8.0 to 0.8.1 ( #4192 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.0...0.8.1 )
---
updated-dependencies:
- dependency-name: libloading
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-03 14:14:34 +02:00
Jinlei Li
6df7e2d7e5
Revert "Ignore the exception values generated by the winit resize event" ( #4195 )
2023-10-02 14:42:06 +02:00
Nicolas Silva
9ff61fee9f
Trace logging adjustments ( #4188 )
2023-10-02 09:05:56 +02:00
Nicolas Silva
9a76c483da
Add trace level logging to most API entry points ( #4183 )
...
* Add trace level logging to most API entry points
* Add a changelog entry
2023-09-28 18:29:44 +02:00
dependabot[bot]
caad255737
Bump winit from 0.28.6 to 0.28.7 ( #4181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 02:40:41 -04:00
Brad Werth
57f8757fad
Add device destroy method ( #4163 )
...
Plus tests that ensure that an invalid device behaves correctly.
Mostly a stub implementation otherwise.
2023-09-27 14:34:23 +02:00
dependabot[bot]
8d32dc2b47
Bump async-executor from 1.5.1 to 1.5.3 ( #4174 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 23:45:02 -04:00
dependabot[bot]
2b1ea39028
Bump thiserror from 1.0.48 to 1.0.49 ( #4178 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 23:44:52 -04:00
dependabot[bot]
21e20076a0
Bump gpu-descriptor from 0.2.3 to 0.2.4 ( #4173 )
...
Bumps [gpu-descriptor](https://github.com/zakarumych/gpu-descriptor ) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/zakarumych/gpu-descriptor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zakarumych/gpu-descriptor/commits )
---
updated-dependencies:
- dependency-name: gpu-descriptor
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-09-26 09:41:31 +02:00
Jim Blandy
3666f1aef8
Add test case for #4167 , marked as an expected failure. ( #4168 )
2023-09-25 19:55:55 -04:00
Jacob Hughes
27f2ce397a
Re-export Naga ( #4172 )
2023-09-25 13:23:03 -07:00
dependabot[bot]
7e0d6c971f
Bump glam from 0.24.1 to 0.24.2 ( #4171 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 00:09:48 -04:00
Jim Blandy
8e393ca213
Add some missing Debug
implementations. ( #4166 )
2023-09-22 23:00:07 -04:00
Fredrik Fornwall
85e2141355
Fix using trunk version on mac ( #4164 )
...
Overriding the metal version in the workspace Cargo.toml using a patch
section does not work for projects building against the trunk version:
wgpu = { git = "https://github.com/gfx-rs/wgpu ", branch = "trunk" }
Instead specify the metal dependencies only once in wgpu-hal.
2023-09-22 14:58:33 +02:00
Connor Fitzgerald
855fefc10e
Update CODEOWNERS with new wgpu team ( #4162 )
2023-09-21 06:01:35 +00:00
dependabot[bot]
3ff04c31e6
Bump smallvec from 1.11.0 to 1.11.1 ( #4161 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.0...v1.11.1 )
---
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-09-21 02:36:45 +00:00
Aaron Hill
2b4a8b318f
wgpu-core: Only produce StageError::InputNotConsumed on DX11/DX12 ( #4116 )
...
* wgpu-core: Only produce StageError::InputNotConsumed on DX11/DX12
This error only exists due to an issue with naga's HLSL support:
https://github.com/gfx-rs/naga/issues/1945
The WGPU spec itself allows vertex shader outputs that are
not consumed by the fragment shader.
Until the issue is fixed, we can allow unconsumed outputs on
all platforms other than DX11/DX12.
* Add Features::SHADER_UNUSED_VERTEX_OUTPUT to allow disabling check
* Pick an unused feature id
2023-09-20 21:02:37 -04:00
Neil Sarkar
3c37c2afe5
Bring back xtask alias ( #4160 )
2023-09-20 19:07:40 +00:00
Alphyr
82f0cd9ee6
Fix Features::TEXTURE_COMPRESSION_ASTC*
doc ( #4157 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-09-20 18:45:09 +00:00
Frederik Magnus Johansen Vestre
dc5beac8c9
Support dual source blending ( #4022 )
...
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-09-19 13:26:30 +02:00
dependabot[bot]
5c26841d66
Bump termcolor from 1.2.0 to 1.3.0 ( #4152 )
...
Bumps [termcolor](https://github.com/BurntSushi/termcolor ) from 1.2.0 to 1.3.0.
- [Commits](https://github.com/BurntSushi/termcolor/compare/1.2.0...1.3.0 )
---
updated-dependencies:
- dependency-name: termcolor
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-09-19 09:35:12 +02:00
dependabot[bot]
87a0cd0e69
Bump profiling from 1.0.10 to 1.0.11 ( #4153 )
...
Bumps [profiling](https://github.com/aclysma/profiling ) from 1.0.10 to 1.0.11.
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aclysma/profiling/commits )
---
updated-dependencies:
- dependency-name: profiling
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-09-19 09:35:02 +02:00
Andreas Reich
507101987b
Make StoreOp
an enum instead of a bool ( #4147 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-09-18 14:58:41 -04:00
Teodor Tanasoaia
8adab25905
[d3d12] Document map_blend_factor
( #4151 )
2023-09-18 10:43:11 -04:00
Jim Blandy
471229a48f
Update Naga to df8107b7
(2023-9-15). ( #4149 )
2023-09-17 15:39:16 -04:00
Jim Blandy
f2bd557186
Tests for wgpu#4139. ( #4148 )
2023-09-17 14:08:42 -04:00
Andreas Reich
0ffdae31a1
Metal encoder & pass timestamp support ( #4008 )
...
Implements timer queries via write_timestamp on Metal for encoders (whenever timer queries are available) and passes (for Intel/AMD GPUs, where we should advertise TIMESTAMP_QUERY_INSIDE_PASSES now).
Due to some bugs in Metal this was a lot harder than expected. I believe the solution is close to optimal with the current restrictions in place. For details see code comments.
2023-09-16 20:01:46 +00:00
Kevin Reid
7c575a0b40
Add details to RequestDeviceError
. ( #4145 )
2023-09-16 00:16:49 -04:00
dependabot[bot]
40cc2ee88a
Bump libc from 0.2.147 to 0.2.148 ( #4134 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 16:39:48 -04:00
dependabot[bot]
4bc7d8788a
Bump serde_json from 1.0.106 to 1.0.107 ( #4133 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 16:39:39 -04:00
Connor Fitzgerald
b488e03d9f
Workaround NV bug ( #4132 )
2023-09-14 16:38:21 -04:00
Nicolas Silva
90b022d437
Print errors in a more readable format in the player. ( #4137 )
...
Co-authored-by: Nicolas Silva <nical@fastnmail.com>
2023-09-14 18:12:35 +02:00
dependabot[bot]
7fea9e934e
Bump serde_json from 1.0.105 to 1.0.106 ( #4129 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106 )
---
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-09-11 22:12:43 +02:00
Nicolas Silva
012304ea11
Update naga
to 0.13.0@git:cc87b8f9eb30bb55d0735b89d3df3e099e1a6e7c ( #4130 )
...
Co-authored-by: Nicolas Silva <nical@fastnmail.com>
2023-09-11 15:57:43 +02:00
dependabot[bot]
9a91953537
Bump bytemuck from 1.13.1 to 1.14.0 ( #4123 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 09:29:52 -04:00
Connor Fitzgerald
4235b0dd1c
Fix D3D12 Surface Leak ( #4106 )
2023-09-05 18:06:33 +00:00
Jim Blandy
7634ae6112
wgpu_core: Add logging to Instance::new.
...
For each backend `blah`, log::debug/trace whether we were able to
populate `Instance::blah`.
2023-09-05 13:47:27 -04:00
Luke Jones
d17165f08b
Enable vulkan presentation on Intel Mesa >= v21.2 ( #4110 )
...
Due to an issue with Mesa versions less than 21.2 presentation on Vulkan
was forced to Nvidia only. This in itself brought new issues around the
Nvidia driver specfic format modifers.
As of Mesa 21.2 the Intel vulkan issue is fixed. This commit enables
presentation on versions 21.2 and above for Intel.
References:
- https://github.com/NVIDIA/egl-wayland/issues/72
Closes [#4101 ](https://github.com/gfx-rs/wgpu/issues/4101 )
2023-09-05 14:20:04 +00:00
Jim Blandy
ff807295da
hal/vulkan: Instance::required_extensions
-> desired_extensions
( #4115 )
...
Rename `wgpu_hal::vulkan::Instance::required_extensions` to
`desired_extensions`, to match its behavior. Document the function to
clarify its role.
2023-09-05 13:41:46 +00: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
dependabot[bot]
e8e53fb31c
Bump serde from 1.0.186 to 1.0.188 ( #4091 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.186 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.188 )
---
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-09-05 15:20:04 +02:00
dependabot[bot]
e451195500
Bump thiserror from 1.0.47 to 1.0.48 ( #4112 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
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-09-05 15:11:05 +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
Kevin Reid
332cd0325d
Add details to InstanceError
and CreateSurfaceError
. ( #4066 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-09-01 01:48:31 -04:00