Commit Graph

  • 187e1a6967 [naga wgsl-in] Reject vector constructors with incorrect number of components during const evaluation. Jamie Nicol 2025-03-19 16:10:50 +00:00
  • 4687973c9a Use bytemuck instead of slice::from_raw_parts for transmutes (#7376) Connor Fitzgerald 2025-03-19 22:05:21 -04:00
  • 8a38f5fbf1 Add exception for RUSTSEC-2024-0436 (paste being unmaintained) (#7301) wgpu-v24.0.3 v24.0.3 Andreas Reich 2025-03-08 19:44:43 +01:00
  • cf002ee4d3 Bump versions Connor Fitzgerald 2025-03-19 13:25:16 -04:00
  • b2171dd1a4 Fix surface drop order. (#6997) ed-2100 2025-01-26 21:23:51 -06:00
  • c6286791fe feat: implement F16 support in shaders (#5701) Christopher Fleetwood 2025-03-19 16:26:50 +00:00
  • b912232188 [naga] Make Level::next() public. Kevin Reid 2025-03-16 16:30:44 -07:00
  • 47c72fa943 fix(wgsl-in,const-eval): use {float}::round_ties_even instead of polyfill for round Erich Gubler 2025-03-17 10:24:38 -04:00
  • 45b0df6adf [naga wgsl-in] Tweak logging in front::wgsl::lower::conversion. Jim Blandy 2025-03-16 16:49:02 -07:00
  • e82f52135b [naga wgsl-in] Use common type-formatting code. Jim Blandy 2025-03-16 13:06:29 -07:00
  • 3ec38a0a15 [naga wgsl] Add TryToWgsl::to_wgsl_for_diagnostics. Jim Blandy 2025-03-16 12:15:32 -07:00
  • 62d49918fd [naga wgsl] Provide defaults for TypeContext non-WGSL methods. Jim Blandy 2025-03-16 12:38:14 -07:00
  • 13b8036b89 [naga wgsl] Add string creation methods to TypeContext. Jim Blandy 2025-03-16 11:48:56 -07:00
  • e17c0bdc17 [naga wgsl] Fix generics on naga::common::wgsl::TypeContext. Jim Blandy 2025-03-16 12:35:03 -07:00
  • fc6d6c6483 [naga wgsl] Add write_type_resolution method to TypeContext. Jim Blandy 2025-03-16 11:47:20 -07:00
  • 3b401670ae [naga wgsl-in] Clean up use directives in front::wgsl::error. Jim Blandy 2025-03-14 13:26:19 -07:00
  • 026628a739 [naga wgsl] Make formatting of non-WGSL types more flexible. Jim Blandy 2025-03-12 18:01:54 -07:00
  • 2c4d2693f0 [naga wgsl] Move Scalar formatting into its own function. Jim Blandy 2025-03-14 17:17:55 -07:00
  • a79111922a [naga wgsl] Move guts of TypeInner formatting to a function. Jim Blandy 2025-03-12 17:52:28 -07:00
  • 84cbf28ed9 [naga wgsl] Move ToWgsl and TryToWgsl into their own module. Jim Blandy 2025-03-13 15:08:58 -07:00
  • bcb0f7ef3e [naga wgsl] Move diagnostics definitions into their own module. Jim Blandy 2025-03-13 15:04:38 -07:00
  • b85a451dc9 [naga wgsl-in] Use String in error, not Box<str>. Jim Blandy 2025-03-15 15:32:31 -07:00
  • 5c9c6ea093 [naga wgsl-in] Box error values in Results. Jim Blandy 2025-03-15 15:28:44 -07:00
  • 77fcca7522 [naga wgsl-in] Introduce a Result alias for the WGSL front end. Jim Blandy 2025-03-15 14:55:46 -07:00
  • 1c69416c32 Rename package of custom_backend example Connor Fitzgerald 2025-03-04 17:58:41 -05:00
  • a1ee2c3d0d Add CI for custom_backend example Connor Fitzgerald 2025-03-04 17:58:16 -05:00
  • 516459efcd Fix custom_backend compilation error when compiled alone Connor Fitzgerald 2025-03-10 18:03:54 -04:00
  • c223d3544b Decouple custom_backend example from the workspace Connor Fitzgerald 2025-03-10 17:53:54 -04:00
  • f109a6966a Rename custom_backend example Connor Fitzgerald 2025-03-04 17:56:10 -05:00
  • a48387756c Add a runnable example to the Naga crate documentation. Kevin Reid 2025-03-18 12:27:43 -07:00
  • ee78d61390 Move Naga IR types from naga/src/lib.rs to naga/src/ir/mod.rs. Kevin Reid 2025-03-18 11:56:02 -07:00
  • 4db992a66d refactor(core): avoid manually reimplemented sort_by_key (#7366) Erich Gubler 2025-03-18 17:43:04 -04:00
  • da7deb4381 Cache reserved keywords (#7338) Connor Fitzgerald 2025-03-18 14:26:45 -04:00
  • 5ac906645b Move missing snapshots Connor Fitzgerald 2025-03-18 12:25:46 -04:00
  • 8474132bd2 [tests] Test case for multiple bindings with different sizes (#7360) Andy Leiserson 2025-03-17 15:16:21 -07:00
  • 3e4d24ea98 Remove dead code from naga::back. (#7350) Kevin Reid 2025-03-17 05:23:51 -07:00
  • d55bb2956a chore(deps): bump crate-ci/typos from 1.30.1 to 1.30.2 (#7351) dependabot[bot] 2025-03-17 02:58:05 -04:00
  • 2c8308650e chore(deps): bump the patch-updates group with 13 updates (#7352) dependabot[bot] 2025-03-17 02:56:50 -04:00
  • 6011b0b797 [naga] Place the #[track_caller] attribute on some test utilities. Jim Blandy 2025-03-16 16:28:59 -07:00
  • e8ce3ae973 Add mesh shader stages to wgt::ShaderStages and naga::ShaderStage (#7292) SupaMaggie70Incorporated 2025-03-15 00:34:20 -05:00
  • 03ab3a27d8 Make buffer mapping example runnable and remove obsolete Arc. Kevin Reid 2025-03-14 15:45:54 -07:00
  • fcac8a9b28 Add Device::noop(). Kevin Reid 2025-03-14 15:36:52 -07:00
  • 21e7f3f102 Remove Arc from buffer in util::DownloadBuffer (#7341) Dawid Sz. 2025-03-14 23:34:41 +01:00
  • 029bdb107a docs: Add links and examples for VertexAttribute and friends. Kevin Reid 2025-03-14 11:39:37 -07:00
  • fbe005f11a Make request_adapter() report which backends were tried. Kevin Reid 2025-03-13 09:58:54 -07:00
  • a369bfa8d1 Revise documentation for write_buffer(), write_buffer_with(), and write_texture(). Kevin Reid 2025-03-13 20:59:01 -07:00
  • 0a58d3a92e [naga wgsl] Refactor Image type generation. (#7328) Jim Blandy 2025-03-13 09:10:00 -07:00
  • ef4eadfd25 [naga] Let write_type_inner match TypeInner exhaustively. (#7327) Jim Blandy 2025-03-13 09:09:52 -07:00
  • a13f0a03ef [vulkan] Automatically add linux buffer sharing extensions if available. (#7317) Vecvec 2025-03-13 04:27:34 +13:00
  • 3196a9d6fb override-sized arrays should not have the constructable flag (#7321) Kent Slaney 2025-03-12 08:16:04 -07:00
  • 84a4a66bc4 [naga wgsl-out] Rearrange Writer and WriterTypeContext. Jim Blandy 2025-03-05 20:59:13 -08:00
  • 2942dc0cb2 [naga wgsl] Move code to generate WGSL for types into common. Jim Blandy 2025-03-05 12:59:13 -08:00
  • e3b8b7eecb [naga] Create a subdirectory for WGSL common code. Jim Blandy 2025-03-04 17:28:04 -08:00
  • ff595c7e2c [naga wgsl-out] New TypeContext, for writing Naga types as WGSL. Jim Blandy 2025-03-04 14:40:48 -08:00
  • d24598c444 [naga wgsl-out] Split WGSL type output into its own impl block. Jim Blandy 2025-03-04 07:50:46 -08:00
  • c3835996a1 [naga wgsl-out] Rename write_value_type to write_type_inner. Jim Blandy 2025-03-04 07:48:33 -08:00
  • d63895242d [naga wgsl-out] Doc fixes and trivial cleanups. Jim Blandy 2025-03-04 07:41:09 -08:00
  • 39d29b6314 chore: update env_logger 0.11.6 → 0.11.7 (#7318) Erich Gubler 2025-03-11 13:16:52 -04:00
  • 3eb1bd53bb Use TextureViewDescriptor::usage when Creating Texture View (#7162) David Zhong 2025-03-11 10:01:23 -07:00
  • 326ad03ce1 Move trace_dir/trace_path to a custom enum inside DeviceDescriptor. Kevin Reid 2025-03-06 12:27:33 -08:00
  • 9021d93b9f [d3d12] fix size of buffer (#7310) Teodor Tanasoaia 2025-03-10 17:05:50 +01:00
  • 0386211b75 chore(deps): bump crate-ci/typos from 1.30.0 to 1.30.1 (#7308) dependabot[bot] 2025-03-09 23:30:30 -04:00
  • fda1975d9c chore(deps): bump the patch-updates group with 25 updates (#7307) dependabot[bot] 2025-03-09 23:30:11 -04:00
  • 4c3845d910 Read ImageSample.offset as expr (#7297) Samson 2025-03-09 20:42:16 +01:00
  • fedc80eb80 [wgsl-in, wgsl-out, glsl-in] WebGPU compliant dual source blending feature (#7146) Andreas Reich 2025-03-08 21:07:37 +01:00
  • 79741da259 Add exception for RUSTSEC-2024-0436 (paste being unmaintained) (#7301) Andreas Reich 2025-03-08 19:44:43 +01:00
  • cd1e7e26c1 Waive the failures tracked by #7287 (#7289) Andy Leiserson 2025-03-07 13:37:11 -08:00
  • 424fde1622 [naga] Support local const in ImageSample.offset (#7213) Samson 2025-03-07 19:56:08 +01:00
  • 12ce4e2861 Better handling of drm extensions (#7295) Matilde Morrone 2025-03-07 19:50:32 +01:00
  • faea4e8717 test(android): add ARMv7 and x86-64 architectures as tier 2 (#7291) Erich Gubler 2025-03-06 23:10:31 -05:00
  • 6a61e62f55 [naga wgsl-in] Handle automatic type conversions for switch selector and case expressions (#7250) Jamie Nicol 2025-03-07 03:50:36 +00:00
  • 61eda14256 fix(android,vulkan): forcibly convert to u64 in *devid checks Erich Gubler 2025-03-06 21:06:03 -05:00
  • 6f65d3db2a refactor(vulkan): use slice::contains for st_rdv comparison Erich Gubler 2025-03-06 21:07:20 -05:00
  • 6dafe9c8fc [naga wgsl-in] Remove to_wgsl method on StorageFormat. (#7288) Jim Blandy 2025-03-06 17:09:29 -08:00
  • 2fac7fa954 [naga] Correct override resolution in array lengths. Kent Slaney 2025-02-07 08:29:10 -08:00
  • 4e14f2032e [naga wgsl-in] Parse LHS expressions as such, not as generic expressions Andy Leiserson 2025-03-03 17:42:04 -08:00
  • 7319512778 Additional documentation for buffer mapping, types, and constants. (#7283) Kevin Reid 2025-03-06 11:08:34 -08:00
  • 16d41cfaf3 Make std usage optional for wgpu-core. (#7279) Kevin Reid 2025-03-06 11:07:38 -08:00
  • 1b09a44af5 [naga spv-out] Avoid duplicating SPIR-V OpTypePointer instructions. Jim Blandy 2025-02-27 14:48:03 -08:00
  • b0e53c6357 [naga spv-out] Introduce helper BlockContext::get_numeric_type_id. Jim Blandy 2025-02-27 13:41:16 -08:00
  • f803e55d37 [naga spv-out] Define get_numeric_type_id, and use appropriately. Jim Blandy 2025-02-27 13:23:37 -08:00
  • 553b78d8df [naga spv-out] Use type lookup utility functions where appropriate. Jim Blandy 2025-02-27 13:14:28 -08:00
  • e84c9da5b7 [naga spv-out] Introduce get_handle_type_id helper function. Jim Blandy 2025-02-27 12:00:52 -08:00
  • 77265d38cd [naga spv-out] Rename get_pointer_id to get_pointer_type_id. Jim Blandy 2025-02-27 09:51:02 -08:00
  • 0cb8e26922 [naga spv-out] Rename type lookup utilities to be more WGSL-ish. Jim Blandy 2025-02-27 09:34:55 -08:00
  • e446551b27 docs: Improve linking, backticks (#7281) Bruce Mitchener 2025-03-07 00:37:19 +07:00
  • 20bad46d40 Add multiview mesh shaders to wgpu-hal (#7278) SupaMaggie70Incorporated 2025-03-06 11:25:55 -06:00
  • 7df6e477cf [naga wgsl-in] Do not eagerly concretize local const declarations of abstract types Jamie Nicol 2025-02-06 10:25:48 +00:00
  • cc1e26a799 Fixed DRM(hopefully) (#7277) SupaMaggie70Incorporated 2025-03-05 21:36:21 -06:00
  • f884a4148a docs(CHANGELOG): move Features split entry to Major Features Andreas Reich 2025-02-11 22:41:52 +01:00
  • 3b84750413 docs(CHANGELOG): remove no_std trace path entry Andreas Reich 2025-02-11 22:41:52 +01:00
  • b9328673c6 refactor: impl From<ImplementedEnableExtension> for EnableExtension (#7275) Erich Gubler 2025-03-05 22:29:35 -05:00
  • f4fbc4b4bc docs(wgsl): use correct links to standard enable extensions (#7276) Erich Gubler 2025-03-05 22:29:13 -05:00
  • 9853f5988d [naga wgsl-in] Concretize LHS of bitshift operations if RHS is not a const-expression (#7270) Jamie Nicol 2025-03-06 01:30:12 +00:00
  • fc83073905 [naga] Move back::wgsl::address_space_str to common::wgsl. Jim Blandy 2025-03-04 18:12:44 -08:00
  • 567a2c027f [naga] Implement ToWgsl for ImageDimension, and use as needed. Jim Blandy 2025-03-04 18:00:42 -08:00
  • 8ec2e751b4 [naga] Implement TryToWgsl for Scalar, and use as appropriate. Jim Blandy 2025-03-04 17:56:01 -08:00
  • d923efa56b [naga] Move back::vector_size_str to common. Jim Blandy 2025-03-04 17:49:44 -08:00
  • 34ffbee1b7 [naga wgsl] Define ToWgsl and TryToWgsl traits. Jim Blandy 2025-03-03 12:22:02 -08:00
  • 2a364d2bfa [naga wgsl-out] Consolidate unsupported Naga IR feature errors. Jim Blandy 2025-03-03 11:53:47 -08:00