Commit Graph
8897 Commits
Author SHA1 Message Date
dependabot[bot] e67ca09ba7 Bump tokio from 1.28.1 to 1.28.2 (#3848)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2)

---
updated-dependencies:
- dependency-name: tokio
  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-06-08 15:46:44 +02:00
dependabot[bot] 3075193787 Bump glow from 0.12.1 to 0.12.2 (#3849)
Bumps [glow](https://github.com/grovesNL/glow) from 0.12.1 to 0.12.2.
- [Commits](https://github.com/grovesNL/glow/commits)

---
updated-dependencies:
- dependency-name: glow
  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-06-08 14:34:18 +02:00
dependabot[bot] 2f1248dfba Bump libc from 0.2.144 to 0.2.146 (#3845)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.144 to 0.2.146.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.144...0.2.146)

---
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-06-07 11:46:46 +02:00
dependabot[bot] 034c19c1d2 Bump ash from 0.37.2+1.3.238 to 0.37.3+1.3.251 (#3846)
Bumps [ash](https://github.com/MaikKlein/ash) from 0.37.2+1.3.238 to 0.37.3+1.3.251.
- [Release notes](https://github.com/MaikKlein/ash/releases)
- [Changelog](https://github.com/ash-rs/ash/blob/master/Changelog.md)
- [Commits](https://github.com/MaikKlein/ash/compare/0.37.2...0.37.3)

---
updated-dependencies:
- dependency-name: ash
  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-06-07 11:11:39 +02:00
dependabot[bot]andAndreas Reich 27efd50693 Bump metal from 0.24.0 to 0.25.0 (#3793)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2023-06-06 15:45:06 -04:00
liquidev dfa5400a78 GLES: on EGL, respect the user requesting a non-sRGB surface format (#3817)
* EGL: respect the user requesting a non-sRGB surface format
What used to happen was that sRGB was used whether you requested it or not.
This commit fixes that and now passing in a non-sRGB texture format in SurfaceConfiguration will result in a non-sRGB surface being created.

* add changelog entry about the EGL non-sRGB support change
2023-06-06 19:59:00 +02:00
Teodor Tanasoaia 2e4209c537 Add back components info of TextureFormats (#3843)
* add back components info of `TextureFormat`s
* add changelog
2023-06-06 19:28:46 +02:00
Leo Kettmeir 0ece5e6119 update deno (#3808) 2023-06-06 17:08:32 +02:00
Jim Blandy e8a7e50f0f Makefile: validate-spv: update spirv-as and spirv-val invocations. (#2374)
Newer versions of these programs require `-` as a filename argument to
read from standard input.
2023-06-06 17:02:10 +02:00
Connor Fitzgerald 4aff9b67af Allow workspace to be built on wasm (#3840) 2023-06-06 06:58:20 -04:00
Jim Blandy 3f0aed789d Don't report violations of VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-01912 (#3809)
As described in [Vulkan-ValidationLayers#5671], the validation layers don't understand debug ranges paired across different command buffers on the same queue, even though the Vulkan spec says:

> An application may open a debug label region in one command buffer and close it in another, or otherwise split debug label regions across multiple command buffers or multiple queue submissions. When viewed from the linear series of submissions to a single queue, the calls to vkCmdBeginDebugUtilsLabelEXT and vkCmdEndDebugUtilsLabelEXT must be matched and balanced.

Until this is fixed, wgpu should ignore this validation error to reduce noise in test runs.

Fixes #3733.

[Vulkan-ValidationLayers#5671]: https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5671
2023-06-06 06:56:44 -04:00
dependabot[bot] f3751a691f Bump xml-rs from 0.8.4 to 0.8.14 (#3842)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 22:51:12 -04:00
Connor Fitzgerald 8b6599b5d6 Remove dummy crate (#3839) 2023-06-06 00:51:51 +00:00
Connor FitzgeraldandConnor Fitzgerald 7bbccbe1d9 Self Hosted Mac Runner (#3827)
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-06-05 11:38:30 -04:00
Connor Fitzgerald 1d2a667b71 Fix trying to use a renderpass inside a compute pass (#3828)
* Fix trying to use a renderpass inside a compute pass

* Fix pipeline statistics test on mac

* Changelog
2023-06-05 09:05:59 -04:00
Connor Fitzgerald 3db51e74bd Improve wgpu-info code after bitflags 2 (#3834) 2023-06-05 04:09:12 +00:00
Connor Fitzgerald 1cb0bdcdef Fix incorrect aspect in barriers when using emulated Stencil8 textures. (#3833) 2023-06-04 23:32:06 -04:00
Elie Michel 92f22a9716 Add a link to the webGPU C++ programming guide
This is just a suggestion, my apologies if it feels to much like advertisement!
2023-06-04 02:03:54 -04:00
daxpedda 7e8051e9cf Bump libloading to v0.8 (#43) 2023-06-03 18:45:52 -07:00
daxpedda 777c5c1cdd Bump bitflags to v2 (#44) 2023-06-03 11:42:28 -07:00
daxpedda b7f4006e46 Bump bitflags to v2 (#2358) 2023-06-01 15:40:47 +02:00
Connor Fitzgerald ad45f29bb6 Changelog backport 2023-06-01 01:55:55 -04:00
Pieter-Jan Briers 544ccf88da Handle case insensitive FXC HLSL keywords. (#2347)
There are a few keywords like "pass" in HLSL that are actually case-insensitive for FXC. This can be disabled with strict mode, but even if you do that FXC will continue to give an error if you try to use them in identifiers (at all, with any casing).

This changes the namer code to escape these keywords even if the casing is different.

If you're wondering where I got the list from: I looked at the list of strings in D3DCompiler_47.dll.
2023-05-31 15:00:23 +02:00
Teodor Tanasoaia 5206c59509 update snapshots (#2363) 2023-05-30 14:03:10 +02:00
Elabajaba e6314c4070 DX12 increase max_storage_buffers_per_shader_stage and max_storage_textures_per_shader_stage (#3798) 2023-05-30 12:38:54 +02:00
dependabot[bot] 307f7acb6c Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2 (#3812)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  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-30 12:20:51 +02:00
Daniel McNab 907b7c7cda Workgroup uniform load (#2201)
Implement the WGSL `workgroupUniformLoad` function.
2023-05-26 13:32:22 -07:00
Shaye Garg 1c17fa82d4 [wgsl-in] Error on param redefinition (#2342)
* error on param redefinition

* also fix #2312
2023-05-25 13:13:27 +02:00
Jim Blandy baed251cb1 Document which expressions are in scope for a break_if expression. (#2326) 2023-05-25 13:08:24 +02:00
Jim Blandy 201c0e2999 [spv-in] Improve documentation for SPIR-V control flow parsing. (#2324) 2023-05-25 13:06:21 +02:00
Jim Blandy 4478c52deb wgpu-core: Move Device resource methods into device::resource. 2023-05-24 09:54:03 -07:00
Jim Blandy 286d625428 wgpu-core: Move device/mod.rs's Global impl to device/global.rs. 2023-05-24 09:54:03 -07:00
Jim Blandy 55e3558db4 wgpu-core: Move Resource trait to resource module. 2023-05-24 09:54:03 -07:00
Jim Blandy 4d1fbeb753 wgpu-core: Move storage code to new storage module. 2023-05-24 09:54:03 -07:00
Jim Blandy 17d5361879 wgpu-core: Move registry code to new registry module. 2023-05-24 09:54:03 -07:00
Jim Blandy 29914b308f wgpu-core: Move identity code to new identity module. 2023-05-24 09:54:03 -07:00
Jim Blandy 13bd3eea55 wgpu-core: Move HalAPI to new hal_api module. 2023-05-24 09:54:03 -07:00
Jim Blandy f00e6b70ea wgpu-core: Move Global to new global module. 2023-05-24 09:54:03 -07:00
Erich Gubler 4b41e07a99 refactor: add several clippy lints (#2296) 2023-05-24 17:23:24 +02:00
kyren 9c8666a5c9 Implement Send and Sync unconditionally for exposed Id type. (#3801) 2023-05-24 15:10:59 +02:00
Jim Blandy 7f4c39c8db Fix doc links in wgpu-types/src/lib.rs. (#3799) 2023-05-23 13:21:14 -04:00
Ashley ce48588d74 [front/spir-v] Obey the is_depth field of OpTypeImage (#2341)
* [front/spir-v] Obey the is_depth field of OpTypeImage

* Add changed tests
2023-05-22 09:35:58 -07:00
Emil Ernerfeldt b0dfd11a01 Fix missing 4X MSAA support on some OpenGL backends (#3780)
* Always support 4x MSAA on GL

* Update changelog
2023-05-19 16:39:07 +02:00
Malek dafc189d6b Fix multiview rendering (#3779) 2023-05-19 00:03:57 -04:00
dependabot[bot] dd47d73c0c Bump bitflags from 2.2.1 to 2.3.1 (#3782)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.2.1 to 2.3.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.2.1...2.3.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-19 00:00:39 -04:00
Robin KAY c91a660ec5 Fix order of arguments to glPolygonOffset. (#3783) 2023-05-18 22:40:35 +00:00
Jim Blandy 3563849585 Document that various sizes and offsets are in bytes. (#3773) 2023-05-13 22:22:28 -04:00
Eduard-Mihai Burtescu 423a069dcd [spv-in] Convert conditional backedges to break if. 2023-05-12 13:59:08 -07:00
Teodor Tanasoaia 62b287e761 Change type of constant sized arrays to NonZeroU32 (#2337) 2023-05-12 14:38:50 +02:00
dependabot[bot] 372ac9b529 Bump serde from 1.0.162 to 1.0.163 (#3770)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163)

---
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-12 13:03:28 +02:00