Commit Graph

4156 Commits

Author SHA1 Message Date
Jim Blandy
0772df798d Don't emit ANSI colors in shader validation error messages. (#3591) 2023-03-14 22:35:02 -04:00
Connor Fitzgerald
42a0683d48 Remove unwraps inside surface.configure (#3585) 2023-03-14 11:01:02 +01:00
dependabot[bot]
a20690d109 Bump console_log from 0.2.1 to 0.2.2 (#3588)
Bumps [console_log](https://github.com/iamcodemaker/console_log) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/iamcodemaker/console_log/releases)
- [Commits](https://github.com/iamcodemaker/console_log/commits/0.2.2)

---
updated-dependencies:
- dependency-name: console_log
  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-03-14 10:57:24 +01:00
dependabot[bot]
b3b8a0c1cd Bump serde_json from 1.0.85 to 1.0.94 (#3580)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.94.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.94)

---
updated-dependencies:
- dependency-name: serde_json
  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-03-13 12:41:08 +01:00
dependabot[bot]
3bebbd528c Bump serde from 1.0.149 to 1.0.155 (#3579)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.149 to 1.0.155.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.155)

---
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-03-13 12:40:13 +01:00
Teodor Tanasoaia
287c6e6b47 Update deno (#3562)
Co-authored-by: crowlkats <crowlkats@toaxl.com>
2023-03-11 01:24:20 -05:00
Jim Blandy
35b0a16a88 Update docs after #3466. (#3576) 2023-03-10 17:49:19 +00:00
dependabot[bot]
a820131e28 Bump libc from 0.2.139 to 0.2.140 (#3573)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 22:42:57 -05:00
dependabot[bot]
bf1e7a46a2 Bump thiserror from 1.0.38 to 1.0.39 (#3560)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.39)

---
updated-dependencies:
- dependency-name: thiserror
  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-03-09 21:52:55 +01:00
dependabot[bot]
79bfe492bf Bump raw-window-handle from 0.5.0 to 0.5.1 (#3571)
Bumps [raw-window-handle](https://github.com/rust-windowing/raw-window-handle) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/rust-windowing/raw-window-handle/releases)
- [Changelog](https://github.com/rust-windowing/raw-window-handle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-windowing/raw-window-handle/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: raw-window-handle
  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-03-09 20:06:15 +01:00
Jinlei Li
9445317f26 Set max_memory_allocation_size via PhysicalDeviceMaintenance3Properties (#3567)
* vulkan: set  `max_memory_allocation_size` via `PhysicalDeviceMaintenance3Properties`

* Update CHANGELOG

* Follow the suggestions

* Fix fmt

* Update wgpu-hal/src/vulkan/adapter.rs

Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>

* Enable `KhrMaintenance3Fn` on vk < 1.1

---------

Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-03-09 20:05:39 +01:00
Kevin Reid
13d2c3673c In Context::handle_error_fatal, print cause chain. (#3563) 2023-03-06 23:00:34 -05:00
Teodor Tanasoaia
cf40e64b16 Change type of bytes_per_row and rows_per_image (#3529) 2023-03-06 16:44:36 -05:00
Josh Groves
2eb27f2c0e Fix definition of NSOperatingSystemVersion (#3557) 2023-03-06 16:43:39 -05:00
Teodor Tanasoaia
54e4c8654d [dx12] use typeless formats for textures that might be viewed as srgb or non-srgb (#3555)
query `CastingFullyTypedFormatSupported` and skip typeless formats if available
2023-03-03 19:42:34 +00:00
Teodor Tanasoaia
7e72f30179 Allow copying of textures with copy-compatible formats (#3528)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-03-03 17:24:17 +00:00
Leo Kettmeir
710fc553d5 fix(deno): cleanup resources when closed (#3530) 2023-03-03 12:18:01 -05:00
Teodor Tanasoaia
ac689cbe1f Update feature documentation (#3534) 2023-03-03 12:09:17 -05:00
Connor Fitzgerald
db3be88f90 Uppercase all error strings 2023-03-03 11:33:20 -05:00
Connor Fitzgerald
c98f4ed662 Improve RenderPass attachment errors 2023-03-03 11:33:20 -05:00
Connor Fitzgerald
38f1f0ede0 Improve RenderPass/RenderBundle compatibility errors 2023-03-03 11:33:20 -05:00
Jinlei Li
de695fca0b metal: if new_texture() returns NULL, create_texture() returns an error (#3554) 2023-03-03 13:51:38 +01:00
Connor Fitzgerald
e998d7bae0 Incorrect formatting (#3548) 2023-03-01 20:59:47 +00:00
Connor Fitzgerald
9d6a7a9fe5 Completely computerize wgpu-info ascii art (#3546) 2023-03-01 20:41:53 +00:00
James Liu
6ee0d4c14d Replace fxhash with rustc-hash (#3502)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-03-01 18:46:38 +00:00
teoxoy
87a31bb74b don't rename the khronos-egl package 2023-03-01 13:45:16 -05:00
teoxoy
e2130a1d1e don't rename the d3d12 package 2023-03-01 13:45:16 -05:00
teoxoy
dc66d83f20 don't rename the metal package 2023-03-01 13:45:16 -05:00
Teodor Tanasoaia
2a3a9bf013 Remove unused STORAGE_ATOMICS flag (#3539) 2023-03-01 13:27:41 -05:00
dependabot[bot]
5a0b1a401e Bump bytemuck from 1.13.0 to 1.13.1 (#3540)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/Lokathor/bytemuck/releases)
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: bytemuck
  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-03-01 12:45:17 +01:00
James0124
9dc834a0ac Treat VK_SUBOPTIMAL_KHR as VK_SUCCESS on Android. (#3525) 2023-02-27 10:52:09 +01:00
dependabot[bot]
e6de03134f Bump console_log from 0.2.0 to 0.2.1 (#3533)
Bumps [console_log](https://github.com/iamcodemaker/console_log) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/iamcodemaker/console_log/releases)
- [Commits](https://github.com/iamcodemaker/console_log/commits)

---
updated-dependencies:
- dependency-name: console_log
  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-02-27 10:48:43 +01:00
Jim Blandy
df54bc49dc [msl-out]: Delete unused variable. (#3526) 2023-02-24 09:15:39 +01:00
Jesse Talavera-Greenberg
73b4257b17 Fix create_device_from_hal not using the provided hal_device's queue (#3523) 2023-02-23 13:54:52 +00:00
Duncan
0155b5a0c2 replace "Intel/Vulkan" w/ "Vulkan on Intel" (#3521) 2023-02-23 13:50:00 +00:00
Red Artist
af5f4d20f4 enable debug extension on emscripten (#3519)
* enable debug extension on emscripten

* update changelog

* extract emscripten stuff into a separate module

* use unmasked queries on w-u-u, and only enable extension on emscripten

* fix docs
2023-02-22 01:16:14 -05:00
Teodor Tanasoaia
30064ead9f Remove SwiftShader failure from zero init test (#3515) 2023-02-21 12:15:38 -05:00
daxpedda
74303308cd Make crate features no-op on incompatible targets (#3466)
* Make crate features no-op on incompatible targets

* Remove `portable_features`

* Test `--all-features` in CI

* Make `renderdoc` no-op on WASM

* Address review
2023-02-21 13:50:55 +01:00
dependabot[bot]
9cdcd6749f Bump renderdoc-sys from 0.7.1 to 1.0.0 (#3511)
Bumps [renderdoc-sys](https://github.com/ebkalderon/renderdoc-rs) from 0.7.1 to 1.0.0.
- [Release notes](https://github.com/ebkalderon/renderdoc-rs/releases)
- [Changelog](https://github.com/ebkalderon/renderdoc-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ebkalderon/renderdoc-rs/commits)

---
updated-dependencies:
- dependency-name: renderdoc-sys
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 12:59:28 +01:00
dependabot[bot]
0590a1cfc5 Bump glow from 0.12.0 to 0.12.1 (#3510)
Bumps [glow](https://github.com/grovesNL/glow) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/grovesNL/glow/releases)
- [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-02-21 12:56:09 +01:00
Nicolas Silva
438d6394ef Update naga to 0.11.0@git:9742f1616c3e3dd2cc9a5880616fc886c391bb9f (#3512)
* Update naga to 0.11.0@git:9742f1616c3e3dd2cc9a5880616fc886c391bb9f

* Mark the zero init workgroup test as passing.
2023-02-21 12:50:22 +01:00
Nicolas Silva
71ee61aa09 Update naga to 0.11.0@git:58105a06e2bd5aefeb9330984d47976e63c11dc4 (#3506) 2023-02-20 14:37:08 +00:00
Nicolas Silva
8f1db56fc0 Work around a clippy error (#3505) 2023-02-20 15:35:58 +01:00
Shaye Garg
e18520078a Update docs regarding TIMESTAMP_QUERY (#3501)
* fix docs of Features

* switch sentences for clarity
2023-02-19 19:02:59 +00:00
Teodor Tanasoaia
b534379acb [dx11] fix storage related features (#3497) 2023-02-18 00:10:31 -05:00
Jim Blandy
7819423c74 Fix doc string links. (#3496) 2023-02-18 00:10:16 -05:00
Leo Kettmeir
ea2f20ccb0 fix(deno): don't default to 0 for setVertexBuffer.size & properly use webidl.setlike (#3493) 2023-02-17 12:06:30 -05:00
Teodor Tanasoaia
074d1da831 Set the new naga capabilities (#3494)
* remove redundant flag

* set the `MULTISAMPLED_SHADING` downlevel flag for gles and dx11

* set the right naga capabilities

add `Features::SHADER_EARLY_DEPTH_TEST`

* add changelog entry

* remove `@early_depth_test` from water example
2023-02-16 22:43:38 -05:00
Nicolas Silva
bf38b4b0b1 Update naga to 0.11.0@git:568d7c4c136dada369ef7f59ee8414a263d6c7b2 (#3491)
* Update naga to 0.11.0@git:568d7c4c136dada369ef7f59ee8414a263d6c7b2

* Fix the clear_texture after naga update.
2023-02-16 15:24:24 +01:00
daxpedda
719ba83726 Enable more wgpu-hal functions for webgl (#3490) 2023-02-15 22:04:57 +00:00