9396 Commits

Author SHA1 Message Date
Vecvec
73eb83ded1
[wgpu] Blas compaction (#7285)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-06-11 21:40:10 -04:00
Vecvec
efbac5dfba
Add extra acceleration structure vertex formats. (#7580) 2025-06-11 18:17:14 -04:00
Jim Blandy
41616d9ddf
wgpu_hal::vulkan: Introduce SemaphoreList helper type. (#7749) 2025-06-11 21:01:57 +00:00
Andy Leiserson
ce89c916f8
Add storage for an error in CommandEncoderStatus (#7785) 2025-06-11 09:56:14 -07:00
Erich Gubler
9659838a1b
refactor(naga): resolve!(…): de-dupe $expr usage (#7787) 2025-06-11 11:33:37 -04:00
renovate[bot]
5a7af54619
chore(deps): update rust crate cargo_metadata to 0.20 (#7744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2025-06-11 11:24:33 -04:00
Erich Gubler
db3c35db90 fix(naga): properly impl. auto. type conv. for select 2025-06-11 21:55:02 +09:00
Erich Gubler
3c0803d1cc refactor(wgsl-in): make Scalar::concretize pub(in crate::front::wgsl) 2025-06-11 21:55:02 +09:00
Erich Gubler
77def411c4
fix(const_eval): allow casts from AbstractInt to itself (#7657) 2025-06-11 09:06:20 +00:00
Jim Blandy
9046b439d7
Add more logging to Instance::device_request_adapter. (#7786) 2025-06-11 08:36:15 +00:00
Nico Burns
630905134b
Make strum a dev-only dependency (#7776) 2025-06-11 04:32:11 -04:00
Andy Leiserson
e9af205c71
[deno] Implement ShaderModule.getCompilationInfo (#7736) 2025-06-11 03:49:39 -04:00
Andy Leiserson
1d4891ab5a
[deno] Return undefined instead of null from Queue.submit (#7784) 2025-06-11 03:40:19 -04:00
Andy Leiserson
24f779696b
Tweak MapPassErr to work for both errors and results (#7780) 2025-06-10 10:26:36 -07:00
Andy Leiserson
54d30da44a
Fix the publish job (#7783) 2025-06-10 17:19:42 +00:00
Andy Leiserson
77d2b0017a
Split EncoderStateError from CommandEncoderError (#7779) 2025-06-10 09:46:30 -07:00
Zachary Harrold
e72c4d8326
MVP no_std for wgpu (#7747)
Co-authored-by: Andreas Reich <1220815+Wumpf@users.noreply.github.com>
2025-06-10 08:40:07 +02:00
Teodor Tanasoaia
e10bceb1dc
[d3d12] increase max_compute_workgroup_storage_size (#7777) 2025-06-09 22:37:07 +02:00
Andy Leiserson
d9c4bf22ea
Panic on errors in pass_end_with_unresolved_commands (#7765) 2025-06-09 11:28:43 -07:00
Andy Leiserson
1194833a74
[deno] Make QuerySet.destroy a no-op for now (#7758)
Implementing it is tracked by #6495. In the mean time it is okay for it
to be a no-op. `destroy` just recovers the resources earlier than garbage
collection might, doing nothing is not a leak.
2025-06-09 10:22:42 -07:00
renovate[bot]
d09c730c02
chore(deps): update rust crate nanorand to 0.8 (#7772) 2025-06-09 04:10:11 +00:00
renovate[bot]
8e7b87bee8
chore(deps): update cargo.lock (#7774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 04:02:58 +00:00
renovate[bot]
d1a5b6e98f
chore(deps): update rust crate which to v8 (#7773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-08 23:27:55 -04:00
renovate[bot]
e7d3bb440e
chore(deps): update crate-ci/typos action to v1.33.1 (#7771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-08 23:24:40 -04:00
LitoMore
9c0ccae357
Polish badges (#7769) 2025-06-07 17:51:30 -04:00
tesselode
18581f38fe
remove outdated docs for Adapter::request_device (#7768) 2025-06-07 11:48:40 +02:00
Andy Leiserson
6c7f934af6
Update CTS section in README (#7762)
* Update CTS section in README

* gitignore `cts` it even if it is a symlink, but always limit to the repo root.
2025-06-06 14:57:14 -04:00
sagudev
55fd09786a
Use composite action for mesa install (#7763)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-06-06 10:23:27 -07:00
Andy Leiserson
233a25c1e5
Update to the latest CTS; run it on all platforms and on all PRs (#7752) 2025-06-05 22:04:45 -04:00
Teodor Tanasoaia
dcada3d858
[d3d12] add a shader cache to avoid calling into DXC/FXC (#7729) 2025-06-05 15:20:51 +02:00
Teodor Tanasoaia
23b81da5cc
[hlsl-out] polyfill float remainder operator (#7750) 2025-06-05 15:14:03 +02:00
Thierry Berger
28af245d51
[wgsl-in,ir] Add support for parsing rust-style doc comments (#6364)
* [wgsl-in,ir] add support for parsing rust-style doc comments

* rename relevant items to `doc_comments` (or variations of it)

* address comments

* remove `next_until`

* rename `save_doc_comments` to `ignore_doc_comments`

* expand snapshot test and ignore blankspace when accumulating doc comments

* make tokenizer more straightforward

---------

Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
2025-06-05 15:13:11 +02:00
Connor Fitzgerald
00bc80da61 Update VulkanSDK to 1.3.313 2025-06-04 08:26:11 -07:00
Connor Fitzgerald
24752af93a Suppress VUID-StandaloneSpirv-None-10684 2025-06-04 08:26:11 -07:00
cryvosh
bb46a7f046
[naga hlsl-out, glsl-out] Support atomicCompareExchangeWeak (#7658) 2025-06-02 13:36:44 +02:00
James Ordner
921c6ab597
[metal] remove extraneous main thread check (#7692) 2025-06-02 11:19:49 +02:00
Ryan Kaplan
1268219ba3
Change API from BufferSlice::get_mapped_range_as_array_buffer() to BufferView::as_uint8array() to fix bug where using the former API prevents you from ever unmapping your buffer (#7738)
Co-authored-by: Ryan Kaplan <ryan@Ryans-M2>
2025-06-01 22:46:55 -04:00
renovate[bot]
f139e223e2
chore(deps): update cargo.lock (#7745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-01 21:37:42 -04:00
andristarr
0e1baff277
Navigatable docs for BufferUsages::MAP_WRITE (#7742) 2025-06-01 20:22:56 +09:00
Andy Leiserson
6ead025a95
Remove flaky test_stack_size (#7739) 2025-05-30 22:12:31 -04:00
Andy Leiserson
ffd5b9aeea
Tweaks to CTS xtask, useful when running a modified CTS. (#7737) 2025-05-30 15:09:32 -07:00
Andy Leiserson
a04085c5e4
Update naga benchmarks and add a compaction benchmark (#7715) 2025-05-30 15:02:05 -07:00
Doublonmousse
1da7cd4811
External gles framebuffer (#7671) 2025-05-30 19:16:47 +00:00
renovate[bot]
70b06b19a1
chore(deps): update cargo.lock (#7727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-05-30 14:54:08 -04:00
Hubert Głuchowski
a9e04f88af
wgpu-hal: Expose vulkan::PhysicalDeviceFeatures (#7682) 2025-05-30 12:32:24 -04:00
Zachary Harrold
6151330e3a
[wgpu-hal]: MVP no_std support (#7599)
* MVP `no_std` support in `wgpu-hal`

* Update CHANGELOG.md

* Fix visibility

* Fix unused imports

* Response to feedback

Co-Authored-By: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

* Update other `validation_canary` usages

Co-Authored-By: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

---------

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-05-30 12:31:44 -04:00
RedMindZ
d190106c3f
Load FXC dynamically to remove the dependency on d3dcompiler_47.dll (#7588) 2025-05-29 18:41:03 -04:00
Zachary Harrold
97794f12a9
[wgpu-hal]: Reduce std usage in wgpu-hal/gles (#7597) 2025-05-29 18:30:14 -04:00
Raphael Hetzel
0d569d5550
Optional web-specific deps for wasm32 (#7565) 2025-05-29 22:26:01 +00:00
Andy Leiserson
f34dfd90e0
[naga] Allow unreachable statements (#7718)
Allow unreachable statements after return/break/continue/discard.

Fixes #7536
2025-05-28 15:46:49 +00:00