Xiaopeng Li
15a77b525c
expose VULKAN_EXTERNAL_MEMORY_WIN32 feature ( #6825 )
2025-01-02 19:48:54 -05:00
Connor Fitzgerald
03ff99e2c3
Implement Clone on Api Types and Arc Dispatcher ( #6665 )
2025-01-02 19:30:47 -05:00
Samson
fb17ee83fd
[core] More vertex buffer validation ( #6804 )
2025-01-02 15:48:40 -05:00
Andreas Reich
c46624f1fa
Fix filtering out dx12 software adapters ( #6843 )
2025-01-02 14:36:23 -05:00
dependabot[bot]
61b7063d8e
chore(deps): bump the patch-updates group with 9 updates ( #6836 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 17:16:37 -05:00
Samson
0f5f0580e4
readme: Bring back servo mention in readme ( #6831 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-12-27 21:29:14 +00:00
Benjamin Frye
4772cd8c63
fix(dxgi): DX12 exception handler lifetime based on device not adapter ( #6828 )
2024-12-26 11:06:50 -05:00
dependabot[bot]
7c75ac7aa2
chore(deps): bump the patch-updates group with 19 updates ( #6810 )
...
* chore(deps): bump the patch-updates group with 19 updates
Bumps the patch-updates group with 19 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.94` | `1.0.95` |
| [argh](https://github.com/google/argh ) | `0.1.12` | `0.1.13` |
| [bytemuck](https://github.com/Lokathor/bytemuck ) | `1.20.0` | `1.21.0` |
| [env_logger](https://github.com/rust-cli/env_logger ) | `0.11.5` | `0.11.6` |
| [itertools](https://github.com/rust-itertools/itertools ) | `0.10.5` | `0.13.0` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.168` | `0.2.169` |
| [png](https://github.com/image-rs/image-png ) | `0.17.15` | `0.17.16` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.133` | `1.0.134` |
| [gpu-descriptor](https://github.com/zakarumych/gpu-descriptor ) | `0.3.0` | `0.3.1` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.90` | `2.0.91` |
| [argh_derive](https://github.com/google/argh ) | `0.1.12` | `0.1.13` |
| [argh_shared](https://github.com/google/argh ) | `0.1.12` | `0.1.13` |
| [bytemuck_derive](https://github.com/Lokathor/bytemuck ) | `1.8.0` | `1.8.1` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.4` | `1.2.5` |
| [const_panic](https://github.com/rodrimati1992/const_panic ) | `0.2.10` | `0.2.11` |
| [env_filter](https://github.com/rust-cli/env_logger ) | `0.1.2` | `0.1.3` |
| [hashbrown](https://github.com/rust-lang/hashbrown ) | `0.14.5` | `0.15.2` |
| [home](https://github.com/rust-lang/cargo ) | `0.5.9` | `0.5.11` |
| [object](https://github.com/gimli-rs/object ) | `0.36.5` | `0.36.7` |
Updates `anyhow` from 1.0.94 to 1.0.95
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.94...1.0.95 )
Updates `argh` from 0.1.12 to 0.1.13
- [Release notes](https://github.com/google/argh/releases )
- [Commits](https://github.com/google/argh/compare/0.1.12...0.1.13 )
Updates `bytemuck` from 1.20.0 to 1.21.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.20.0...v1.21.0 )
Updates `env_logger` from 0.11.5 to 0.11.6
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.5...v0.11.6 )
Updates `itertools` from 0.10.5 to 0.13.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.13.0 )
Updates `libc` from 0.2.168 to 0.2.169
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.168...0.2.169 )
Updates `png` from 0.17.15 to 0.17.16
- [Changelog](https://github.com/image-rs/image-png/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image-png/compare/v0.17.15...v0.17.16 )
Updates `serde_json` from 1.0.133 to 1.0.134
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134 )
Updates `gpu-descriptor` from 0.3.0 to 0.3.1
- [Changelog](https://github.com/zakarumych/gpu-descriptor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zakarumych/gpu-descriptor/commits )
Updates `syn` from 2.0.90 to 2.0.91
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.90...2.0.91 )
Updates `argh_derive` from 0.1.12 to 0.1.13
- [Release notes](https://github.com/google/argh/releases )
- [Commits](https://github.com/google/argh/compare/0.1.12...0.1.13 )
Updates `argh_shared` from 0.1.12 to 0.1.13
- [Release notes](https://github.com/google/argh/releases )
- [Commits](https://github.com/google/argh/compare/0.1.12...0.1.13 )
Updates `bytemuck_derive` from 1.8.0 to 1.8.1
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/bytemuck_derive-v1.8.0...bytemuck_derive-v1.8.1 )
Updates `cc` from 1.2.4 to 1.2.5
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.4...cc-v1.2.5 )
Updates `const_panic` from 0.2.10 to 0.2.11
- [Release notes](https://github.com/rodrimati1992/const_panic/releases )
- [Changelog](https://github.com/rodrimati1992/const_panic/blob/main/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_panic/commits )
Updates `env_filter` from 0.1.2 to 0.1.3
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.2...env_filter-v0.1.3 )
Updates `hashbrown` from 0.14.5 to 0.15.2
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/commits )
Updates `home` from 0.5.9 to 0.5.11
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cargo/compare/home-0.5.9...home-0.5.11 )
Updates `object` from 0.36.5 to 0.36.7
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.5...0.36.7 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: argh
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: patch-updates
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: patch-updates
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: png
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: gpu-descriptor
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: argh_derive
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: argh_shared
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: bytemuck_derive
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: cc
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: const_panic
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: env_filter
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: hashbrown
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: patch-updates
- dependency-name: home
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: object
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix Errors
* Get Fuzzed
* Unbreak
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-12-23 19:34:20 -05:00
Samson
48b2f1d4f7
[core] Remove log::error! that are also reported as validation Err ( #6817 )
2024-12-23 18:07:19 -05:00
Vecvec
7b5a348c7c
Set index type to NONE in get_acceleration_structure_build_sizes ( #6802 )
2024-12-23 17:20:26 -05:00
Erich Gubler
9d9b99adb6
fix: make unpack4x{I,U}8 output exprs. composable in {hlsl,msl}-out ( #6773 )
2024-12-23 09:10:18 -08:00
Samson
ee3ae0e549
[core] Use higher level LoadOp,StoreOp ( #6785 )
2024-12-22 21:48:11 -05:00
dependabot[bot]
f97b28b5f8
chore(deps): bump crate-ci/typos from 1.28.3 to 1.28.4 ( #6807 )
2024-12-22 21:46:19 -05:00
Erich Gubler
6c9f93b7de
diag(naga): clarify select built-in type mismatch messages
2024-12-20 10:34:20 -05:00
Erich Gubler
9ea464b85b
test(valid): cover select arg. mismatches
2024-12-20 10:34:20 -05:00
Jim Blandy
2587db1c9b
[naga] In compaction, fix array lengths as part of type adjustment. ( #6790 )
...
Adjust the `Handle<Expression>` values that appear in
`TypeInner::Array` via `PendingArraySize::Expression` as part of the
normal type adjustment process in `ModuleMap::adjust_type`, rather
than cloning the type arena so we can iterate over it and call
`UniqueArena::replace`.
Fixes #6789 .
2024-12-20 10:33:29 -05:00
teoxoy
a5c3be575e
remove device arg from all CommandEncoder methods
2024-12-20 15:44:15 +01:00
teoxoy
973def4c53
remove old todo
2024-12-20 15:44:15 +01:00
teoxoy
7b2a561402
make open_pass panic if the encoder is open
2024-12-20 15:44:15 +01:00
teoxoy
0fed4dbc16
make close_and_swap panic if the encoder is not open
2024-12-20 15:44:15 +01:00
teoxoy
486967632c
rename close to close_if_open and add close that panics if the encoder is not open
2024-12-20 15:44:15 +01:00
teoxoy
7a476fcbf4
use open_pass in some more places
2024-12-20 15:44:15 +01:00
teoxoy
062999658a
let open_pass handle hal label mapping
2024-12-20 15:44:15 +01:00
teoxoy
38e09d02cc
update code that opens and closes the encoder to
...
go through `CommandEncoder`'s methods
So that `CommandEncoder.is_open` is always accurate.
2024-12-20 15:44:15 +01:00
Teodor Tanasoaia
53f40794f2
move logic into TextureStateSet ( #6689 )
2024-12-18 22:40:26 +00:00
Connor Fitzgerald
b38aad994a
Fix Skipping Amd RT Tests ( #6781 )
2024-12-18 15:25:22 -05:00
Connor Fitzgerald
be07f41da7
Make wgpu-info Default to Static-DXC as Well ( #6782 )
2024-12-18 19:51:02 +00:00
Samson
d63ca09c34
Add usage to TextureViewDescriptor ( #6755 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2024-12-18 18:38:28 +01:00
Eddie Hatfield
79280bc3d4
Detect a common syntax error case for diagnostic_directive ( #6718 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2024-12-18 11:21:45 -05:00
Jim Blandy
a0344cc932
[naga valid]: Clean up validation of Statement::ImageStore.
...
Ensure that the type we obtain for the `image` operand is correct:
"see through" a binding array to its element type only when `image` is
actually an `Access` or `AccessIndex` expression. (This changes the
set of programs the validator will pass, but it turns out not to
affect the set of WGSL programs that Naga will accept, since the WGSL
front end is already checking the types of the `texture` arguments to
`textureStore` function calls, in order to decide which overload
applies.)
Rename the variables to better reflect their values.
2024-12-18 08:10:50 -08:00
Jim Blandy
87d9ffed56
[naga valid]: Clean up validation of Statement::ImageStore.
...
Move image class validation to a more natural spot.
2024-12-18 08:10:50 -08:00
Jim Blandy
1a06279ca9
[naga valid]: Clean up validation of Statement::ImageStore.
...
Use `let-else` statements to keep the main flow of control at the
left. Briefly describe the conditions we're testing.
2024-12-18 08:10:50 -08:00
Leo Kettmeir
df825fec8c
chore: update deno ( #6068 )
...
---------
Co-authored-by: Luca Casonato <hello@lcas.dev >
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com >
Co-authored-by: chirsz <chirsz@foxmail.com >
Co-authored-by: Hajime-san <41257923+hajime-san@users.noreply.github.com >
Co-authored-by: Volker Schlecht <47375452+vlkrs@users.noreply.github.com >
2024-12-18 08:01:50 -08:00
Valtteri Vallius
0fe20342e0
Add multiple render targets example (v2) ( #5313 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-12-18 04:41:21 +00:00
Vecvec
9ed716954f
Note way matrix needs to be round. ( #6776 )
2024-12-18 01:16:58 +00:00
Erich Gubler
8f2f5e913a
chore: warn on clippy::ptr_as_ref ( #6770 )
2024-12-17 17:08:37 -05:00
Erich Gubler
aaac47c24e
fix(naga): s/os/target_os/ in xtask's FXC/DXC check ( #6774 )
2024-12-17 16:12:24 -05:00
Erich Gubler
f6b156e799
test(ci): update NIGHTLY_BUILD to last 1.83.0 Nightly ( #6769 )
2024-12-17 19:15:54 +00:00
Erich Gubler
f188c3409c
chore: update repo MSRV 1.76 → 1.83
2024-12-17 13:30:52 -05:00
Erich Gubler
58cf8e6b1c
chore: register wgpu_validate_locks as an expected cfg
2024-12-17 13:30:52 -05:00
Erich Gubler
99dc90f318
chore: suppress manual_c_str_literals in the workspace
2024-12-17 13:30:52 -05:00
Erich Gubler
809ea1d478
chore(benches): add tracy to lints.rust.unexpected_cfgs.check-cfg
2024-12-17 13:30:52 -05:00
Erich Gubler
b2c9b0af5a
chore: add web_sys_unstable_apis to lints.rust.unexpected_cfgs.check-cfg in wgpu_{hal,types}
2024-12-17 13:30:52 -05:00
Erich Gubler
143403cad1
build: upgrade cfg_aliases 0.1.1 → 0.2.1
...
Consumes
[`cfg_aliases`#8](https://github.com/katharostech/cfg_aliases/pull/8 ) to
eliminate warnings from `rustc`.
2024-12-17 13:30:52 -05:00
Erich Gubler
1f93ea0692
chore: resolve clippy::large_enum_variant
2024-12-17 13:30:52 -05:00
Teodor Tanasoaia
04a10405b3
[d3d12] fix being able to use dispatchWorkgroupsIndirect without validation ( #6767 )
2024-12-17 17:10:00 +01:00
Schell Carl Scivally
ea7556853d
[naga spv-in] Support atomics in fields of global structs
...
Handle SPIR-V input that performs atomic operations on structs that
have more than one field. Track which fields of which struct types are
used by atomic operations on which global variables, and then give
those global variables new types in which exactly those fields have
had their `Scalar` leaf types changed to `Atomic`.
Add snapshot tests.
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2024-12-17 07:45:41 -08:00
Erich Gubler
3160f81289
fix(types): use correct cfgs for serde(rename…)d VertexFormat variants ( #6765 )
2024-12-16 17:37:45 -05:00
Erich Gubler
4eb14352b9
chore: satisfy clippy::doc_lazy_continuation ( #6764 )
2024-12-16 22:33:30 +00:00
Erich Gubler
964a8d99d2
chore: satisfy clippy::unnecessary_map_or ( #6710 )
...
Started firing in Rust 1.84.
2024-12-16 17:26:12 -05:00