AdrianEddy
e85cc91b5d
Add support for importing external buffers ( #3355 )
2023-07-07 18:00:08 -04:00
Xiaopeng Li
9ab44e6ff6
Expose egl_config ( #3907 )
2023-07-07 17:55:47 -04:00
Fredrik Fornwall
234dea18c4
Fix link to GPUVertexBufferLayout
...
Fixes #3342 .
2023-07-05 20:08:22 -02:30
Fredrik Fornwall
1c43272d2a
Remove backend_bits from initialize_adapter_from_env ( #3904 )
...
Remove backend_bits from initialize_adapter_from_env, backends can
be specified using the backends field in InstanceDescriptor instead.
2023-07-05 18:21:39 +02:00
Nicolas Silva
7624d6c78e
[glsl-out] textureSize level must be a signed integer. ( #2397 )
2023-07-04 15:53:29 +02:00
Fredrik Fornwall
17143c149c
Make shader write&read storage buffers match non readonly layouts ( #3893 )
2023-06-29 22:30:34 +00:00
daxpedda and Connor Fitzgerald
88f18ed190
Don't implement Send or Sync on Wasm ( #3691 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-06-29 20:31:18 +00:00
AlbinBernhardssonARM
7c34cc86e8
Implement depth-clip-control using depthClamp ( #3892 )
2023-06-29 16:15:21 -04:00
Teodor Tanasoaia
a550b0b499
Split image bounds check policy ( #2265 )
2023-06-29 14:59:37 +00:00
wicast
3ca8b4997d
fix(spv-out-debug): fix debug options ( #2394 )
2023-06-29 13:31:26 +02:00
Divy Srivastava
6158692654
Add Quartzcore behind link feature flag ( #3897 )
2023-06-29 12:07:30 +02:00
wicast
25e4f17a69
add debug info for spv-out ( #2379 )
2023-06-28 14:30:25 +02:00
Leo Kettmeir
973cd3ebf8
feat: add link feature ( #3853 )
2023-06-28 12:30:28 +02:00
Joe O'Connor
614da63366
Expose early depth test field ( #2393 )
2023-06-27 15:25:55 +02:00
Jinlei Li
757245cdfc
metal: support (simulated) visionOS ( #3883 )
2023-06-23 19:31:35 -04:00
Jinlei Li
cc203a66b1
web: use get_preferred_canvas_format() to fill SurfaceCapabilities ( #3744 )
...
* web: use `get_preferred_canvas_format()` to fill `formats` of `SurfaceCapabilities`
* Only keep preferred format as the first element
* Update CHANGELOG
* Find preferred format and move it to the first position in the formats.
* Add a note to preferred_format.
* Remove the unnecessary allocation.
2023-06-23 22:24:58 +08:00
Elabajaba
adf1cca68d
Implement Pack/Unpack for HLSL ( #2353 )
2023-06-23 15:52:22 +02:00
Teodor Tanasoaia
ffe2308a60
rename allow_point_size to allow_and_force_point_size ( #2280 )
2023-06-22 06:36:54 -07:00
Sven Sauleau
45efae315b
fix Wasm casing ( #3878 )
2023-06-21 20:54:07 +00:00
Gabriel Vogel
1858ac37f1
Make examples in main workspace visible to run-wasm xtask ( #3880 )
2023-06-21 20:46:03 +00:00
Eduard-Mihai Burtescu
f915d39a87
[spv-out] Use IndexSet instead of HashSet for iterated sets (capabilities/extensions).
2023-06-21 13:30:01 -07:00
Jem Bishop
597394cfe9
fix examples link ( #3875 )
2023-06-19 01:54:09 +00:00
Andrew Wheeler(Genusis)
2ee2e1a770
Update RenderPass draw, draw_indexed, set_viewport and set_scissor_rect documentation ( #3860 )
2023-06-17 17:11:24 +00:00
Xiaopeng Li and Connor Fitzgerald
f9fcb54ce4
Disable suballocation on Iris(R) Xe gpu ( #3668 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-06-15 20:18:38 +00:00
Connor Fitzgerald
db39b5423e
Formatting and example command fixes ( #3872 )
2023-06-15 20:05:26 +00:00
Connor Fitzgerald
e6be20f72e
Make wgpu-info into a proper CLI Tool ( #3856 )
2023-06-15 19:56:15 +00:00
Pieter-Jan Briers
acb7712c5a
Allow empty scissor rects ( #3863 )
2023-06-15 15:49:06 -04:00
Igor Shaposhnik
f31093fb3b
Add array-in-function-return-type test
2023-06-15 14:53:19 +02:00
Igor Shaposhnik
304ba5805c
[glsl-out] Fix functions with array return type
2023-06-15 14:53:19 +02:00
Jim Blandy
b7da0057a0
Don't use std::opsIndex, used only when "validate" is on. ( #2383 )
...
In `src/valid/expresion.rs`, use the full path `std::ops::Index` when
implementing the trait on `ExpressionTypeResolver`. This
implementation is `#[cfg(feature = "validate")]`, so the `use`
directive becomes unnecessary when that feature is not enabled,
triggering warnings.
2023-06-15 14:40:13 +02:00
Teodor Tanasoaia
dcad7dfba9
Update naga to 0.12.0@git:76003dc0035d53a474d366dcdf49d2e4d12e921f ( #3866 )
2023-06-14 18:55:33 +02:00
dependabot[bot]
d8b2c3866e
Bump bitflags from 2.3.1 to 2.3.2 ( #3865 )
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.3.1 to 2.3.2.
- [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.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: bitflags
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-14 09:47:45 +02:00
teoxoy
76003dc003
remove unnecessary macro parameters
2023-06-13 15:08:05 -07:00
dependabot[bot]
c294aba006
Bump arrayvec from 0.7.2 to 0.7.3 ( #3862 )
...
Bumps [arrayvec](https://github.com/bluss/arrayvec ) from 0.7.2 to 0.7.3.
- [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bluss/arrayvec/compare/0.7.2...0.7.3 )
---
updated-dependencies:
- dependency-name: arrayvec
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-13 13:00:40 +02:00
teoxoy
08105461ce
omit non referenced expressions
2023-06-12 17:49:06 -07:00
teoxoy
763ec5d1a5
complete HLSL reserved symbols
2023-06-12 17:41:53 -07:00
teoxoy
dbb6d8e814
avoid allocating
2023-06-12 17:41:53 -07:00
dependabot[bot]
b7289a75e0
Bump png from 0.17.8 to 0.17.9 ( #3857 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 11:11:07 -04:00
dependabot[bot]
29b2ab9420
Bump gpu-alloc from 0.5.4 to 0.6.0 ( #3858 )
...
Bumps [gpu-alloc](https://github.com/zakarumych/gpu-alloc ) from 0.5.4 to 0.6.0.
- [Changelog](https://github.com/zakarumych/gpu-alloc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zakarumych/gpu-alloc/commits )
---
updated-dependencies:
- dependency-name: gpu-alloc
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-06-12 11:40:54 +02:00
Connor Fitzgerald
80b178fa56
Bumps wasm-bindgen version ( #3854 )
...
* Bumps wasm-bindgen version
* Always run the publish job, just don't publish on PR
* Pin wasm-bindgen version when publishing
2023-06-10 18:29:16 -04:00
Connor Fitzgerald and Connor Fitzgerald
10172e1f38
Move Examples and Tests to Their Own Crates ( #3841 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-06-10 18:35:46 +00:00
Erich Gubler
9b6e74813f
build: mark hlsl-snapshots as publish = false
2023-06-09 14:32:02 +02:00
Erich Gubler
3e11b4a3cd
refactor(xtask): prefer ? to Result::map in subcmd. parsing
2023-06-09 14:32:02 +02:00
Erich Gubler
cd7b8aca47
refactor(xtask): avoid unnecessary IIFE
2023-06-09 14:32:02 +02:00
dependabot[bot]
121cfa2759
Bump js-sys from 0.3.61 to 0.3.63 ( #3851 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.61 to 0.3.63.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
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-09 09:47:40 +02:00
Erich Gubler
3c3763b71b
Add xtask for project workflows, but start small with only run-wasm ( #3844 )
2023-06-08 15:32:20 -04:00
Connor Fitzgerald and Connor Fitzgerald
173820222f
Migrate to nv-flip for image comparison ( #3830 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-06-08 11:48:06 -04:00
Erich Gubler
273ff5d829
style: alphabetize dev-dependencies
2023-06-08 16:56:57 +02:00
Erich Gubler
daeb64c429
build(ci): trigger for ron files in HLSL shader snapshot test config.
2023-06-08 16:56:57 +02:00
Erich Gubler
91d48b2923
build: move from make to cargo xtask workflows
...
Re-implement `naga` development workflows using [`cargo xtask`]. Convert
`make` logic and shader test configuration as file with Bash variables
into an `xtask` crate and YAML files, respectively.
Pros:
* We now have a _portable_ workflow everywhere, which means Windows
folks and people who don't install `make` don't have to suffer.
😮💨
* Workflow logic is now relatively easy to inspect and change. Whew!
💁🏻♂️ 💦
* Contributors can use their existing Rust knowledge to contribute to
developer experience. 🎉
* `cargo xtask` is a relatively well-known convention for workflows in
the ecosystem.
* We can do fancy things like allow folks to run at different log levels
for workflows, depending on their tastes.
Cons:
* There's now a non-trivial compile step to project workflow.
Incremental rebuilds seem to be pretty short, though!
* Code is much more verbose than the (very) terse `make` implementation.
[`cargo xtask`]: https://github.com/matklad/cargo-xtask
2023-06-08 16:56:57 +02:00