Commit Graph
27 Commits
Author SHA1 Message Date
Sam feab2f79ef Add DeviceDescriptor::default_queue: QueueDescriptor to support setting label to queue (#10109)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-19 10:06:10 +00:00
sagudev 94b3c5ea3c remove generate_report and all tests that uses them
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-12 14:59:54 +02:00
Stuart Parmenter 3fb225a9c6 Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU (#9658) 2026-06-26 03:52:05 +00:00
273dcf882e Add comments to framework.rs explaining animation loop and VSync (#9635)
Co-authored-by: theoxfaber <shankmukhkiransagar@gmail.com>
Co-authored-by: Shanmukh kiran Sagar <shanmukhkiransagar@Shanmukhs-MacBook-Air.local>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-15 17:40:32 +00:00
atlas 2e1cc4b1a6 feat: Move present from SurfaceTexture to Queue in public API 2026-04-14 10:51:03 +02:00
atlv ed4a28aef0 Make get_mapped_range return a Result rather than panicking (#9281) 2026-04-08 21:22:00 -04:00
TornaxO7andAndreas Reich 9557c6e371 fix(02_hello_window): drop texture if surface texture is suboptimal (#9384)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-04-08 17:27:38 +02:00
Charlie Tonneslan 5574c21126 Fix typo: dependant -> dependent in framework.rs comment (#9288) 2026-03-23 13:55:18 -04:00
Andreas ReichandConnor Fitzgerald e4dae053c0 Change get_current_texture output to a unified enum (#9257)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-18 22:12:58 +00:00
Connor Fitzgerald 2810e95489 Update to winit 0.30 (#9089) 2026-03-18 20:34:12 +01:00
Marijn Suijten 35db26b2c6 Make HasDisplayHandle optional in WindowHandle (#8782) 2026-03-10 11:36:12 -04: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
Marijn Suijten 234ec66152 Allow optional RawDisplayHandle in InstanceDescriptor (#8012) 2025-12-23 14:53:04 -05:00
Connor Fitzgerald dc01e6e213 Normalize logging levels (#8579) 2025-11-27 10:55:02 +01:00
Connor Fitzgerald 07d4db5ab9 Always report selected adapter in the framework (#8528) 2025-11-16 10:40:23 +01:00
Connor Fitzgerald 7d8e7b447a Remove accidentally committed test code (#8489) 2025-11-06 10:43:25 -05:00
Connor Fitzgerald a682d9e15a Update desired_maximum_frame_latency documentation (#8421) 2025-10-30 13:57:52 +01:00
Andreas Reich 333f811e9c Rework wgpu::PollType to only two enum variants (#8285) 2025-10-01 18:08:07 -04:00
05cc6dca82 [hal/dx12] Mesh Shaders (#8110)
* Features and draw commands added

* Tried to implement the pipeline creation (completely untested)

* Fixed clippy issues

* Fixed something I think

* A little bit of work on the mesh shader example (currently doesn't work on dx12)

* Reached a new kind of error state

* Fixed an alignment issue

* DirectX 12 mesh shaders working :party:

* Removed stupid change and updated changelog

* Fixed typo

* Added backends option to example framework

* Removed silly no write fragment shader from tests to see if anything breaks

* Tried to make mesh shader tests run elsewhere too

* Removed printlns and checked that dx12 mesh shader tests run

* Documented very strange issue

* I'm so lost

* Fixed stupid typos

* Fixed all issues

* Removed unnecessary example stuff, updated tests

* Updated typos.toml

* Updated limits

* Apply suggestion from @cwfitzgerald

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

* Apply suggestion from @cwfitzgerald

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

* Removed supported backends, made example & tests always pass the filename to shader compilers

* Removed excessive bools in test params

* Added new tests to the list

* I'm a sinner for this one (unused import)

* Replaced random stuff with test params hashing

* Updated typos.toml

* Updated -Fo typo thing

* Actually fixed typo issue this time

* Update CHANGELOG.md

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

* Update tests/tests/wgpu-gpu/mesh_shader/mod.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update wgpu-hal/src/dx12/mod.rs

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

* Addressed comments

* Lmao

---------

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-25 03:24:56 +00:00
Connor Fitzgerald 8d1f4bb5f2 Require token for experimental features (#8163) 2025-08-29 15:43:27 -04:00
Andy Leiserson 9a596fa1dc Fix warnings from the nightly Rust compiler (#7964) 2025-07-17 16:08:06 -04:00
Connor Fitzgerald ff0de91ad7 Bump REPO_MSRV to 1.88 (#7960) 2025-07-17 13:00:40 -04:00
Kevin Reid 326ad03ce1 Move trace_dir/trace_path to a custom enum inside DeviceDescriptor.
This allows `wgpu` to not unconditionally depend on `std::path::Path`.
It’s also, in my opinion, more user-friendly, because the feature which
most users will not use (and is not currently functional) is now a
defaultable struct field instead of a required parameter.

The disadvantage is that `wgpu-types` now has to know about tracing.
2025-03-10 22:17:06 -04:00
Connor Fitzgerald 194d4b1f36 New Binding Array Limit (#6952) 2025-02-17 09:22:24 -05:00
Connor Fitzgerald 7e119968ce Properly Deal with Timeouts (#7030) 2025-02-14 23:19:51 +00:00
Kamil Jarosz 43eb6c99b0 examples: Call pre_present_notify before presenting (#7074)
According to winit docs, pre_present_notify() should be called right
before calling present().

This actually prevents some issues on Wayland, like freezing the whole
application when the window is not visible (ask me how I know).
2025-02-10 08:19:54 +00:00
Connor Fitzgerald c73bd2fa60 Move Examples to Subfolder 2025-01-20 18:07:22 -05:00