Commit Graph
1721 Commits
Author SHA1 Message Date
Dmitry Samoylenko 466dc0ba08 perf(metal): Use Arcs rather than copying VertexBufferMappings (#10630) 2026-10-27 00:53:37 +00:00
Andy Leiserson 09a0eba3aa fix(metal): Update sampler binding array limit from Metal docs (#10649) 2026-10-22 06:37:24 +00:00
Andy Leiserson 4e3916783a Remove wgpu features for indicating Vulkan extension availability (#10635) 2026-10-22 06:20:43 +00:00
Lexo Liu 6511b8f2da Revert "vulkan: work around Arm drivers ignoring negative viewport heights" (#10674) 2026-10-20 18:15:13 +00:00
Simon Hausmann 05ae83af5e fix(metal): permit acquiring drawables until the window has been visible (#10302) 2026-10-20 17:38:14 +00:00
Acshi Haggenmiller 4bd4405d02 fix(msl): set the metal shader language version when in passthrough mode (#10574) 2026-10-17 01:46:19 +00:00
Yilmaz Kiymaz a4b0f2257a [hal vulkan] Enable the depthBiasClamp feature when it is supported (#10566) 2026-10-16 13:53:30 +00:00
Kevin Reid 20a17523e2 Fix Clippy lint from Rust versions newer than 1.96 (#10575) 2026-10-13 17:06:07 +00:00
zerozebrazone e375d51d36 docs: fix typos in comments (#10582)
Signed-off-by: zerozebrazone <zerozebrazone@outlook.com>
2026-10-13 15:55:19 +00:00
Simon Hausmann 14dd4e8f71 fix(vulkan): don't use timeline semaphores on VeriSilicon's driver (#10535) 2026-10-09 14:42:57 +00:00
superroket169 7b38991c62 test: move tests of the small crates into #[cfg(test)] modules (#10467) 2026-10-05 16:00:14 +00:00
Stuart Parmenter db0782e398 Use transient memory pool for compactable acceleration structures (#10233) 2026-10-03 00:17:04 +00:00
Luo Zhihao 573944a971 Vulkan: recover from fragmented descriptor pool allocation failures (#10264) 2026-10-02 21:35:31 +00:00
Stuart Parmenter 79348d63e6 Use separate Vulkan memory pool for TRANSIENT buffers (#10232) 2026-10-02 21:25:28 +00:00
Tom Schuster d1c95d96cd chore: Sort feature flags (#10475) 2026-09-29 02:42:40 +00:00
Jinlei Li 6726fa78ba fix(metal): Explicitly set sRGB surface color space (#10286) 2026-09-29 02:10:22 +00:00
Vecvec 74e9e08cd3 [hal, vulkan] Include ray tracing pipeline stage when ray tracing pipelines are supported (#10445) 2026-09-27 04:41:54 +00:00
Tom Schuster 2930d30d78 chore(metal): cleanup features flags (#10465) 2026-09-26 22:06:11 +00:00
Parman Mohammadalizadeh 7c8eee4744 fix(hal/vulkan): make copy-only textures viewable (#10245) 2026-09-24 17:33:00 +00:00
Lexo LiuandConnor Fitzgerald 94d9f2424e vulkan: work around Arm drivers ignoring negative viewport heights (#10058)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-24 12:02:12 +00:00
Jim Blandy 73fb9ea6bc [hal]: Document pipeline creation lifetime requirements. 2026-09-22 08:51:48 +00:00
edTheGuy00andConnor Fitzgerald 6576d41c7d fix(metal): report indirect execution and 256-byte uniform alignment … (#10189)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-18 21:14:19 +00:00
Connor Fitzgerald 35332d2114 Update agent tooling (#10202) 2026-09-18 15:06:10 +00:00
be43b095f2 [metal] cap the storage binding size at u32::MAX - 4 again (#10306)
Co-authored-by: nuri-yoo <nuri-yoo@users.noreply.github.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-09-17 04:26:26 +00:00
Vladas Zakrevskis 0aee018d25 fix(metal): guard wantsExtendedDynamicRangeContent on iOS below 16 (#10257) 2026-09-16 14:09:55 +00:00
f365d54803 implement debugPrintf in msl & spv (#9389)
Co-authored-by: atlv <email@atlasdostal.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-15 18:49:35 +00:00
renovate[bot]andConnor Fitzgerald 7dcf5c1820 Update Rust to 1.95 (#10207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-15 16:52:45 +00:00
Alex Andreba 1b3473981b Added drop_callback to dx12 hal types (#10303) 2026-09-15 14:43:19 +00:00
renovate[bot]andConnor Fitzgerald f00ee73afc Update Cargo.lock (#10330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-09-14 21:10:55 +00:00
Marcel StruckandAndreas Reich 3b3506ea31 Fix issue with surface drop panic (#10230)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-09-12 18:55:21 +00:00
Andy Leiserson 10fe6409d4 Partial snorm10-10-10-2 vertex format support (#10226) 2026-09-11 10:53:31 -04:00
Raph Levien 7a2c88d314 [vulkan] Fix interacting robust image access feature detection (#10291)
When the VK_EXT_robustness2 extension is present but reports robust image
access 2 not supported, fall back to checking VK_EXT_image_robustness for
robust image access 1 support instead of assuming no support for either
image robustness extension.
2026-09-10 17:26:38 -07:00
Matt Hargett 252b1dc3dd [metal] report an error instead of panicking on texture view creation (#10145) 2026-09-10 16:07:07 -07:00
Andy Leiserson 107e2827f7 chore: Fix CRLF line endings (#10299) 2026-09-10 05:56:36 -04:00
valadaptive e43fe641dd fix(gles): blit to the default back buffer (#10268) 2026-09-09 11:30:39 -04:00
Andy Leiserson f3982866be refactor(core): Replace StagingBuffer::write with write_exact 2026-09-08 15:07:15 -07:00
Andy Leiserson 377370d52b docs(hal): Details of buffer and binding sizes 2026-09-08 15:07:15 -07:00
Andy Leiserson d2ad891087 refactor(metal): Allow zeros in vertex_buffer_size_map 2026-09-08 15:07:15 -07:00
Andy Leiserson fb93139671 feat: Support zero-size vertex and index buffer bindings
Fixes #3170
2026-09-08 15:07:15 -07:00
Andy Leiserson ea0afc6216 refactor: Parameterize type of hal::BufferBinding::size; resolve sizes in core
For storage and uniform buffer bindings, the size is a `wgt::BufferSize`
(`NonZeroU64`). For vertex and index buffer bindings, the size is a 
`wgt::BufferAddress` (regular `u64`).

Temporarily breaks some zero-size vertex/index binding cases that worked
before (end of buffer); will be resolved in an immediate follow-up
commit that fully implements zero-size vertex/index binding support.
2026-09-08 15:07:15 -07:00
Jinlei Li aa468606d1 fix(metal): Disable framebuffer-only for alternate surface views (#10280) 2026-09-08 16:01:29 -04:00
Erich Gubler 9920c99c1d feat(core): add Limits::max_storage_{buffers,textures}_in_{vertex,fragment}_stage 2026-09-07 07:02:37 -04:00
Erich Gubler c044c86bc2 refactor: hoist max_storage_buffers_per_shader_stage above textures counterpart
This enforces spec. ordering in this one spot that doesn't follow it,
so it will make subsequent commits easier to follow.
2026-09-07 07:02:37 -04:00
Erich Gubler 19b095686d refactor(metal): destructure and shorthand assignment of max_{sampled,storage}_textures_per_shader_stage 2026-09-07 07:02:37 -04:00
Alex EggerandAndreas Reich 5c1748559d fix(hal/gles): copy every depth slice in copy_texture_to_texture (#10004)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-09-05 09:45:28 +00:00
JMS55 dd5c40b474 Support raytracing barycentrics for spirv, and fix spirv 1.4 handling for mesh and raytracing shaders (#10193) 2026-09-04 20:58:29 +00:00
Lucas Meurer 49afd3e380 Fix crash on older vulkan drivers when poolSizeCount == 0 (#10124) 2026-09-03 21:17:23 +02:00
Lucas Meurer 5887663c8e Fix dxc compile error when shader label contains : (#10134) 2026-09-01 16:35:51 -07:00
d30e2dd6d6 fix(hal/vulkan): count textures created by create_texture (#10022)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-09-01 10:47:44 +00:00
huihantao 7d1314d537 fix(dx12): actually use NONE comparison function when it is None (#10221) 2026-08-31 18:15:15 -04:00