Commit Graph

4188 Commits

Author SHA1 Message Date
Jim Blandy
711ab981b7
Document wgpu_core::hub::Hub locking rules. (#3577)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-05 22:48:43 +00:00
Teodor Tanasoaia
6918cf33d4
[metal] Fix metal erroring on an array_stride of 0 (#3538)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-04-05 22:40:15 +00:00
dependabot[bot]
a13ed91626
Bump bitflags from 1.3.2 to 2.0.2 (#3606)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connor@modyfi.io>
2023-04-05 22:24:59 +00:00
Sebastian J. Hamel
27cdfd2954
Silence vulkan validation error (#3095) (#3627) 2023-04-05 18:15:43 -04:00
dependabot[bot]
7119fc7672
Bump libc from 0.2.140 to 0.2.141 (#3651)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 22:02:59 +00:00
Lukas Herzberger
b6dbce740f
Implement resolve query set (#3489
* implement command_encoder_resolve_query_set

* fix args

* add BufferUsages::QUERY_RESOLVE

* update changelog

* fix link text

* validate query resolve: check for QUERY_RESOLVE instead of CPY_DST

* update changelog, replace COPY_DST with QUERY_RESOLVE in mipmap example
2023-04-05 17:59:04 -04:00
TheOnlyMrCat
47a887ce0f
Manually implement traits on wgpu::Id (#3630) 2023-04-05 17:56:04 -04:00
Benjamin Schaaf
fdbbd02c1e
Properly drop surfaces (#3647)
Co-authored-by: Benjamin Schaaf <bschaaf@sublimetext.com>
Fixes #3646
2023-04-05 17:48:12 -04:00
dependabot[bot]
628a95cd1c
Bump serde_json from 1.0.94 to 1.0.95 (#3650)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.94...v1.0.95)

---
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-04-05 17:47:42 +02:00
Teodor Tanasoaia
37fbae7872
Revert "Fix macro to allow disabling dx12 feature. (#3590)" (#3649)
This reverts commit 110e62aed2.
2023-04-04 15:16:31 +02:00
daxpedda
9fa7186ede
[gles] Fix tex_sub_image_* calls not always adjusting to target texture (#3641) 2023-04-04 13:51:13 +02:00
dependabot[bot]
4165a147a1
Bump raw-window-handle from 0.5.1 to 0.5.2 (#3645)
Bumps [raw-window-handle](https://github.com/rust-windowing/raw-window-handle) from 0.5.1 to 0.5.2.
- [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.1...v0.5.2)

---
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-04-04 13:09:35 +02:00
dependabot[bot]
77d66966b1
Bump image from 0.24.5 to 0.24.6 (#3642)
Bumps [image](https://github.com/image-rs/image) from 0.24.5 to 0.24.6.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/commits)

---
updated-dependencies:
- dependency-name: image
  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-03 12:57:30 +02:00
multisn8
ea396e2e00
Update outdated notice of GL being unsupported (#3638) 2023-04-02 13:47:16 -04:00
dependabot[bot]
316312bb90
Bump cargo-run-wasm from 0.3.0 to 0.3.2 (#3629)
Bumps [cargo-run-wasm](https://github.com/rukai/cargo-run-wasm) from 0.3.0 to 0.3.2.
- [Release notes](https://github.com/rukai/cargo-run-wasm/releases)
- [Changelog](https://github.com/rukai/cargo-run-wasm/blob/main/changelog.md)
- [Commits](https://github.com/rukai/cargo-run-wasm/commits)

---
updated-dependencies:
- dependency-name: cargo-run-wasm
  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-31 18:57:42 +02:00
dependabot[bot]
e64504ecec
Bump thiserror from 1.0.39 to 1.0.40 (#3625)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.39...1.0.40)

---
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-30 10:50:24 +02:00
TheOnlyMrCat
53ddf687c6
Add a generic parameter to wgpu::Id (#3575) 2023-03-29 14:11:36 -04:00
dependabot[bot]
e4844a1007
Bump serde from 1.0.156 to 1.0.159 (#3623)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 14:03:45 -04:00
Erich Gubler
c200597115 refactor: resolve clippy::useless_conversion 2023-03-27 19:24:16 +02:00
Erich Gubler
96c6c89e93 refactor(d3d12): use mut_self instead of round-tripping w/ mut_void 2023-03-27 19:24:16 +02:00
Xiaopeng Li
f43b706e17
Fix imports (#3618) 2023-03-24 09:30:53 -04:00
Andreas Reich
b330ff25a3
Add rust toolchain file to specify the rust version used on CI. (#3598) 2023-03-22 15:20:36 -04:00
Jeremy Leibs
68b0b24ce8
Reset the queue state between each command buffer on queue submit (#3593)
Co-authored-by: Andreas Reich <andreas@rerun.io>
2023-03-22 15:08:44 -04:00
Emil Ernerfeldt
d20fc0d2b5
Fix typo I introduced in previous PR (#3615) 2023-03-22 14:44:54 +00:00
Emil Ernerfeldt
a89e35a4e0
Validate shader location clashes (#3613)
* Validate shader location clashes

* Add line to changelog
2023-03-22 14:56:52 +01:00
Connor Fitzgerald
0c3ca5c08b
Fix Metal Mipmap Behvior (#3610) 2023-03-21 16:37:30 +00:00
Christopher Fleetwood
a502282307
feat: correct bounds policy checking on MSL (#3603) 2023-03-21 12:33:25 +01:00
Vinh Truong
7495646d5f
[wgpu-types] Minor doc typo (#3608) 2023-03-20 21:51:52 +01:00
Andreas Reich
f183140898 [GLES] Always use instanced methods to workaround for instance attributes when rendering a single instance 2023-03-20 15:42:51 -02:30
Andreas Reich
2a37b2d918 added changelog 2023-03-20 15:42:51 -02:30
Andrew Numrich
110e62aed2
Fix macro to allow disabling dx12 feature. (#3590)
* Fix macro for DX12 conditional compilation

* Update CHANGELOG.md

* Apply suggestions from code review

---------

Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
2023-03-15 18:48:47 +01:00
dependabot[bot]
c3dd533bd5
Bump serde from 1.0.155 to 1.0.156 (#3592)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.155 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156)

---
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-15 10:37:13 +01:00
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