Commit Graph
8897 Commits
Author SHA1 Message Date
teoxoy 405413452d Correct type of index and flush the emitter 2023-05-11 12:57:28 -07:00
teoxoy d842d6688d Introduce GlobalCtx 2023-05-11 09:52:40 -07:00
Paul Hansen 28374fb1c8 Publish examples to wgpu.rs on updates to trunk branch instead of gecko (#3750) 2023-05-11 12:12:25 -04:00
Jim Blandy d763fb31e2 [spv-in] Generate Expression::Literal in some limited cases. 2023-05-11 07:09:53 -07:00
Jim Blandy 959c84f039 [glsl-in] Generate Expression::Literal. 2023-05-11 07:09:53 -07:00
Jim Blandy 412d5aa62e [wgsl-in] Generate Expression::Literal. 2023-05-11 07:09:53 -07:00
Jim Blandy 02ddf6532c Introduce Expression::Literal. 2023-05-11 07:09:53 -07:00
Teodor Tanasoaia 4d87401fac Use Expression::ZeroValue in SPIR-V and WGSL front ends. 2023-05-10 19:30:03 -07:00
Teodor Tanasoaia dcc8615c5b Introduce Expression::ZeroValue. 2023-05-10 19:30:03 -07:00
Erich Gubler f71a1bc736 docs(adapter): document device and vendor IDs repr. (#3763) 2023-05-10 12:13:01 +00:00
dependabot[bot] 52305cd607 Bump gpu-alloc from 0.5.3 to 0.5.4 (#3765)
Bumps [gpu-alloc](https://github.com/zakarumych/gpu-alloc) from 0.5.3 to 0.5.4.
- [Changelog](https://github.com/zakarumych/gpu-alloc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zakarumych/gpu-alloc/commits/gpu-alloc-v0.5.4)

---
updated-dependencies:
- dependency-name: gpu-alloc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 13:43:43 +02:00
dependabot[bot] c6d38ce419 Bump serde from 1.0.160 to 1.0.162 (#3766)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.160...1.0.162)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 13:42:45 +02:00
Erich Gubler dd54aaf260 refactor(valid)!: remove unneeded ConstantError::Unresolved{Component,Size} (#2330)
Resolves #2329.
2023-05-09 22:10:09 -07:00
Jim Blandyandteoxoy 59a2441a43 [msl-out] Revert af4d989 since #764 removes the need for it (#2331)
Assigning arrays by value works fine since all arrays are now wrapped by a struct.

Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
2023-05-09 16:20:15 -07:00
Teodor Tanasoaia 875df5899b add changelog for v0.12 (#2310) 2023-05-09 11:29:33 -04:00
Ame 4d8a7ed38d Change AdapterInfo::{device,vendor} fields to u32 (#3760)
* Change AdapterInfo device and vendor to u32s

* Add CHANGELOG
2023-05-09 11:17:27 +02:00
dependabot[bot] 45588492d2 Bump bitflags from 2.1.0 to 2.2.1 (#3727)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.1.0...2.2.1)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 11:16:29 +02:00
dependabot[bot] 7c94192afb Bump libc from 0.2.141 to 0.2.144 (#3761)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.141 to 0.2.144.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.141...0.2.144)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 11:14:38 +02:00
Paul Hansen f173575427 Update CI to install wasm-pack from binary (#3754) 2023-05-07 06:08:50 +00:00
Erich Gubler 0f0044f358 fix(wgpu-core)!: use u32 indices for bind group layouts everywhere (#3743) 2023-05-03 20:56:54 -04:00
Jim Blandy 49800337d1 Define wgpu_core::Global::create_render_bundle_error. (#3746) 2023-05-03 14:17:18 -07:00
Erich GublerandConnor Fitzgerald 3e562aaeaa docs: note feature req. for Depth32FloatStencil8 (#3734)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-05-03 10:08:52 +00:00
Andreas Reich 1dd105c3bf Fix crash on command buffer drop (#3726) 2023-05-03 05:00:59 -04:00
Ashley da3f43394f [wgsl-out] Simplify map_binding_to_attribute to always return an interpolate attribute (#2318) 2023-05-02 13:50:59 +02:00
Josh Groves 66c029f172 Pass correct surface for existing canvases (#3718) 2023-04-30 21:52:41 +09:00
Timo Kösters 4220a42139 Fix typo (#3719)
The error previously printed "otherusages" without a space
2023-04-28 23:15:08 +02:00
Florian Bartels 72c6324b63 Fix typo (#3732) 2023-04-28 23:13:44 +02:00
Evan Mark Hopkins 9befaed7e9 [hlsl-out] Fix return type for firstbitlow/high (#2315) 2023-04-25 14:49:26 +02:00
Dzmitry Malyshau 37b3c36a8f Support array bindings of buffers (#2282)
* Support buffer resource arrays in IR, wgsl-in, and spv-out

* spv-out: refactor non-uniform indexing semantics to support buffers

* Update the doc comment on BindingArray type

* Improve TypeInfo restrictions on binding arrays

* Strip DATA out of binding arrays

* Include suggested documentation, more binding array tests, enforce structs
2023-04-24 21:30:49 -07:00
Erich Gubler 2571af9557 refactor: resolve clippy::redundant_clone (#3717) 2023-04-24 17:07:08 +02:00
Erich Gubler 1421a5e1ab refactor(valid)!: remove TypeError::UnresolvedBase (#2308)
Resolves #2303.
2023-04-20 19:39:38 +02:00
Teodor Tanasoaia 3432aabab1 Bump libloading (#3711)
* bump libloading in Cargo.toml

* bump libloading in wgpu-hal/Cargo.toml
2023-04-20 17:28:57 +00:00
Teodor Tanasoaia 25cb9f61e9 Revert "Bump libloading from 0.7.4 to 0.8.0 (#3666)" (#3709)
This reverts commit 7f179ff1fa.
2023-04-20 16:47:01 +02:00
Connor Fitzgerald 0b53b477c5 Update CHANGELOG.md 2023-04-19 21:54:23 -04:00
Connor FitzgeraldandConnor Fitzgerald 011a4e26d0 Release v0.16.0 (#3707)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
wgpu-v0.16.0 wgpu-types-v0.16.0 v0.16.0 wgpu-hal-v0.16.0 wgpu-core-v0.16.0
2023-04-19 22:06:21 +00:00
Alix BottandConnor Fitzgerald c86f9773ca Fix unsetting vertex attributes in gles backend (#3706)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-19 21:14:45 +00:00
daxpedda 85fc427470 Adjust internal canvas size on Surface::configure() (#3690) 2023-04-19 21:09:31 +00:00
Connor Fitzgerald b99d58ea43 Update to version 0.12 naga-cli-v0.12.0 naga-v0.12.0 2023-04-19 17:04:49 -04:00
Jinlei Li 62ea7813e4 Implement Features::RG11B10UFLOAT_RENDERABLE (#3701) 2023-04-19 13:34:29 +02:00
J 191cabc833 fix a minor typo (#3703)
L1642 `creates` -> `create`
2023-04-19 09:09:58 +00:00
Nicolas Silva 4035748c83 Update naga to 0.11.0@git:b9c5cb5a7841a8728137a58840fbbdbb9b310267 (#3705) 2023-04-19 10:54:40 +02:00
dependabot[bot] fc4d591e9e Bump profiling from 1.0.7 to 1.0.8 (#3697)
Bumps [profiling](https://github.com/aclysma/profiling) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/aclysma/profiling/releases)
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aclysma/profiling/compare/v1.0.7...v1.0.8)

---
updated-dependencies:
- dependency-name: profiling
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 16:30:34 +02:00
pudi 562ad0d7c2 Fix documentation comments for multi_draw_*_indirect_count (#3694) 2023-04-15 18:13:31 +00:00
François bf8e6fe371 add feature RG11B10UFLOAT_RENDERABLE on webgpu (#3689)
* add feature RG11B10UFLOAT_RENDERABLE on web

* changelog
2023-04-14 14:52:37 +02:00
François 7c25c00f07 reject binding type multisampled when on a float filterable sample type (#3686) 2023-04-13 13:55:56 -04:00
dependabot[bot] af3b29ab49 Bump serde_json from 1.0.95 to 1.0.96 (#3682)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 03:14:27 +00:00
François 8985bca32c remove old comment about swapchain for the web (#3673) 2023-04-12 21:55:16 +00:00
dependabot[bot] 7f179ff1fa Bump libloading from 0.7.4 to 0.8.0 (#3666)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 17:29:26 -04:00
Connor FitzgeraldandConnor Fitzgerald a7defb723f Cleanups for WebGPU (#3671)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-12 21:27:30 +00:00
dependabot[bot] 618d4f0d51 Bump serde from 1.0.159 to 1.0.160 (#3667)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 17:17:56 -04:00