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
Andy Leiserson
3cca5f8cfd
Make the copy_buffer_to_buffer size parameter optional ( #7659 )
...
* Make wgpu-core's copy_buffer_to_buffer `size` parameter optional
* Make the copy size optional in more places
* Fix for webgpu backend
* [deno_webgpu] Support additional copyBufferToBuffer signatures
* Add changelog entry
* Add copyBufferToBuffer tests to CTS test list
(This doesn't actually enable the tests for the new overloads, because
of a different error reporting issue that affects many CTS tests
including these. But if you run the tests for the new overloads
manually, before and after the fix, you can see that the behavior has
changed.)
* Reproducible formula for vendoring modified webgpu-sys
Commit the updated vendor command in all the files for consistency.
2025-05-28 17:21:19 +02:00
Andy Leiserson
24d0eae36c
Remove another type of error that could be raised by destroy ( #7720 )
2025-05-24 17:02:00 +02:00
Andy Leiserson
fd6f16f598
Revive the CTS job ( #7675 )
...
Includes the following minor functional fixes to deno_webgpu:
* Don't throw an error immediately when `create_buffer` is called with invalid usage flags.
* Implement `on_submitted_work_done`.
* Correct validation of GPUExtent3D element count.
* Run without tracing (instead of panic) if the DENO_WEBGPU_TRACE env var is not set.
Fixes #6838
2025-05-21 09:52:03 -07:00
Connor Fitzgerald
65eb10ed5a
Switch cts_runner to clearer no_main style of wasm compat
2025-04-27 18:34:52 +02:00
Connor Fitzgerald
45d8f42513
Use workspace package information everywhere
2025-04-10 20:41:28 -04:00
Leo Kettmeir
f0bf789f58
refactor(deno): use object wrap ( #7113 )
2025-02-13 04:17:00 -08:00
1aabf22e7a
fix cts_runner ( #6840 )
...
* fix: unbreak compute_pass execution and state
* fix: cts_runner js_runtime needs Permissions struct
* fix: ColorWrites bitflags serde
---------
Co-authored-by: turbocrime <turbocrime@users.noreply.github.com >
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2025-01-10 16:46:10 +00:00
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
Erich Gubler
d22aa2eb55
chore: format TOML files with taplo 0.9.3
2024-10-11 14:40:01 -04:00
Leo Kettmeir and Divy Srivastava
d828f27de4
chore: update deno ( #5469 )
...
* chore: update deno
* update spec
* more error handling
* cleanup queue
* fix
* fix byow
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com >
* fix
* fix
* fix
* fixes
* fix cts
* clean
---------
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com >
2024-04-02 14:36:04 -04:00
Leo Kettmeir
c2fb18afb8
Fix deno_webgpu & cts_runner ( #5459 )
...
* fix cts_runner
* fix
2024-04-01 12:39:02 -04:00
dependabot[bot] and Connor Fitzgerald
744454b9e2
Bump Many Dependencies and MSRV ( #5241 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-02-27 14:43:05 -05:00
Leo Kettmeir
41fb222726
update deno ( #4801 )
2023-11-30 15:29:30 +01:00
Leo Kettmeir and Connor Fitzgerald
d0a7f46e3a
update deno and spec ( #4143 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-10-04 04:25:56 +00:00
Leo Kettmeir
0ece5e6119
update deno ( #3808 )
2023-06-06 17:08:32 +02:00
Connor Fitzgerald
4aff9b67af
Allow workspace to be built on wasm ( #3840 )
2023-06-06 06:58:20 -04:00
Teodor Tanasoaia and crowlkats
287c6e6b47
Update deno ( #3562 )
...
Co-authored-by: crowlkats <crowlkats@toaxl.com >
2023-03-11 01:24:20 -05:00
Leo Kettmeir
b39c0b9de1
update deno ( #3379 )
...
* update deno
* update spec
* remove unrelated changes
2023-01-14 17:07:46 +01:00
Jinlei Li
cc448817e7
Use cargo 1.64 workspace inheritance feature ( #3107 )
2022-10-20 01:41:17 -04:00
Leo Kettmeir
f8ff5a8ffa
Update deno ( #3041 )
2022-09-20 12:06:12 -04:00
Leo Kettmeir
aae8c6aaec
update deno ( #2901 )
2022-07-25 23:31:58 -04:00
Connor Fitzgerald and bjorn3
ea05b44f38
Improve Presentation Api ( #2803 )
...
* Add new presentation modes
* Expand presentation formats
* Add Surface::get_supported_modes
* Update to rust 2021 and improve some metal surface code
* Update wgpu-types/src/lib.rs
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com >
* Fix windows build errors
* Fix issues with ALLOW_TEARING
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com >
2022-06-30 14:24:17 -04:00
Leo Kettmeir
dd6febe309
Update deno ( #2691 )
...
* update deno crates & align to IDL
* revert GPUAutoLayoutMode
* revert GPUAutoLayoutMode
2022-05-24 00:01:19 -07:00
Igor Shaposhnik
eff50436f5
Update to Naga rev 1720725
2022-04-15 22:22:48 +03:00
Leo Kettmeir
b52d68d5ad
deno: custom op arity ( #2542 )
2022-03-24 13:20:10 -04:00
Leo Kettmeir
cd6eb2db36
Merge pull request #2539 from crowlKats/update_deno
...
Update deno_webgpu
2022-03-18 22:31:10 -07:00
Samuel Hurel
3e0305d27d
Allow non struct buffers in wgsl ( #2451 )
...
* Bump naga
* Update examples
2022-02-05 09:53:04 -05:00
Leo Kettmeir
3c3fbe8158
fix runner ( #2456 )
2022-02-04 20:14:33 +00:00
João Capucho
dcd07f0391
Update to upstream naga
2022-01-22 18:36:26 -05:00
Aaron O'Mullan
6b60037a6a
chore(deno_webgpu): bump deno crates ( #2405 )
...
* chore(deno_webgpu): bump deno_core to 0.114.0
https://github.com/denoland/deno/commit/ca75752e5a9499a0a997809f02b18c2ba1ecd58d dates back to Aug 30 2021, so is nearly 5 months old.
There are no breaking changes updating `deno_core` to `0.114.0` (released 6 days ago)
Also by using the crate directly from cargo we avoid cloning https://github.com/denoland/deno and https://github.com/denoland/deno_third_party which can be quite large so crate DL/install is much faster
* bump cts_runner's deno crates
* minor cts_runner fixes
2022-01-18 09:30:41 -05:00
Connor Fitzgerald
e0a6bffd5c
Revamp the readme
2021-09-15 14:46:01 -04:00
Dzmitry Malyshau
bc91048216
Update cts to a44186d, enable blending tests
2021-09-14 09:11:29 -04:00
Dzmitry Malyshau
a7c7c9f38e
Move Deno out of the workspace
2021-09-13 23:57:33 -04:00
Dzmitry Malyshau
60142b56da
List CTS tests to run
2021-09-13 19:44:38 -04:00
Dzmitry Malyshau
bbb9968297
Enable WebGPU CTS on CI
2021-09-09 22:21:04 -04:00
Luca Casonato
d5ba0b439d
WIP: add cts_runner and deno_webgpu crate ( #1859 )
...
* WIP: add cts_runner and deno_webgpu crate
* add test
* remove Cargo.lock
* review comment
* simplify
* fix bugs
* improve cts_runner to work with crowlKats/webgpu-examples
* fix
* remove build.rs
cts_runner binaries are now not portable anymore.
Also startup will now print a bunch of cargo:rerun-if-changed=. This
will be fixed in deno_core.
* remove d.ts
* add original deno license file
2021-09-03 13:23:35 -04:00