1624 Commits
Author SHA1 Message Date
Andy Leiserson 5e1084c3e3 fix(metal): Resolve some color space constants dynamically (#9819) 2026-08-21 22:01:11 -04:00
Erich Gubler 42738aa794 backport: fix: use vk::Fence::null on non-Windows swapchain (#9918) 2026-08-21 22:01:09 -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
39ali e0a6065c65 fix(metal): Wait using a condition variable instead of polling
Fixes #8119
2026-06-04 17:11:59 -07: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
otjdiepluongandMaya 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