Commit Graph
1581 Commits
Author SHA1 Message Date
Connor Fitzgerald d88b06caca Fix type resolution issue in GL push constants (#9116) 2026-05-20 08:19:51 -07:00
Andy Leiserson 34e688f816 fix(metal): Restore the Queue::as_raw method (#9560) 2026-05-17 22:16:30 -04:00
AdrianEddy ed4d16e56c hal/metal: Expose raw_device() from Metal Adapter (#9518) 2026-05-12 17:18:50 -07:00
Andy Leiserson 928ddb40f5 fix(dx12): Map components properly for textureLoad from stencil (#9520) 2026-05-12 12:00:21 +02:00
Andy Leiserson e6ee3aa4a8 fix(gles): Remove debug_assert_eq!(gl_fence.value, wait_value) (#9502) 2026-05-06 18:10:34 +02:00
N.E.C. bb83a5824a Allow empty buffer slices to be instantiated (#8505) 2026-05-03 22:40:29 +02:00
AdrianEddy cd80751e6b [Vulkan] Add drop_guard to Buffer for externally owned buffers (#9452) 2026-05-03 16:53:29 +02:00
AdrianEddy 1ab3b90289 [Dx12/hal] Add Queue::add_wait_fence / add_signal_fence for coordination with external APIs (#9463) 2026-04-29 23:12:55 -04:00
Neel Tamtam 2a9c23f607 Vulkan: Use Drop impl for swapchain and surface (#9449) 2026-04-29 23:29:45 +00:00
Andy Leiserson 89be5d5301 fix(metal): Check ObjC introspection for supportsShaderBarycentricCoordinates (#9472) 2026-04-29 19:04:41 -04:00
AdrianEddy dc7f438bd0 [Vulkan/hal] Add Queue::add_wait_semaphore functions (#9461) 2026-04-29 18:57:02 -04:00
Willow Griffiths c406a89bcf Add raw_handle method on vulkan::Buffer (#9459) 2026-04-29 18:51:07 -04:00
Teodor TanasoaiaandConnor Fitzgerald a03e86608d [vk] implement our own descriptor allocator (#9161)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-29 22:40:16 +00:00
Matt HargettandConnor Fitzgerald e02d64bf61 [metal] arm64_32 (ILP32/watchOS) support (#9411)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-29 18:27:35 -04:00
Jack Lavigne 632ab0f9ad Add WebGL2 Adapter::new_external() + context accessor (#9438) 2026-04-29 20:35:13 +00:00
JMS55 868eb17098 SHADER_I16 full support (#9412) 2026-04-24 20:49:41 -04:00
Ali e14294e8eb fix(metal): Add missing autorelease pools 2026-04-23 16:12:09 +00:00
Vecvec 56e4a389dd [spv-out] ray tracing pipelines (#9085) 2026-04-20 17:02:49 +02:00
Teodor Tanasoaia 5eeb484758 D3D12 root element cleanup (#9432) 2026-04-19 21:57:21 +02:00
Andy Leiserson 61e76ee746 fix(core): Use more checked arithmetic, part 2b (#9425) 2026-04-16 14:27:01 +02:00
Andreas ReichandConnor Fitzgerald 006e346a94 Don't fail metal create_fence if no shared event could be created (#9415)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-16 01:04:16 +00:00
Teodor Tanasoaia cc44c1f616 [d3d12] always expose Features::FLOAT32_BLENDABLE (#9431) 2026-04-15 11:46:36 -04:00
teoxoy 4bbed4074c add max_bind_groups_plus_vertex_buffers limit 2026-04-14 17:20:15 -07:00
teoxoy 2060683c29 make vertex buffer slots optional 2026-04-14 17:20:15 -07:00
Ivan Mironov 85a85d9092 Ignore maxFragmentCombinedOutputResources for Mesa's Honeykrisp driver (#9393) 2026-04-14 13:26:55 -04:00
atlas 95b06abb94 doc(hal): Add safety invariants to Queue::present 2026-04-14 10:51:03 +02:00
atlas d672184e54 feat(hal): Add Queue::wait_for_idle 2026-04-14 10:51:03 +02:00
Tom Schuster 7143bbe882 Re-vendor WebGPU (#9090) 2026-04-12 20:00:46 +02:00
Erich Gubler 10ce22b2ea refactor!: subvert-rename dispatch* to dispatchWorkGroups* (#9362) 2026-04-11 20:58:22 +02:00
teoxoy 9d5311a95f [metal] lower max_inter_stage_shader_variables to 30 on non-Apple GPUs 2026-04-11 00:55:54 -04:00
teoxoy 8c40370eae [d3d12] lower max_vertex_attributes to 30
See https://github.com/gpuweb/gpuweb/pull/5604#discussion_r2967504832
2026-04-11 00:55:54 -04:00
atlas a6a70bbbac doc(hal): fix timeout description 2026-04-10 17:11:07 +02:00
atlas 02e00a1f4d fix(hal/vulkan): propagate wait_for_fence timeout 2026-04-10 17:11:07 +02:00
atlv e6e5f5288c Bring immediate in line with webgpu spec (#9280) 2026-04-09 22:36:02 +00:00
Andy Leiserson acc5855e1f fix(core): Use more checked arithmetic, part 2 (#9363) 2026-04-09 15:21:20 -06:00
Jim Blandy bf8330c20b Make DRM support optional. (#9390) 2026-04-09 13:11:04 -07:00
Ali bde709122f add Metal support for MULTISAMPLE_ARRAY (#9300) 2026-04-09 09:44:45 -04:00
Inner DaemonsandConnor Fitzgerald 8bc9fc1795 Add GLSL passthrough (#9064)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 22:03:34 -04:00
countgitmickandYour Name 9d31bca996 feat(vulkan): add DMA-buf texture import on Linux (#9366)
Co-authored-by: Your Name <you@example.com>
2026-04-08 22:02:37 -04:00
countgitmickandYour Name e25b34fbe2 refactor(vulkan): extract tiling parameter from create_image_without_memory (#9365)
Co-authored-by: Your Name <you@example.com>
2026-04-08 21:27:54 -04:00
Andreas ReichandConnor Fitzgerald 013ed8769e Fix missing dependency feature activations when building wgpu-hal with gles/dx12 in isolation (#9325)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 19:32:00 +00:00
羊撅撅 6e37845ff9 feat(wgpu-hal/dx12): add raw_resource method to Buffer (#9364) 2026-04-08 17:11:15 +02:00
sotaroikeda a29a8fcf6e Add Queue::remove_signal_semaphore() (#9388) 2026-04-08 09:50:40 +02:00
Inner DaemonsandAndreas Reich b5bd5aed7d Mesh shaders MSL writer (#8739)
* Single squashed commit

* Updated changelog

* Fixed stupid changelog thing

* If I have to do this one more fucking time I'm gonna lose it

* Removed some pub(super)'s

* Thing

---------

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-04-07 17:26:22 +00:00
Ali 74827c4181 Implements #9176 : [[max_total_threads_per_threadgroup]] MSL attribute (#9327)
* Implements #9176 : `[[max_total_threads_per_threadgroup]]` MSL attribute

* introduced `DownlevelFlags::MSL2_1`
2026-04-07 11:40:13 +02:00
e46eda2e4f Full per_vertex implementation (#9219)
* Some stuff worked on

* Works on MSL

* Ready for test 2

* Fix for a thing lol

* Fixed 2 errors

* Fixed DXC

* Add changelog

* Updated CI to hopefully pass on macOS

* Various fixes

* Some final fixes

* CHanged CI

* Update naga/src/front/wgsl/parse/directive/enable_extension.rs

Co-authored-by: atlv <email@atlasdostal.com>

* Thing

---------

Co-authored-by: atlv <email@atlasdostal.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-02 05:33:42 +00:00
Teodor Tanasoaia 3909348d0d [d3d12] prefix enum variants with V instead of _ (#9337) 2026-03-30 18:03:40 +00:00
Mohamed Taha GUELZIM 55093bf2d1 fix(wgpu-hal/vulkan): only request shaderDrawParameters when needed (#9331)
Backport of the fix to v29.0.1 for use via [patch.crates-io].

Fixes #9293.
2026-03-30 15:52:33 +02:00
Kristoffer Søholm f5bc1ffb06 Fix wrong binding array sampler limit in dx12 (#9330) 2026-03-29 16:36:10 -04:00
John Tur 5ccf829118 Add XCB display handle support to EGL backend 2026-03-28 12:59:19 +01:00