Commit Graph
814 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
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
teoxoy e9b9a82981 add downlevel flag for BC || (ETC2 && ASTC) 2026-06-03 23:36:32 +02:00
teoxoy c0276d7140 add InstanceFlags::STRICT_WEBGPU_COMPLIANCE 2026-06-03 23:36:32 +02:00
Rui He 5c4cdc16a4 fix(doc): fix wording wrt TIMESTAMP_QUERY features (#9593) 2026-05-28 11:02:06 -07:00
Andy Leiserson dd63d2244c More map_label changes (#9526) 2026-05-26 23:09:57 +00: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
Cupcake6 b2adc9cfce Fix a documentation typo for backend_options field (#9522) 2026-05-11 10:37:56 -07:00
Luo Zhihao 4448bc7735 Add missing map_label and ser/de to wgpu-types/texture (#9480) 2026-05-07 11:01:46 -07:00
Luo Zhihao 72bb53b0ed Change map_label_and_view_formats to take view_formats by reference (#9481) 2026-05-06 13:19:14 -07:00
JMS55 868eb17098 SHADER_I16 full support (#9412) 2026-04-24 20:49:41 -04:00
TornaxO7andConnor Fitzgerald ff438f3cad doc: remove D3D11 mentions (#9437)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-17 15:03:29 -04:00
Andy Leiserson 61e76ee746 fix(core): Use more checked arithmetic, part 2b (#9425) 2026-04-16 14:27:01 +02:00
Kevin Reid 0b4bdaf9ce Prevent deserializing or defaulting LoadOp::DontCare, for soundness. (#9428) 2026-04-14 20:37:12 -04:00
teoxoy 4bbed4074c add max_bind_groups_plus_vertex_buffers limit 2026-04-14 17:20:15 -07:00
Tom Schuster 7143bbe882 Re-vendor WebGPU (#9090) 2026-04-12 20:00:46 +02:00
Erich Gubler 10ce22b2ea refactor!: subvert-rename dispatch* to dispatchWorkGroups* (#9362) 2026-04-11 20:58:22 +02:00
Tem3dy 924c62334d Add BlendState::ADDITIVE for additive blending (#9399) 2026-04-10 13:11:44 -04:00
Andy Leiserson acc5855e1f fix(core): Use more checked arithmetic, part 2 (#9363) 2026-04-09 15:21:20 -06:00
Ali bde709122f add Metal support for MULTISAMPLE_ARRAY (#9300) 2026-04-09 09:44:45 -04:00
Inner DaemonsandConnor Fitzgerald 8bc9fc1795 Add GLSL passthrough (#9064)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 22:03:34 -04:00
countgitmickandYour Name 9d31bca996 feat(vulkan): add DMA-buf texture import on Linux (#9366)
Co-authored-by: Your Name <you@example.com>
2026-04-08 22:02:37 -04:00
Vecvec daced7acb9 Enable ray tracing example tests on metal (#9324) 2026-04-08 20:43:57 -04:00
Inner DaemonsandAndreas Reich b5bd5aed7d Mesh shaders MSL writer (#8739)
* Single squashed commit

* Updated changelog

* Fixed stupid changelog thing

* If I have to do this one more fucking time I'm gonna lose it

* Removed some pub(super)'s

* Thing

---------

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-04-07 17:26:22 +00:00
Ali 74827c4181 Implements #9176 : [[max_total_threads_per_threadgroup]] MSL attribute (#9327)
* Implements #9176 : `[[max_total_threads_per_threadgroup]]` MSL attribute

* introduced `DownlevelFlags::MSL2_1`
2026-04-07 11:40:13 +02:00
Dylan Blokhuis 438ed2a7ce feat(core): support building custom geometry BLAS (#9290) 2026-04-01 20:55:22 +13:00
Kevin Reid ede73935b3 Make more WriteOnly methods const.
In particular, conversions to and from pointers and references are now const.
This allows constructing `WriteOnly::from_mut(&mut [])` in const eval, which
may be useful for applications wishing to have constant empty values.

I can’t think of a reason to actually write through a `WriteOnly` in const,
but we might as well allow the amount of it we can, too.
2026-03-28 12:29:09 +01:00
cui ce433776b5 fix(types): remove duplicate max_texture_dimension_1d in with_limits! (#9311) 2026-03-26 11:32:04 +01:00
Andy Leiserson 9c5adb73a7 fix(types): Check that with_limits! is exhaustive (#9294) 2026-03-24 20:54:40 +00:00
TornaxO7 098aaae40a Extend texture tests with exhaust (#9172) 2026-03-24 13:52:54 -06:00
Kevin Reid 1148bac37c Convert comments on lint attributes to reasons. (#9292) 2026-03-24 18:58:52 +00:00
Andy Leiserson 0226d561c0 test: Limit bucketing tests 2026-03-23 18:25:15 -07:00
Andy LeisersonandTeodor Tanasoaia 55b45559a7 feat(core): Limit bucketing
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2026-03-23 18:25:15 -07:00
Andy Leiserson f9b4cbf365 refactor(tests): Add NoopBackendOptions::enabled() constructor 2026-03-23 18:25:15 -07:00
Erich Gubler d29383b814 fix(core): implement value comparison for Limits::max_inter_stage_shader_variables (#9264) 2026-03-19 21:29:23 +00: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
Andy Leiserson 04cce5ace7 feat(types): Add conversions to/from feature name strings (#9163) 2026-03-18 09:59:45 -07:00
Connor Fitzgerald f59124f3f6 Add support for the D3D12 Agility SDK (#9130) 2026-03-16 20:43:32 -04:00
Luo Zhihao fff3d25eb1 Docs: Clarify Unorm8x4Bgra and Unorm10_10_10_2 vertex formats (#9241) 2026-03-16 11:50:52 -04:00
Chris Biscardi 252ef09792 move WriteOnly to wgpu-types (#9236)
* move WriteOnly to wgpu-types

* un-pub mod, because pub use * is already in play

* fixup doctests

* link to wgpu items
2026-03-16 08:37:17 -04:00
Niklas EickerandConnor Fitzgerald 62c2f5da97 Move ordered usages to hals (#8924)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-15 03:23:32 +00:00
Andy Leiserson ca3239e689 chore!: Move PRIMITIVE_INDEX feature into the WebGPU group (#9101)
Enable relevant CTS tests.
2026-03-13 13:52:14 -07:00
teoxoy 2b8fa47f5f [d3d12] fix limits
Resolves #3333.
2026-03-13 16:24:43 +01:00
atlv 9ed77372b4 Add coherent and volatile memory decorations for storage buffers. (#9168) 2026-03-11 19:53:52 -04:00
Dzmitry Malyshau adc3534f1c Add max_binding_array_acceleration_structure_elements_per_shader_stage limit 2026-03-11 08:18:38 -07:00
Dzmitry Malyshau e39b3aec8e Plumbing and a test for ACCELERATION_STRUCTURE_BINDING_ARRAY 2026-03-11 08:18:38 -07:00
Andy Leiserson a16ca5cb42 feat(deno): Add DENO_WEBGPU_DX12_COMPILER env var
- Use the env var to select DXC in cts_runner
- Sync a few other env vars from `ci.yml`
2026-03-10 16:57:39 -07:00
Marijn Suijten 35db26b2c6 Make HasDisplayHandle optional in WindowHandle (#8782) 2026-03-10 11:36:12 -04:00
Genna Wingert ce7dad3026 fix: Change type of max_*_buffer_binding_size to follow spec 2026-03-09 16:49:06 -06:00
Andy Leiserson 0afad95d9b docs: Clarify description of newly-optional fields in DepthStencilState (#9180) 2026-03-09 18:08:11 -04:00