Commit Graph
20 Commits
Author SHA1 Message Date
Andreas Reich 333f811e9c Rework wgpu::PollType to only two enum variants (#8285) 2025-10-01 18:08:07 -04:00
Andy Leiserson 61e5124eb9 [deno] Return undefined instead of null from WebGPU APIs (#8266)
See denoland/deno#29603
2025-09-26 20:10:09 -04:00
Erich Gubler 2b71b1f99d feat(deno): accept GPUTexture as GPUBindingResource 2025-09-26 17:51:35 -04:00
Erich Gubler 375095f789 feat(deno): accept GPUBuffer as GPUBindingResource 2025-09-26 17:51:35 -04: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
Leo Kettmeir 190050e296 [deno] add deviceStartCapture and deviceStopCapture
This is achieved by adding a new `Deno.webgpu` namespace which will be
used for non-spec functionality, which for now will be marked as
unstable

(cherry picked from denoland/deno#28192)
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
teoxoy 63f3df86c8 [wgpu-core] split command encoders from command buffers 2025-07-22 16:19:18 +02:00
Teodor Tanasoaia d2f8c44ac6 [wgpu-core] remove implicit PL & BGL IDs from pipeline creation (#7967) 2025-07-18 13:04:46 -04:00
Andy Leiserson 2db1d71f1b [deno] Implement nullable vertex buffer layouts 2025-07-10 09:52:20 -07:00
Erich Gubler d8d1af24b6 refactor(deno): impl From<wgpu_types::DeviceLostReason> for GPUDeviceLostReason 2025-06-30 10:58:56 -04:00
Andy Leiserson afa0f71736 [deno] Fix dropping of command encoders/buffers, and an enum typo (#7808)
Fixes #7797
2025-06-16 10:50:19 -07:00
Andy Leiserson e9af205c71 [deno] Implement ShaderModule.getCompilationInfo (#7736) 2025-06-11 03:49:39 -04: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
Connor Fitzgerald c860a2cf8c Rename and unsafe start_capture -> start_graphics_debugger_capture (#7470)
* Improve `start_capture` docs

* Docs
2025-04-03 13:07:22 -04:00
Connor Fitzgerald 7e119968ce Properly Deal with Timeouts (#7030) 2025-02-14 23:19:51 +00:00
Connor Fitzgerald 106b709798 Remove HashMaps from wgpu API (#7133)
* Remove HashMaps from Surface API

* Fix Comments and Errors
2025-02-14 14:36:22 -05:00
Leo Kettmeir f0bf789f58 refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00