Commit Graph
1640 Commits
Author SHA1 Message Date
Andy Leiserson ef79a923cf hal/vulkan: With internal_error_panic, panic on Vulkan validation errors (#9879) 2026-07-17 12:41:57 -07:00
Kevin Reid 888e749799 Rename TextureFormat::is_srgb() to has_srgb_suffix(). (#9758) 2026-07-16 20:29:00 +00:00
Erich Gubler d73f0e5315 build: consume cfg_aliases 0.2.2 (#9885) 2026-07-16 15:39:48 -04:00
Erich Gubler 014d9e8481 fix: use vk::Fence::null on non-Windows swapchain (#9878) 2026-07-16 16:16:17 +00:00
Erich Gubler 15d817e404 Suppress semicolon_in_expressions_from_macros lint in build scripts (#9884) 2026-07-16 15:43:51 +00:00
Nick Babcock 4e58833072 Add wasm64 backend support for the web
This commit:

- Bumps glow to 0.18 which gains support for wasm64
- Updates cfg gates from `target_arch = "wasm32"` to `target_family =
"wasm"`

This commit, unfortunately, does not touch upon example code as that
brings in getrandom 0.3 (0.4 supports wasm64) through flume and
futures-lite
2026-07-15 09:15:33 -07:00
Erich Gubler ee9f40c316 chore: remove package.authors in Cargo.toml (#9862) 2026-07-15 11:41:12 -04:00
Sir 7c39e70502 printing average frame time in examples/halmark when bunnies are spawned after first 100 frames (#9854) 2026-07-15 17:36:11 +02:00
Erich Gubler 04129aadaf style: change {dxgi,dyn}_lib from CRLF → LF (#9868) 2026-07-14 09:54:04 -07:00
Nazar Mokrynskyi 748cca689a Downgrde info log to debug (#9846) 2026-07-10 17:36:36 +00:00
Stuart Parmenter 48904f8e76 fix(metal): Gate ExtendedDisplayP3 color space to macOS 11.0+ (#9833) 2026-07-08 17:49:06 -04:00
csmoe 25b4cda524 Add angle as gl backend on Windows (#9422) 2026-07-08 13:56:53 -04:00
teoxoy 0efd6dd7ce move DynLib & DxgiLib into auxil 2026-07-08 14:57:01 +02:00
teoxoy 6ebe618540 [dxgi] lookup CreateDXGIFactory1 dynamically 2026-07-08 14:57:01 +02:00
Anton Wetzel 839bb0260f Replace expect usage on vulkan surface creation with returning an InstanceError (#9806) 2026-07-07 13:47:17 -04:00
Andy Leiserson 93e0097601 fix(metal): Resolve some color space constants dynamically (#9819) 2026-07-07 11:00:10 +02: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
teoxoy 2ea3a1d41b [vulkan] advertise DownlevelFlags::SURFACE_VIEW_FORMATS if VK_KHR_swapchain is not available 2026-07-01 14:43:44 -04:00
teoxoy 995ee7b3f1 add Limits::max_buffers_and_acceleration_structures_per_shader_stage 2026-07-01 14:43:44 -04:00
lizelive 0853e7bdc1 fix: gate on static_dxc not static-dxc (#9785) 2026-07-01 17:18:48 +00:00
Andy Leiserson 8042314262 fix(hal): Clear query state on reused encoders (#9770) 2026-06-29 23:37:49 -04:00
VecvecandConnor Fitzgerald a03be8d223 [msl] Make ray queries safer (#9442)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-29 22:27:03 +00: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
Máté Homolya bf5c6cff4e Implement bindless buffers on metal (#9081) 2026-06-29 17:21:43 -04:00
Holger Trahe 2374e16ab9 Fixed partially-bound texture and storage-texture binding arrays (PAR… (#9653) 2026-06-29 15:04:06 -04:00
Francis De Brabandere 56535d7d90 fix(vulkan): enable vulkanMemoryModelDeviceScope with the memory model (#9741) 2026-06-28 22:26:49 -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
Andy Leiserson 7909dfc22b fix(vulkan): Disable memory budget on radv
For #9742
2026-06-25 22:17:07 -04:00
Andy Leiserson 8e6abb5662 refactor(vulkan): Create a helper to match driver IDs 2026-06-25 22:17:07 -04: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
VecvecandConnor Fitzgerald 743ac1f084 Hal ray tracing pipelines (#9464)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-25 18:53:10 -04:00
Aelin 2a05cf760b wgpu-hal: vulkan: Fix compilation for time64 systems (#9736) 2026-06-24 16:36:54 +00:00
d21c0d08ef Migrate from taplo to tombi for TOML CI (#9694)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
Co-authored-by: Kevin Reid <kpreid@switchb.org>
2026-06-19 13:53:49 +00:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
Teoxoy fff80cd7a3 [metal] fix end_query, the offset must match the slot 2026-06-17 11:53:01 -07:00
Teoxoy 79dc7b355e [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-17 11:53:01 -07:00
Teoxoy ef9974f9c4 [metal] don't advertise TIMESTAMP_QUERY_INSIDE_ENCODERS on Apple GPUs
From my testing the workaround on Apple GPUs is now always writing 0.
2026-06-17 11:53:01 -07: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
cohaeandConnor Fitzgerald 25169c75e9 Vulkan: Don't wait for vkAcquireNextImage fence on non-Windows targets (#9486)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-12 18:46:59 +00:00
Dzmitry MalyshauandConnor Fitzgerald 10f97e5777 Add emit_int_div_checks option to skip integer division safety wrappers (#9443)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-12 18:31:24 +00:00
Brian Misiak 98a70621f2 metal: detect BC texture support on iOS (#9656) 2026-06-11 11:42:53 -07:00
Jonathan Schwender c402c1cae0 fix(vulkan): Fix libvulkan loading on ohos (#9649) 2026-06-10 11:34:11 -04:00
Andy Leiserson dd007da02d fix(vulkan): Make error_if_would_oom_on_resource_allocation more accurate (#9643) 2026-06-10 11:44:03 +02:00
AdrianEddyandAndreas Reich 26e2525f8d [Metal/hal] Add metal::Queue::add_wait_event / add_signal_event for synchronization with external APIs (#9483)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-06-07 09:55:58 +00:00
AdrianEddyandAndreas Reich c003fc45e2 feat(gles): add support for 16-bit normalized texture formats and color attachments (#9601)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-06-07 09:02:33 +00:00
AdrianEddyandInner Daemons c3caf2feb4 [GLES/hal] Add gles::Device::buffer_from_raw for wrapping external buffers (#9550)
Co-authored-by: Inner Daemons <85136135+inner-daemons@users.noreply.github.com>
2026-06-07 10:20:47 +02:00
39ali 6877690dbe fix(metal): Fix hang waiting for an errored command buffer
Fixes #9531
2026-06-04 17:11:59 -07:00