dependabot[bot]
c5a0b0b7b4
Bump the patch-updates group with 12 updates ( #5061 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 23:48:30 -05:00
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
ad625f433f
Convert Tests to Use Async Poll ( #5053 )
...
* Convert Tests to Use Async Poll
* Update examples/src/repeated_compute/mod.rs
Co-authored-by: Andreas Reich <r_andreas2@web.de>
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-01-13 17:34:51 +00:00
Jim Blandy
8af6975d5e
Prefer Arc::into_inner
over Arc::try_unwrap
. ( #5018 )
2024-01-08 19:24:33 -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]
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
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
Nicolas Silva
af701fb26d
Format extent and origin types as tuples. ( #4853 )
...
* Format extent and origin types as tuples.
* Update wgpu-types/src/lib.rs
Co-authored-by: Andreas Reich <r_andreas2@web.de>
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2023-12-09 22:43:53 +00:00
Teodor Tanasoaia
0cbabcf229
Update multi-planar texture API ( #4837 )
2023-12-07 14:06:56 -05:00
Daniel Keitel
0f4df52b5a
[wgpu-hal] Inline RayQuery Support ( #3507 )
...
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-12-06 21:12:41 +00:00
Valaphee The Meerkat
a1fafe394f
Remove DX11 backend ( #4828 )
2023-12-06 15:12:46 -05:00
xiaopengli89
2882735cb9
check multi-planar format
2023-12-06 10:36:50 +01:00
Almar Klein
32c5a22293
Add feature float32-filterable ( #4759 )
2023-12-04 14:23:13 +01:00
teoxoy
6ff5f8e4ad
improve features/limits docs
2023-11-29 19:55:18 +01:00
teoxoy
da73522720
rename DeviceDescriptor.limits
to DeviceDescriptor.required_limits
2023-11-29 19:55:18 +01:00
teoxoy
9be6c8890f
rename DeviceDescriptor.features
to DeviceDescriptor.required_features
2023-11-29 19:55:18 +01:00
dependabot[bot]
723b8baf2a
Bump web-sys from 0.3.65 to 0.3.66 ( #4800 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.65 to 0.3.66.
- [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: web-sys
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-29 02:03:18 -05:00
dependabot[bot]
e5d5a492b6
Bump js-sys from 0.3.65 to 0.3.66
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.65 to 0.3.66.
- [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: js-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-28 12:01:11 -05:00
Xiaopeng Li
a6503e59c9
Support nv12 texture format ( #4573 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-11-28 16:11:26 +00:00
TÖRÖK Attila
2964eed6f9
Bump web-sys to 0.3.65 ( #4777 )
2023-11-26 17:54:29 -05:00
Teodor Tanasoaia
f4c6faf773
Rename ALLOW_NONCOMPLIANT_ADAPTER
to ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER
( #4760 )
...
* rename `ALLOW_NONCOMPLIANT_ADAPTER` to `ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER`
* clarify comment
2023-11-24 14:29:54 -05:00
i509VCB
1a7db86917
wgpu-hal(vk): Add WGPU_ALLOW_NONCOMPLIANT_ADAPTER ( #4754 )
2023-11-22 23:13:29 -05:00
Connor Fitzgerald
1df98d9888
Test And Normalize Vertex Behavior on All Backends ( #4723 )
...
Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
2023-11-21 22:11:24 +00:00
daxpedda
bec6560e10
Add WasmNotSendSync
( #4702 )
2023-11-16 19:47:10 -05:00
Andreas Reich
f7420511d0
rename/deprecate block_size -> block_copy_size, improve docs ( #4647 )
...
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-11-13 19:04:35 +00: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]
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]
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
Kevin Reid
e0341c52cf
Document nonzero surface size requirement. ( #4609 )
2023-10-29 23:22:38 -04:00
Connor Fitzgerald
2a9fdf9aa1
Misc Repo Cleanup Tasks ( #4579 )
...
* Misc Repo Cleanup Tasks
* Dependency Trimming
* Dep cleanup
* Restrict libfuzzer
* Flip cfg
* mod fuzz
2023-10-27 00:15:51 -04:00
Connor Fitzgerald
ca7ac86ccd
DXC on DX12 in CI ( #4571 )
2023-10-26 04:01:38 -04:00
DevJac
6b859a15d8
Improve error message: "Format Bgra8UnormSrgb can't be multisampled" ( #4294 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-26 01:36:32 -04:00
Connor Fitzgerald
92f4207bc0
Release v0.18.0 ( #4295 )
2023-10-25 17:53:22 +00:00
Zoxc
3bdad8bd77
Add timestamp support to OpenGL ( #4267 )
2023-10-23 21:26:23 -04:00
Zoxc
2b985e2fad
Add WGL context creation and OpenGL support ( #4248 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-18 18:40:33 +00:00
Nicolas Silva
8c03aa85e6
Make it possible to filter labels out ahead of wgpu-hal ( #4246 )
...
* Make it possible to filter labels out.
Co-authored-by: Jim Blandy <jimb@red-bean.com>
2023-10-18 17:45:59 +02:00
Nicolas Silva
ff306d20e0
Add support for bgra8unorm-storage ( #4228 )
...
* Add `BGRA8UNORM_STORAGE` extension
* Leave a comment in the backends that don't support bgra8unorm-storage
* Pass the appropriate storage format to naga
* Check for bgra8unorm storage support in the vulkan backend
* Add a test
Co-authored-by: Jinlei Li <jinleili0@outlook.com>
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-10-13 10:07:11 +00:00
Nicolas Silva
f95d1c55e3
Expose Instance flags ( #4230 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-11 17:39:04 +00: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
Teodor Tanasoaia
422c636877
Add Rgb10a2Uint
format ( #4199 )
2023-10-03 14:56:21 +02:00
Jim Blandy
8e393ca213
Add some missing Debug
implementations. ( #4166 )
2023-09-22 23:00:07 -04: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
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
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
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
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
SMG
e47dc2adad
use WGSL for VertexFormat example types ( #4035 )
...
* use WGSL for VertexFormat example types
* Update CHANGELOG.md
* use f32 for all VertexFormat float types
2023-08-29 16:53:08 +00:00
Nicolas Silva
1ced67f056
Parametrize the size of the non-sampler descriptor heap in dx12 ( #4077 )
2023-08-25 21:51:29 +02:00