Josh Groves
66c029f172
Pass correct surface for existing canvases ( #3718 )
2023-04-30 21:52:41 +09:00
Timo Kösters
4220a42139
Fix typo ( #3719 )
...
The error previously printed "otherusages" without a space
2023-04-28 23:15:08 +02:00
Florian Bartels
72c6324b63
Fix typo ( #3732 )
2023-04-28 23:13:44 +02:00
Evan Mark Hopkins
9befaed7e9
[hlsl-out] Fix return type for firstbitlow/high ( #2315 )
2023-04-25 14:49:26 +02:00
Dzmitry Malyshau
37b3c36a8f
Support array bindings of buffers ( #2282 )
...
* Support buffer resource arrays in IR, wgsl-in, and spv-out
* spv-out: refactor non-uniform indexing semantics to support buffers
* Update the doc comment on BindingArray type
* Improve TypeInfo restrictions on binding arrays
* Strip DATA out of binding arrays
* Include suggested documentation, more binding array tests, enforce structs
2023-04-24 21:30:49 -07:00
Erich Gubler
2571af9557
refactor: resolve clippy::redundant_clone ( #3717 )
2023-04-24 17:07:08 +02:00
Erich Gubler
1421a5e1ab
refactor(valid)!: remove TypeError::UnresolvedBase ( #2308 )
...
Resolves #2303 .
2023-04-20 19:39:38 +02:00
Teodor Tanasoaia
3432aabab1
Bump libloading ( #3711 )
...
* bump libloading in Cargo.toml
* bump libloading in wgpu-hal/Cargo.toml
2023-04-20 17:28:57 +00:00
Teodor Tanasoaia
25cb9f61e9
Revert "Bump libloading from 0.7.4 to 0.8.0 ( #3666 )" ( #3709 )
...
This reverts commit 7f179ff1fa .
2023-04-20 16:47:01 +02:00
Connor Fitzgerald
0b53b477c5
Update CHANGELOG.md
2023-04-19 21:54:23 -04:00
Connor Fitzgerald and Connor Fitzgerald
011a4e26d0
Release v0.16.0 ( #3707 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
wgpu-v0.16.0
wgpu-types-v0.16.0
v0.16.0
wgpu-hal-v0.16.0
wgpu-core-v0.16.0
2023-04-19 22:06:21 +00:00
Alix Bott and Connor Fitzgerald
c86f9773ca
Fix unsetting vertex attributes in gles backend ( #3706 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-19 21:14:45 +00:00
daxpedda
85fc427470
Adjust internal canvas size on Surface::configure() ( #3690 )
2023-04-19 21:09:31 +00:00
Connor Fitzgerald
b99d58ea43
Update to version 0.12
naga-cli-v0.12.0
naga-v0.12.0
2023-04-19 17:04:49 -04:00
Jinlei Li
62ea7813e4
Implement Features::RG11B10UFLOAT_RENDERABLE ( #3701 )
2023-04-19 13:34:29 +02:00
J
191cabc833
fix a minor typo ( #3703 )
...
L1642 `creates` -> `create`
2023-04-19 09:09:58 +00:00
Nicolas Silva
4035748c83
Update naga to 0.11.0@git:b9c5cb5a7841a8728137a58840fbbdbb9b310267 ( #3705 )
2023-04-19 10:54:40 +02:00
dependabot[bot]
fc4d591e9e
Bump profiling from 1.0.7 to 1.0.8 ( #3697 )
...
Bumps [profiling](https://github.com/aclysma/profiling ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/aclysma/profiling/releases )
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aclysma/profiling/compare/v1.0.7...v1.0.8 )
---
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-04-17 16:30:34 +02:00
pudi
562ad0d7c2
Fix documentation comments for multi_draw_*_indirect_count ( #3694 )
2023-04-15 18:13:31 +00:00
François
bf8e6fe371
add feature RG11B10UFLOAT_RENDERABLE on webgpu ( #3689 )
...
* add feature RG11B10UFLOAT_RENDERABLE on web
* changelog
2023-04-14 14:52:37 +02:00
François
7c25c00f07
reject binding type multisampled when on a float filterable sample type ( #3686 )
2023-04-13 13:55:56 -04:00
dependabot[bot]
af3b29ab49
Bump serde_json from 1.0.95 to 1.0.96 ( #3682 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 03:14:27 +00:00
François
8985bca32c
remove old comment about swapchain for the web ( #3673 )
2023-04-12 21:55:16 +00:00
dependabot[bot]
7f179ff1fa
Bump libloading from 0.7.4 to 0.8.0 ( #3666 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 17:29:26 -04:00
Connor Fitzgerald and Connor Fitzgerald
a7defb723f
Cleanups for WebGPU ( #3671 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-12 21:27:30 +00:00
dependabot[bot]
618d4f0d51
Bump serde from 1.0.159 to 1.0.160 ( #3667 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 17:17:56 -04:00
teoxoy
b9c5cb5a78
validate vertex stage returns the position built-in
2023-04-12 10:48:18 -07:00
François
d781bb7443
expose-ids: pass the correct field for global ID (#3669 )
2023-04-12 12:45:31 -04:00
Josh Groves
ee175f909c
Fix depth stencil attachment downcast for WebGPU ( #3670 )
2023-04-12 16:33:50 +00:00
Nicolas Silva
f3bf0f782e
Update naga to 0.11.0@git:f59668ccfaf7bdb3a7e43d84363a21c77357b2fe ( #3665 )
2023-04-11 14:13:16 +00:00
dependabot[bot]
9bd6a8db48
Bump png from 0.17.7 to 0.17.8 ( #3664 )
...
Bumps [png](https://github.com/image-rs/image-png ) from 0.17.7 to 0.17.8.
- [Release notes](https://github.com/image-rs/image-png/releases )
- [Changelog](https://github.com/image-rs/image-png/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image-png/commits/v0.17.8 )
---
updated-dependencies:
- dependency-name: png
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-04-11 00:08:18 -04:00
Josh Groves and Connor Fitzgerald
cfc038aeb9
Avoid using WasmAbi functions on WebGPU backend ( #3657 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-10 16:31:43 -04:00
David Huculak
4d15567392
add dxc error message formatting ( #3632 )
2023-04-10 15:51:46 -04:00
Niklas Korz
2c37608ad3
Web: handle None for depth_ops and stencil_ops ( #3660 )
2023-04-10 11:21:17 +02:00
dependabot[bot] and Teodor Tanasoaia
c7f3d8d7a3
Bump async-executor from 1.5.0 to 1.5.1 ( #3662 )
...
* Bump async-executor from 1.5.0 to 1.5.1
Bumps [async-executor](https://github.com/smol-rs/async-executor ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/smol-rs/async-executor/releases )
- [Changelog](https://github.com/smol-rs/async-executor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-executor/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: async-executor
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Specify only major version
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com >
2023-04-10 09:20:21 +00:00
Connor Fitzgerald and Connor Fitzgerald
51bf95bbd6
Make wgpu-core errors non-exhaustive ( #3652 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-07 19:18:29 +02:00
Teodor Tanasoaia
7fd129a535
[metal] Adapt code to work with the new per_entry_point_map ( #3524 )
2023-04-07 11:01:24 -04:00
daxpedda
f59668ccfa
Allow array_index to be unsigned ( #2298 )
2023-04-07 16:01:55 +02:00
dependabot[bot]
dd64343f94
Bump bitflags from 2.0.2 to 2.1.0 ( #3653 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 23:30:51 -04:00
Erich Gubler
99a7773e65
fix(hlsl-out): use Interlocked<op> intrinsic for atomic integers ( #2294 )
...
We currently assume that we are using raw `RWByteAddressBuffer` methods for all atomic operations (`<pointer>.Interlocked<op>(<raw_byte_offset>, …)`), which is only true when we use `var<storage, read_write>` globals. For `var<workgroup>` globals, we need `Interlocked<op>(<pointer>, …)`, using the original expression as the first argument.
Fix this by branching on the `pointer`'s address space in `Atomic` statements, and implementing the workgroup address space case with intrinsics.
Remove atomic ops from `access`, add new `atomicOps` test.
Fixes #2284
2023-04-05 19:37:22 -07:00
711ab981b7
Document wgpu_core::hub::Hub locking rules. ( #3577 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-05 22:48:43 +00:00
Teodor Tanasoaia and Connor Fitzgerald
6918cf33d4
[metal] Fix metal erroring on an array_stride of 0 ( #3538 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-04-05 22:40:15 +00:00
dependabot[bot] and Connor Fitzgerald
a13ed91626
Bump bitflags from 1.3.2 to 2.0.2 ( #3606 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-05 22:24:59 +00:00
Sebastian J. Hamel
27cdfd2954
Silence vulkan validation error ( #3095 ) ( #3627 )
2023-04-05 18:15:43 -04:00
dependabot[bot]
7119fc7672
Bump libc from 0.2.140 to 0.2.141 ( #3651 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 22:02:59 +00:00
Lukas Herzberger
b6dbce740f
Implement resolve query set ( #3489
...
* implement command_encoder_resolve_query_set
* fix args
* add BufferUsages::QUERY_RESOLVE
* update changelog
* fix link text
* validate query resolve: check for QUERY_RESOLVE instead of CPY_DST
* update changelog, replace COPY_DST with QUERY_RESOLVE in mipmap example
2023-04-05 17:59:04 -04:00
TheOnlyMrCat
47a887ce0f
Manually implement traits on wgpu::Id ( #3630 )
2023-04-05 17:56:04 -04:00
Benjamin Schaaf
fdbbd02c1e
Properly drop surfaces ( #3647 )
...
Co-authored-by: Benjamin Schaaf <bschaaf@sublimetext.com >
Fixes #3646
2023-04-05 17:48:12 -04:00
Teodor Tanasoaia
1158709747
stop code coverage comments ( #2283 )
2023-04-05 17:54:07 +02:00
dependabot[bot]
628a95cd1c
Bump serde_json from 1.0.94 to 1.0.95 ( #3650 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.94...v1.0.95 )
---
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-04-05 17:47:42 +02:00