Alexander Bruun and Connor Fitzgerald
8c30789740
feat(vulkan): allow specifying queue family ownership transfer in texture barriers ( #9668 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-08-14 23:27:28 +00:00
Daniel Lehmann
270bd5d3ad
[hal] Add BufferBinding::buffer read accessor ( #9820 )
2026-07-06 23:51:13 -04:00
Kevin Reid
8b6c34ee9b
Always extern crate std when cfg(test). ( #9817 )
2026-07-06 23:48:52 -04:00
Stuart Parmenter
cf2dbfd40f
Add display HDR query (Surface::display_hdr_info): DX12, Vulkan, Metal, Web ( #9739 )
2026-06-29 18:13:31 -04:00
Stuart Parmenter
3fb225a9c6
Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU ( #9658 )
2026-06-26 03:52:05 +00:00
Stuart Parmenter
c3ff2672c2
fix(hal): derive Debug for PipelineGroupData ( #9748 )
2026-06-26 00:20:49 +00:00
Kevin Reid
156741bcb2
Add Debug implementations and missing_debug_implementations lint. ( #9744 )
2026-06-25 18:57:47 -04:00
Vecvec and Connor Fitzgerald
743ac1f084
Hal ray tracing pipelines ( #9464 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-06-25 18:53:10 -04:00
Jerzy Wilczek
792ec39c99
Add DropGuards to Metal Textures ( #9634 )
2026-06-16 09:20:27 -04:00
Inner Daemons
1c42a95e37
Add naga-types crate ( #9434 )
2026-06-15 16:11:06 +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
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
Andy Leiserson
e6ee3aa4a8
fix(gles): Remove debug_assert_eq!(gl_fence.value, wait_value) ( #9502 )
2026-05-06 18:10:34 +02:00
AdrianEddy
cd80751e6b
[Vulkan] Add drop_guard to Buffer for externally owned buffers ( #9452 )
2026-05-03 16:53:29 +02:00
teoxoy
2060683c29
make vertex buffer slots optional
2026-04-14 17:20:15 -07: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
Erich Gubler
10ce22b2ea
refactor!: subvert-rename dispatch* to dispatchWorkGroups* ( #9362 )
2026-04-11 20:58:22 +02:00
atlas
a6a70bbbac
doc(hal): fix timeout description
2026-04-10 17:11:07 +02:00
Andy Leiserson
acc5855e1f
fix(core): Use more checked arithmetic, part 2 ( #9363 )
2026-04-09 15:21:20 -06:00
Inner Daemons and Connor Fitzgerald
8bc9fc1795
Add GLSL passthrough ( #9064 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-04-08 22:03:34 -04:00
Kevin Reid
1148bac37c
Convert comments on lint attributes to reasons. ( #9292 )
2026-03-24 18:58:52 +00:00
Niklas Eicker and Connor Fitzgerald
62c2f5da97
Move ordered usages to hals ( #8924 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-03-15 03:23:32 +00:00
Emil Ernerfeldt
12b9d4996b
macOS: Fix one-second delay when switching a wgpu app to the foreground ( #9141 )
2026-03-08 23:17:13 +01:00
Teodor Tanasoaia
e114d2f0a7
Add support for gaps in bind group layouts & update relevant validation ( #9034 )
...
* [wgpu-core] add support for optional BG & BGL entries
* [wgpu] allow gaps in bind group layouts
And allow unbinding in the web backend.
* adapt tests
* add changelog entry
* [wgpu] remove generic from `PipelineLayoutDescriptor`
2026-02-25 19:47:36 +01:00
Alexander Meißner
05861da365
[hal metal] ray tracing acceleration structures ( #8071 )
...
* Fixes index_buffer label in ray_traced_triangle example.
* Fixes min_push_constant_size in ray_shadows example.
* Ensures there always is Some() buffer reference, even for get_acceleration_structure_build_sizes().
* Updates CHANGELOG.
* Adds feature detection.
* Adds Capabilities Limits.
* Adds necessary objc2-metal features in Cargo.toml
* Sets raw_tlas_instance_size.
* Sets ray_tracing_scratch_buffer_alignment.
* Adds conv::map_index_format().
* Adds conv::map_acceleration_structure_descriptor().
* Implements AccelerationStructure.
* Implements resource binding.
squash with "Implements resource binding."
* Adds CommandState::acceleration_structure_builder.
* Implements CommandEncoder::copy_acceleration_structure_to_acceleration_structure().
* Implements CommandEncoder::build_acceleration_structures().
* Implements CommandEncoder::place_acceleration_structure_barrier().
* Implements CommandEncoder::read_acceleration_structure_compact_size().
* Implements Device::get_acceleration_structure_build_sizes().
* Implements Device::get_acceleration_structure_device_address().
* Implements Device::create_acceleration_structure().
* Implements Device::destroy_acceleration_structure().
* Implements Device::tlas_instance_to_bytes().
* Adds CommandEncoder::set_acceleration_structure_dependencies().
* Review feedback
2026-02-19 06:21:11 +13:00
Inner Daemons
fab57513ec
Add metallib passthrough ( #8886 )
2026-01-30 13:52:05 -05:00
Erich Gubler
9bc127f128
chore: update CORE_MSRV to 1.90 ( #8943 )
...
New cases for some Clippy lints pop up as part of this upgrade that
cannot be done before, listed below. Yuck!
- `clippy::manual_is_multiple_of`
- `clippy::missing_const_for_fn`
- `clippy::useless_nonzero_new_unchecked`
2026-01-27 19:37:10 -05:00
Teodor Tanasoaia
0cd51d20f3
[d3d12] fix panics in adapter creation ( #8845 )
2026-01-08 16:50:02 -05:00
Marijn Suijten
234ec66152
Allow optional RawDisplayHandle in InstanceDescriptor ( #8012 )
2025-12-23 14:53:04 -05:00
Dzmitry Malyshau
bff1f6d095
(Naga) Cooperative Matrix Support ( #8251 )
2025-12-22 13:14:57 -05:00
Teodor Tanasoaia
5c76751104
[d3d12] add support for optional adapter telemetry ( #8576 )
2025-12-16 12:34:29 -05:00
Connor Fitzgerald
e52e8336b0
Bring immediate api in line with spec ( #8724 )
2025-12-16 13:13:09 +01:00
David Duarte
ea361fc114
hal/vulkan: Replace gpu-alloc by gpu-allocator ( #8158 )
2025-12-12 19:10:42 +00:00
Connor Fitzgerald
e3149bac9e
LoadOp::DontCare ( #8549 )
2025-12-08 03:41:38 +00:00
Connor Fitzgerald
5895de82b5
Rename push constants to immediates ( #8586 )
2025-12-01 15:20:02 +01:00
ad0f3111b7
Add multiview limits and tests ( #8206 )
...
Co-authored-by: Andreas Reich <r_andreas2@web.de >
Co-authored-by: Magnus <85136135+SupaMaggie70Incorporated@users.noreply.github.com >
2025-11-01 12:08:15 +00:00
Erich Gubler
4db543cf9b
refactor(hal): impl. From conversions b/w wgh::CopyExtent and wgt::Extent3d
2025-10-14 09:39:56 -04:00
Sam
a8f51f8fd1
Split MipmapFilterMode from FilterMode ( #8314 )
2025-10-08 18:06:33 +02:00
Connor Fitzgerald
e73d0558f0
Fix docs.rs build ( #8292 )
2025-10-06 13:11:48 -04:00
Andreas Reich
00ea850d79
Allow timeouting on poll ( #8282 )
2025-10-01 07:19:24 +00:00
Magnus and Connor Fitzgerald
17a17f716a
Initial precompiled shaders implementation ( #7834 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2025-08-20 16:20:59 -04:00
Jamie Nicol
486c151772
[dx12,vulkan] Add support for P010 texture format ( #8086 )
...
P010 is a 4:2:0 chroma subsampled planar format, similar to NV12. Each
component uses 16 bits of storage, of which only the high 10 bits are
used. On DX12 this maps to DXGI_FORMAT_P010, and on Vulkan this maps to
G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16.
The existing "nv12" gpu test module has been renamed to
"planar_texture", and a new test P010_TEXTURE_CREATION_SAMPLING has
been added similar to the existing NV12_TEXTURE_CREATION_SAMPLING. The
remaining tests in this module have been converted to validation tests,
and now test both NV12 and P010 formats.
2025-08-13 15:35:20 +02:00
Jim Blandy
01b3204e7f
[hal] Minor doc clarification. ( #8087 )
...
Don't use the term "single-threaded", since it's confusing. Just say
what you mean.
2025-08-12 12:54:04 -04:00
SupaMaggie70Incorporated
074c0e7191
Add mesh shading api to wgpu & wgpu-core ( #7345 )
2025-07-24 20:58:56 -04:00
Jamie Nicol
7087f0c01f
[wgpu-core] Allow creation of bind groups containing external textures
...
Adds a `BindingResource` variant for external textures. In core's
create_bind_group() implementation, allow binding either external
textures or texture views to `BindingType::ExternalTexture` layout
entries.
In either case, provide HAL with a `hal::ExternalTextureBinding`,
consisting of 3 `hal::TextureBinding`s and a `hal::BufferBinding`. In
the texture view case we use the device's default params buffer for
the buffer. When there are fewer than 3 planes we can simply repeat an
existing plane multiple times - the contents of the params buffer will
ensure the shader only accesses the correct number of planes anyway.
Track the view or external texture in `BindGroupStates` to ensure they
remain alive whilst required.
And finally, add the corresponding API to wgpu, with an implementation
for the wgpu-core backend.
2025-07-22 15:38:15 -07:00
Connor Fitzgerald
ff0de91ad7
Bump REPO_MSRV to 1.88 ( #7960 )
2025-07-17 13:00:40 -04:00
Connor Fitzgerald
49b773fde2
Add some documentation to wgpu-hal types
2025-07-16 15:10:00 -04:00
Connor Fitzgerald
1ed61877b5
Remove wgpu_core::hal_api::HalApi
2025-07-16 15:10:00 -04:00