Commit Graph
880 Commits
Author SHA1 Message Date
Andy Leiserson 4e3916783a Remove wgpu features for indicating Vulkan extension availability (#10635) 2026-10-22 06:20:43 +00:00
Andy Leiserson 66e992c3a1 refactor(types): Move ExternalTextureTransferFunction to naga-types 2026-10-13 19:34:06 +00:00
Andy Leiserson 0caefd83a2 docs: Fix inter-crate doc links (#10562) 2026-10-13 18:39:07 +00:00
Kevin Reid 20a17523e2 Fix Clippy lint from Rust versions newer than 1.96 (#10575) 2026-10-13 17:06:07 +00:00
KOGA MitsuhiroandAndy Leiserson 889eea9505 fix(types): Exclude SURFACE_VIEW_FORMATS from compliant() (#10425)
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-10-13 01:54:39 +00:00
Andy Leiserson 1f3a1fbb47 feat(webgpu): Mechanism for blocking specific WebGPU features 2026-10-10 18:56:29 +00:00
Andy Leiserson 62547085d3 refactor(types): Remove feature name logic from generic bitflags_array
This logic went along for the ride when bitflags_array was made generic,
but it seems more appropriate to keep it as something specific to
features.
2026-10-10 18:56:29 +00:00
Andy Leiserson 281e08fd2a refactor(types): Type-safe wgt::Features from components 2026-10-10 18:56:29 +00:00
Connor Fitzgerald 475507a24f typo fix (#10540) 2026-10-05 16:49:16 +00:00
Sam 14685942a1 Make ErrorFilter ser/de (#10509)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-03 07:56:21 +00:00
Stuart Parmenter db0782e398 Use transient memory pool for compactable acceleration structures (#10233) 2026-10-03 00:17:04 +00:00
Sam fcd059f423 Move MapMode into wgpu-types and use it instead of HostMap in wgpu-core (#10474)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-28 11:15:27 +00:00
SamandAndy Leiserson 237037257f Add Utf16SourceLocation and support having it in CompilationMessage (#10294)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-09-18 17:39:58 +00:00
Connor Fitzgerald 35332d2114 Update agent tooling (#10202) 2026-09-18 15:06:10 +00:00
sagudev 4689fa4ccb [remote-types] make BindGroupLayoutEntry FFI safe
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 10:18:50 +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
sagudev b7a23d6ed7 [wgt] split ShaderStages into WGPU and WebGPU parts
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-15 14:59:41 +00:00
sagudev 68b407883f Generalize BufferDescriptor and use BufferUsagesWebGPU in remote
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev a26e342d9b Split BufferUsages into WGPU and WebGPU bits using bitflags_array
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev fa5dde7603 Update bitflags_array! generated docs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev 2b3973be4a Extract bitflags_array from mod features
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev fd432e4f94 Make name_bits struct fully configurable in bitflags_array macro
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev 560673e6b2 Make name attr optional in bitflags_array
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev 0e7fb34d97 [deno] Use GPUQuerySet::{count, type} from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
Erich Gubler 4f4dc63098 feat(types): mark CompilationMessageType as repr(u8) (#10281) 2026-09-08 20:07:18 +00:00
Erich Gubler 760862747b feat(types): add serde integration to Compilation* APIs (#10279) 2026-09-08 15:17:52 -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
sagudev 45dd6c7c9c Move compilation info types into wgt
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
Tom Schuster c9d5c4e17b POLYGON_MODE_LINE and POLYGON_MODE_POINT are supported on desktop OpenGL (#10190) 2026-08-30 22:50:00 -04:00
07132f4440 Implement texture-component-swizzle (#9553)
Co-authored-by: Inner Daemons <85136135+inner-daemons@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-30 03:49:16 -04:00
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 ZhihaoandConnor 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