teoxoy
b9c5cb5a78
validate vertex stage returns the position built-in
2023-04-12 10:48:18 -07:00
François
d781bb7443
expose-ids: pass the correct field for global ID (#3669 )
2023-04-12 12:45:31 -04:00
Josh Groves
ee175f909c
Fix depth stencil attachment downcast for WebGPU ( #3670 )
2023-04-12 16:33:50 +00:00
Nicolas Silva
f3bf0f782e
Update naga to 0.11.0@git:f59668ccfaf7bdb3a7e43d84363a21c77357b2fe ( #3665 )
2023-04-11 14:13:16 +00:00
dependabot[bot]
9bd6a8db48
Bump png from 0.17.7 to 0.17.8 ( #3664 )
...
Bumps [png](https://github.com/image-rs/image-png ) from 0.17.7 to 0.17.8.
- [Release notes](https://github.com/image-rs/image-png/releases )
- [Changelog](https://github.com/image-rs/image-png/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image-png/commits/v0.17.8 )
---
updated-dependencies:
- dependency-name: png
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-11 00:08:18 -04:00
Josh Groves and Connor Fitzgerald
cfc038aeb9
Avoid using WasmAbi functions on WebGPU backend ( #3657 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-10 16:31:43 -04:00
David Huculak
4d15567392
add dxc error message formatting ( #3632 )
2023-04-10 15:51:46 -04:00
Niklas Korz
2c37608ad3
Web: handle None for depth_ops and stencil_ops ( #3660 )
2023-04-10 11:21:17 +02:00
dependabot[bot] and Teodor Tanasoaia
c7f3d8d7a3
Bump async-executor from 1.5.0 to 1.5.1 ( #3662 )
...
* Bump async-executor from 1.5.0 to 1.5.1
Bumps [async-executor](https://github.com/smol-rs/async-executor ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/smol-rs/async-executor/releases )
- [Changelog](https://github.com/smol-rs/async-executor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-executor/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: async-executor
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Specify only major version
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com >
2023-04-10 09:20:21 +00:00
Connor Fitzgerald and Connor Fitzgerald
51bf95bbd6
Make wgpu-core errors non-exhaustive ( #3652 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-07 19:18:29 +02:00
Teodor Tanasoaia
7fd129a535
[metal] Adapt code to work with the new per_entry_point_map ( #3524 )
2023-04-07 11:01:24 -04:00
daxpedda
f59668ccfa
Allow array_index to be unsigned ( #2298 )
2023-04-07 16:01:55 +02:00
dependabot[bot]
dd64343f94
Bump bitflags from 2.0.2 to 2.1.0 ( #3653 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 23:30:51 -04:00
Erich Gubler
99a7773e65
fix(hlsl-out): use Interlocked<op> intrinsic for atomic integers ( #2294 )
...
We currently assume that we are using raw `RWByteAddressBuffer` methods for all atomic operations (`<pointer>.Interlocked<op>(<raw_byte_offset>, …)`), which is only true when we use `var<storage, read_write>` globals. For `var<workgroup>` globals, we need `Interlocked<op>(<pointer>, …)`, using the original expression as the first argument.
Fix this by branching on the `pointer`'s address space in `Atomic` statements, and implementing the workgroup address space case with intrinsics.
Remove atomic ops from `access`, add new `atomicOps` test.
Fixes #2284
2023-04-05 19:37:22 -07:00
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 and Connor Fitzgerald
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] and Connor Fitzgerald
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
Teodor Tanasoaia
1158709747
stop code coverage comments ( #2283 )
2023-04-05 17:54:07 +02: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
Christopher Fleetwood
7c00548075
[wgsl] Use alias instead of type for type aliases ( #2299 )
2023-04-04 12:35:32 +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
Jim Blandy
da8e911d9d
[hlsl-out]: Document storage access generation. ( #2295 )
2023-03-31 17:30:43 -07: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
PyryM
52043be004
[spv-out] Fix invalid spirv being generated from integer dot products ( #2291 )
...
* Fix invalid spirv generation in int dotprod
constants cannot be declared inside of a function block, so instead use `write_constant_null` to produce a correctly-declared constant 0.
* autogenerated test snapshots
2023-03-30 16:02:54 +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
Jim Blandy
53d62b9ede
Clean up handling of RayDesc builtin type, somewhat.
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
c34eed5e47
Address Jim's review notes, use typegen module for atomic struct
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
024c197cc8
ray query: validation, better test
2023-03-22 17:23:07 -07:00
Jim Blandy
18710fee1e
Expand on the documentation for ray-tracing features.
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
532d1ad510
msl: ray query support
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
22e341b039
wgsl: handle RayDesc/RayIntersection at the type decl level instead of an AST constructor
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
ab9c36441f
fill up the ray query intersection struct
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
13ee4369cc
clippy fixes
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
67d31b8e8c
spv-out: basic ray query support
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
b856625821
Ray query expressions and special types
2023-03-22 17:23:07 -07:00
Dzmitry Malyshau
e46c53d212
Add ray query statements to the IR
2023-03-22 17:23:07 -07:00