Commit Graph
404 Commits
Author SHA1 Message Date
Andy Leiserson 08b244df91 build: Exclude wgpu-core when building the WebGPU-backend samples (#9557) 2026-06-12 13:39:28 -04:00
renovate[bot] ac2a02c1ae chore(deps): update rust crate glam to 0.33.0 (#9617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-03 11:31:25 -04:00
Andy Leiserson 4471e9d415 chore(deps): Remove unused dependency ctor (#9547) 2026-05-20 17:23:50 +02:00
Jim Blandy fa37706650 Roll back hashbrown dependency to 0.16. (#9503) 2026-05-04 17:04:08 -07: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
renovate[bot]andConnor Fitzgerald ef171c7c19 Rollup Dependency Updates (#9421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-22 17:58:29 +00: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
renovate[bot] 1c0434d7d1 chore(deps): update Rust crates: bit-set 0.9.0 → 0.10, bit-vec 0.9.0 → 0.9.1 (#9333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-08 15:20:04 +00:00
renovate[bot] 4eb6c34c20 chore(deps): update rust crate ctor to 0.8 (#9334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 12:28:18 -04:00
RobandJim Blandy 73600f11d7 Add no_std support for the naga/wgsl-in feature (#9055)
* add no_std support for naga/wgsl-in

* simplify emit_to_string_with_path signature to use &str instead of std::path::Path

* inline hexf-parse

* update Cargo.lock and .deny.toml

* Do provide full path in snapshot error messages.

---------

Co-authored-by: Jim Blandy <jimb@red-bean.com>
2026-03-25 08:12:33 -07:00
TornaxO7 098aaae40a Extend texture tests with exhaust (#9172) 2026-03-24 13:52:54 -06:00
Connor Fitzgerald 06e2c7d24a Release v29 (#9260) 2026-03-18 20:23:53 -04:00
Connor Fitzgerald 2810e95489 Update to winit 0.30 (#9089) 2026-03-18 20:34:12 +01:00
Connor Fitzgerald 384b7bb027 Update codespan-reporting to 0.13 (#9243) 2026-03-16 21:52:58 +00:00
renovate[bot]andConnor Fitzgerald f778c388be chore(deps): update dependencies (#9240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-16 17:12:12 +00:00
atlv c4c623fb45 wgpu-naga-bridge (#9201) 2026-03-13 11:09:12 -04:00
atlv 4e7ffe0938 Workaround Metal driver bug with atomic texture writes (#9185) 2026-03-13 11:01:23 -04:00
renovate[bot] 0832619600 chore(deps): update rust crate glow to 0.17 (#9174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 14:41:16 -04:00
Inner Daemons c7f3db8bf1 Remove dispatch2 dependency (#9048) 2026-02-18 16:55:20 -08:00
Erich Gubler 3f60e75976 chore: update min. req. for serde 1.0.219 -> 1.0.225 (#9076) 2026-02-18 14:55:47 -05: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
renovate[bot] 2057612344 chore(deps): update rust crate toml to v1 2026-02-18 10:42:37 -05:00
Erich Gubler 550997d4d0 chore: update min. req. for indexmap 2.8.0 -> 2.11.4 2026-02-18 10:42:37 -05:00
renovate[bot] 421bbfcc5d chore(deps): update rust crate glam to 0.32.0 (#9060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 23:35:51 -05:00
Connor Fitzgeraldandrenovate[bot] 02e905061b Update Cargo.lock (#9044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-12 16:31:38 +00:00
RobandConnor Fitzgerald 95392decd0 Add no_std support for the wgpu/web feature (#8981)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-02-11 23:39:34 +00:00
Andy Leiserson 2c9e77a19d clippy: Adjust large-error-threshold and remove waivers (#8974) 2026-01-30 22:37:24 -05:00
Inner Daemons fab57513ec Add metallib passthrough (#8886) 2026-01-30 13:52:05 -05:00
renovate[bot] 7717c87f28 chore(deps): update rust crate glam to 0.31.0 (#8928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-28 16:34:10 -05:00
Erich Gubler 487afd21e4 chore: update REPO_MSRV 1.92 → 1.93 2026-01-28 15:42:38 -05:00
Mads Marquart 4104aa1320 Use normal objc2 naming scheme 2026-01-27 16:28:08 -08:00
Mads Marquart 80871cfc01 Use objc2-metal with metal naming scheme
To keep the diff smaller and easier to review, this uses a temporary
fork of `objc2-metal` and `objc2-quartz-core` whose methods use the
naming scheme of the `metal` crate.

One particular difficult part with this is that the `metal` crate has
several methods where the order of the arguments are swapped relative
to the corresponding Objective-C methods.

This includes most perilously the following, since these have both an
offset and an index argument, both of which are integers:
- `set_bytes`
- `set_vertex_bytes`
- `set_fragment_bytes`
- `set_buffer`
- `set_vertex_buffer`
- `set_fragment_buffer`
- `set_threadgroup_memory_length`

But also:
- `set_vertex_texture`
- `set_fragment_texture`
- `set_sampler_state`
- `set_vertex_sampler_state`
- `set_fragment_sampler_state`
2026-01-27 16:28:08 -08:00
Mads Marquart 8ffa34a9d4 [metal] Use raw-window-metal to do layer creation (#6210)
This removes the manual implementation introduced in 7b00140.
2026-01-26 12:45:03 -08:00
Dzmitry Malyshau bff1f6d095 (Naga) Cooperative Matrix Support (#8251) 2025-12-22 13:14:57 -05:00
Connor Fitzgerald 3f02781bb5 update metal to 0.33 2025-12-17 22:05:10 -05:00
Connor Fitzgerald 68c74ff242 Update versions 2025-12-17 22:05:09 -05:00
Connor Fitzgerald daf69de67a Bump MSRV to 1.92 for real (#8723) 2025-12-17 17:12:23 +01:00
Connor Fitzgerald 621919ca84 Add missing features to wgpu dependency 2025-12-16 12:54:27 +01:00
5444e19e4f chore(deps): update rust crate flume to 0.12 (#8730)
Co-authored-by: cwfitzgerald <7861353+cwfitzgerald@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-12-15 18:03:16 +00:00
Inner Daemons cc005da1e1 Fix metal feature detection (#8439) 2025-12-12 15:08:38 -05:00
David Duarte ea361fc114 hal/vulkan: Replace gpu-alloc by gpu-allocator (#8158) 2025-12-12 19:10:42 +00:00
Connor Fitzgerald ca5e3f5ace Remove criterion from Cargo.toml 2025-12-03 11:29:56 -05:00
Connor Fitzgerald ed6b78936a Make error scopes thread local (#8585) 2025-11-27 11:20:30 +01:00
Connor Fitzgerald 853ad6c464 Setup and use new benchmarking harness (#8511) 2025-11-18 20:28:21 +00:00
renovate[bot] 306c4ebc35 Update Rust crate ron to 0.12 (#8539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 09:04:04 +01:00
Marijn Suijten 59a03eaf2f [d3d12 wgl] Upgrade to windows 0.62 crates (#6876)
* [d3d12 wgl] Upgrade to `windows 0.59` crates

https://github.com/microsoft/windows-rs/releases/tag/0.61.0

The latest `windows 0.59` and `windows-core 0.59` crates were
just released (strangely tagged `0.61`), including some minor code
improvements for us.  The MSRV has been bumped to `1.74`, but `wgpu` is
already on `1.76` anyway.

* [d3d12 wgl] Upgrade to `windows 0.61` crates

https://github.com/microsoft/windows-rs/releases/tag/63

* [d3d12 wgl] Upgrade to windows 0.62 crates

https://github.com/microsoft/windows-rs/releases/tag/69
2025-11-05 11:47:31 -05:00
Andy Leiserson 07ce023cf1 Replay traces with pointers as IDs 2025-10-30 13:52:58 +01:00
Andy Leiserson e584f382e0 Store pointers instead of IDs when tracing (1/2)
This updates pass operations.

The trace player is temporarily broken.
2025-10-30 13:52:58 +01:00
Andy Leiserson 5798a443d2 Add ReferenceType trait for command structures
Use it to deduplicate some `Foo` / `ArcFoo` / `TraceFoo` definitions.
2025-10-30 13:52:58 +01:00
Kevin Reid 585397cc9e Remove fragile dependency constraint on ordered-float. (#8371)
Bounds like `<=5.0` should never be used unless necessary to avoid bugs,
because it will cause a build failure if another package has a
requirement like `~5.1.0` or `>=5.1.0`. Upper bounds should always cut
at a major version boundary, not before it.
2025-10-17 19:00:00 +00:00