Commit Graph
21 Commits
Author SHA1 Message Date
teoxoy 4bbed4074c add max_bind_groups_plus_vertex_buffers limit 2026-04-14 17:20:15 -07:00
Andy Leiserson 04cce5ace7 feat(types): Add conversions to/from feature name strings (#9163) 2026-03-18 09:59:45 -07:00
Genna Wingert ce7dad3026 fix: Change type of max_*_buffer_binding_size to follow spec 2026-03-09 16:49:06 -06:00
Andy Leiserson 7a17f66aa5 Tweak some limit reporting (#9118)
* Dummy implementation of max_storage_{buffers,textures}_in_*_stage limits

* hal(vulkan, dx12): Clamp per-stage binding limits at max_bindings_per_bind_group - 1

* Update CHANGELOG

* Allocate per-stage limits out of max_bindings_per_bind_group

* Fix typo and adjust hal's `log` dependency
2026-03-04 18:39:47 +01:00
Andy Leiserson 73624c9892 chore(deno): Implement is_fallback_adapter and validate feature level strings (#9043) 2026-02-23 11:10:43 -08:00
Andy Leiserson 835560396f test(cts): Enable some external texture tests (#8901) 2026-02-03 15:58:21 -08:00
Andy Leiserson 965b7cbe79 feat(deno): Associate external memory with GPUDevice
Enable some tests that previously OOMed in CI.
2026-01-27 13:11:40 -08:00
Andy Leiserson 77c614c628 fix(deno): Don't leak wgpu queues when they are never accessed from JS 2026-01-27 13:11:40 -08:00
Erich Gubler 0fbfbf8aa4 feat(core)!: add Limits::max_inter_stage_shader_variables 2025-12-23 16:09:17 -05:00
Connor FitzgeraldandJMS55 9a41de4e96 Move subgroup size info to AdapterInfo (#8609)
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
2025-12-04 17:01:56 +00:00
Kenta Moriuchi 67f7a4ea3b [deno] add illegal constructor errors
(cherry-picked from denoland/deno#30500)
2025-09-25 16:35:05 -04:00
Andy Leisersonandsnek b6b951d467 Update to deno 2.3.2
(cherry picked from denoland/deno#29166)

Co-authored-by: snek <snek@deno.com>
2025-09-25 16:35:05 -04:00
Kenta Moriuchi 99a6fdd803 [deno] move isFallbackAdapter from GPUAdapter to GPUAdapterInfo
Also fixes `Deno.privateCustomInspect`, which was defined as static
methods of the classes and was not working properly.

(cherry picked from denoland/deno#28650)
2025-09-25 16:35:05 -04:00
Andy Leiserson e714cb0339 [deno] Format with Deno's rustfmt config 2025-09-25 16:35:05 -04:00
Connor Fitzgerald 8d1f4bb5f2 Require token for experimental features (#8163) 2025-08-29 15:43:27 -04:00
Andy Leiserson e7a99be058 [deno] Fix some problems in the handling of device limits (#8085)
* Correct error type when a requested limit is too high
* Clamp requested limits to the WebGPU defaults

Fixes #8084
2025-08-20 14:58:56 -07:00
Andy Leiserson 201b2fba76 [deno] Don't report support for native-only features (#7813) 2025-06-27 10:05:13 -07: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
Andy Leiserson 26bab56fd5 [deno] Rework error and device loss handling (#7693) 2025-05-17 19:38:22 +02:00
Kevin Reid 326ad03ce1 Move trace_dir/trace_path to a custom enum inside DeviceDescriptor.
This allows `wgpu` to not unconditionally depend on `std::path::Path`.
It’s also, in my opinion, more user-friendly, because the feature which
most users will not use (and is not currently functional) is now a
defaultable struct field instead of a required parameter.

The disadvantage is that `wgpu-types` now has to know about tracing.
2025-03-10 22:17:06 -04:00
Leo Kettmeir f0bf789f58 refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00