Connor Fitzgerald
fae070bf21
Convert wiki and api-specs into documentation modules ( #9779 )
2026-08-29 18:59:58 -04:00
AdrianEddy
a148f96e20
feat(webgl): Add ability to interop with external textures ( #9834 )
2026-08-28 21:18:35 +00:00
Luo Zhihao and Connor Fitzgerald
4d749308e6
Fix separate depth stencil read-only state ( #9763 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-08-28 15:31:26 +00:00
wangjingshuiku
87a57fb330
wgpu-types: fix cast_elements documentation
...
Signed-off-by: wangjingshuiku <wangjingshuiku@163.com >
2026-08-27 15:17:00 -07:00
Kevin Reid
f25209582c
Implement Send for WriteOnly<T> even when T is not Sized. ( #10163 )
2026-08-24 19:29:27 -07:00
Sam
6cf62629e5
TextureDescriptor::theoretical_memory_footprint (#10032 )
2026-08-19 17:23:20 +02:00
sagudev
041f76bbb1
Move error types to wgpu-types
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
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
df4947cf47
Move markers to types
...
we keep them undocumented because they are impl detail
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-17 12:01:39 +02:00
Emil Ernerfeldt
a6caee7084
Gate @interpolate(linear) behind a downlevel flag ( #9972 )
2026-08-16 12:11:15 +00:00
Ian McFarlane
62e482b6a6
[types] derive Eq and PartialEq for parameter types
2026-08-12 18:09:38 +02:00
Jim Blandy
7c65afc049
[core] Document validation::Interface and associated internals. ( #9984 )
2026-08-06 17:20:20 +02:00
Kevin Reid
9f5c71ffb9
Make ForceShaderModelToken’s functions const.
2026-08-03 06:34:29 -04:00
Kevin Reid
c150de0ba7
Add inherent pub const fn default() to various types.
...
The default functions are generated using a `macro_rules_attribute`
emulated derive macro, just fancy enough to work. It does not support
structs with generics, so `*Descriptor`s are left alone for now.
When Rust const traits stabilize, we can replace this with real const
traits.
2026-08-03 06:34:29 -04:00
Sam
b340ef11c6
Document why no Copy impl on wgt::Limits ( #9893 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-29 17:15:31 +02:00
Andy Leiserson
22c5a7020b
fix(core): Add missing shader output vs. color target validation ( #9939 )
2026-07-28 23:25:53 +00:00
Jim Blandy
4b8e994585
Doc fixes for wgpu_types::Backend::Gl.
2026-07-22 13:23:47 -07:00
Andy Leiserson
c97d22fff4
fix(core): Add some missing validity checks ( #9913 )
2026-07-21 07:36:40 -04:00
Kevin Reid
888e749799
Rename TextureFormat::is_srgb() to has_srgb_suffix(). ( #9758 )
2026-07-16 20:29:00 +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
csmoe
25b4cda524
Add angle as gl backend on Windows ( #9422 )
2026-07-08 13:56:53 -04:00
Kevin Reid
8b6c34ee9b
Always extern crate std when cfg(test). ( #9817 )
2026-07-06 23:48:52 -04:00
teoxoy
8416c058ef
allow passing full dll path via env var
2026-07-02 00:25:01 +02:00
teoxoy
aa2b7907c0
[core] filter native-only features and limits if
...
`STRICT_WEBGPU_COMPLIANCE` is set
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
Vecvec and Connor 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
Kevin Reid
44a31fe603
Make SurfaceColorSpace accessors const fn
2026-06-29 09:57:09 -07:00
Stuart Parmenter
3fb225a9c6
Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU ( #9658 )
2026-06-26 03:52:05 +00:00
Kevin Reid
156741bcb2
Add Debug implementations and missing_debug_implementations lint. ( #9744 )
2026-06-25 18:57:47 -04:00
Vecvec and Connor Fitzgerald
743ac1f084
Hal ray tracing pipelines ( #9464 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-06-25 18:53:10 -04:00
Luo Zhihao
c841633bb3
Bring transient attachment in line with webgpu spec ( #9568 )
2026-06-18 18:28:52 -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
Inner Daemons
1c42a95e37
Add naga-types crate ( #9434 )
2026-06-15 16:11:06 +02:00
Dzmitry Malyshau and Connor 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
AdrianEddy and Andreas 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
otjdiepluong and Maya 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
TornaxO7 and Connor 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