Andy Leiserson
ec98ef403e
docs(hal): Details of buffer and binding sizes
...
(cherry picked from commit 377370d52b )
2026-10-12 13:24:15 -07:00
Andy Leiserson
ee84090cc4
refactor(metal): Allow zeros in vertex_buffer_size_map
...
(cherry picked from commit d2ad891087 )
2026-10-12 13:24:15 -07:00
Andy Leiserson
9b585b2291
feat: Support zero-size vertex and index buffer bindings
...
Fixes #3170
(cherry picked from commit fb93139671 )
2026-10-12 13:24:15 -07:00
Andy Leiserson
034693ecea
refactor: Parameterize type of hal::BufferBinding::size; resolve sizes in core
...
For storage and uniform buffer bindings, the size is a `wgt::BufferSize`
(`NonZeroU64`). For vertex and index buffer bindings, the size is a
`wgt::BufferAddress` (regular `u64`).
Temporarily breaks some zero-size vertex/index binding cases that worked
before (end of buffer); will be resolved in an immediate follow-up
commit that fully implements zero-size vertex/index binding support.
(cherry picked from commit ea0afc6216 )
2026-10-12 11:53:17 -07:00
Teodor Tanasoaia
7421de095a
[d3d12] initialize padding of intermediary buffers used for texture to buffer copies ( #10005 )
...
(cherry picked from commit 6aa5fe71f5 )
2026-08-17 15:00:32 -07:00
Andy Leiserson
5815bbe7cb
fix(hal): Clear query state on reused encoders
...
(cherry picked from commit 8042314262 )
2026-07-30 11:15:45 -07:00
Teoxoy
1ff557ddf6
[metal] fix end_query, the offset must match the slot
2026-06-25 18:47:10 +02:00
Teoxoy
a2f878f0dd
[metal] remove impl of reset_queries
...
Setting the slots to 0 for occlusion query sets is not necessary since
wgpu-core keeps track of slot initialization state.
2026-06-25 18:47:04 +02:00
teoxoy
0ff42e7806
fix typo in comment
2026-06-03 23:36:32 +02:00
teoxoy
e9b9a82981
add downlevel flag for BC || (ETC2 && ASTC)
2026-06-03 23:36:32 +02:00
Teoxoy
31d22915be
[indirect-draw-validation] don't attempt indirect draw validation for mesh shaders since it's not supported
2026-06-03 22:43:37 +02:00
AdrianEddy
d73c7560b4
fix(dx12): Handle multi-planar formats in texture copy operations ( #9551 )
2026-06-03 19:52:20 +02:00
Vecvec
a1fceed071
Move fence synchronisation into wgpu-hal ( #9475 )
2026-05-28 14:49:12 -07:00
Andy Leiserson
1503796ad4
refactor(hal): Remove unnecessary unsafe Send/Sync impls ( #9580 )
2026-05-26 23:23:51 +00:00
Andy Leiserson
22bea009e6
fix(gles): Tidy locking in struct Buffer ( #9505 )
2026-05-22 16:58:36 -07:00
otjdiepluong and Maya Chen
ca0475384f
fix: duplicated words in wgpu-hal lib.rs and wgpu-types surface/limits doc-comments ( #9549 )
...
Signed-off-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com >
Co-authored-by: Maya Chen <275405107+otjdiepluong@users.noreply.github.com >
2026-05-20 11:24:06 -04:00
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 Tanasoaia and Connor 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 Hargett and Connor 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 Reich and Connor 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