Teodor Tanasoaia
f37db5affc
[wgsl] remove outerProduct ( #2535 )
2023-10-05 19:14:52 +02:00
dependabot[bot]
1495e159fa
Bump log from 0.4.17 to 0.4.20 ( #4210 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 00:31:22 -04:00
Nicolas Silva
198e1dfadc
Validate that resources belong to the right device. ( #4207 )
2023-10-04 14:39:03 -04:00
Teodor Tanasoaia
7d1005faad
[WebGPU] validate polygon mode ( #4196 )
2023-10-04 12:27:27 +00:00
Nicolas Silva and Connor Fitzgerald
32b761a591
Implement a missing part of bind group layout deduplication ( #4200 )
...
* Don't create a raw bind group layout for duplicates.
* Fully support bind group layout deduplication in Pipeline::get_bind_group_layout
---------
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-10-04 11:12:19 +02:00
Leo Kettmeir and Connor Fitzgerald
d0a7f46e3a
update deno and spec ( #4143 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-10-04 04:25:56 +00:00
Connor Fitzgerald
d2f8bd0eed
Update Readme ( #4206 )
...
* Update MSRV language
* Some more basic readme updates
2023-10-04 02:12:52 +00:00
Connor Fitzgerald
93d2e5b4ba
Split MSRV in Two Parts ( #4204 )
...
* Split MSRV in two parts
* Use toml
* Fix CI
* Update names and cache hits for various jobs
* Comment
2023-10-03 21:03:32 -04:00
Connor Fitzgerald
90a8feab77
Add v0.17.* changelog ( #4203 )
2023-10-03 23:49:05 +00:00
Teodor Tanasoaia
e63b0f6f17
[vulkan] set spir-v capabilities based on downlevel flags ( #4197 )
2023-10-03 16:34:36 -04:00
Elabajaba
61300afd22
update gpu-allocator to 0.23 ( #4198 )
2023-10-03 16:32:13 -04:00
Alix Bott and Connor Fitzgerald
a4d733b2e6
Fix x11 hang when resizing on vulkan ( #4184 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-10-03 20:24:54 +00:00
dependabot[bot]
e677b1ea43
Bump async-executor from 1.5.3 to 1.5.4 ( #4186 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 20:19:37 +00:00
Teodor Tanasoaia
fd02a12726
Make GLES optional on Windows & macOS ( #4185 )
2023-10-03 16:16:24 -04:00
Teodor Tanasoaia
422c636877
Add Rgb10a2Uint format ( #4199 )
2023-10-03 14:56:21 +02:00
dependabot[bot]
1cf3bdf0bd
Bump libloading from 0.8.0 to 0.8.1 ( #4192 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.0...0.8.1 )
---
updated-dependencies:
- dependency-name: libloading
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-10-03 14:14:34 +02:00
Teodor Tanasoaia
6668d0694c
Add Rgb10a2Uint format ( #2525 )
2023-10-03 13:36:14 +02:00
Teodor Tanasoaia
613da72ac0
[spv-out] require ClipDistance & CullDistance capabilities if necessary ( #2528 )
2023-10-03 13:34:56 +02:00
Jinlei Li
6df7e2d7e5
Revert "Ignore the exception values generated by the winit resize event" ( #4195 )
2023-10-02 14:42:06 +02:00
Nicolas Silva
9ff61fee9f
Trace logging adjustments ( #4188 )
2023-10-02 09:05:56 +02:00
Evan Mark Hopkins
9f3cdb61aa
[msl-out] Make varyings' struct members unique ( #2521 )
2023-09-29 12:26:23 +02:00
Teodor Tanasoaia
c927d3ec82
remove duplicated code
2023-09-28 15:16:18 -07:00
teoxoy
e6a47ba262
disable uniformity analysis for the fragment stage
2023-09-28 20:33:11 +02:00
teoxoy
ee236e6c9b
[valid] make sure textureSampleBias is only used in the fragment stage
2023-09-28 20:33:11 +02:00
Teodor Tanasoaia
f72489be00
validate variable initializer for address spaces ( #2513 )
2023-09-28 20:32:46 +02:00
Nicolas Silva
9a76c483da
Add trace level logging to most API entry points ( #4183 )
...
* Add trace level logging to most API entry points
* Add a changelog entry
2023-09-28 18:29:44 +02:00
Jim Blandy
a17a93ef8f
snapshots: convert_wgsl: Remove redundant cubeArrayShadow entry. ( #2514 )
...
The duplicate entry was introduced accidentally in #1845 .
2023-09-28 09:09:57 +02:00
dependabot[bot]
caad255737
Bump winit from 0.28.6 to 0.28.7 ( #4181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 02:40:41 -04:00
Brad Werth
57f8757fad
Add device destroy method ( #4163 )
...
Plus tests that ensure that an invalid device behaves correctly.
Mostly a stub implementation otherwise.
2023-09-27 14:34:23 +02:00
dependabot[bot]
8d32dc2b47
Bump async-executor from 1.5.1 to 1.5.3 ( #4174 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 23:45:02 -04:00
dependabot[bot]
2b1ea39028
Bump thiserror from 1.0.48 to 1.0.49 ( #4178 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 23:44:52 -04:00
Evan Mark Hopkins
a898522e10
Rename identifiers containing double underscores ( #2510 )
2023-09-26 16:46:02 +02:00
dependabot[bot]
21e20076a0
Bump gpu-descriptor from 0.2.3 to 0.2.4 ( #4173 )
...
Bumps [gpu-descriptor](https://github.com/zakarumych/gpu-descriptor ) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/zakarumych/gpu-descriptor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zakarumych/gpu-descriptor/commits )
---
updated-dependencies:
- dependency-name: gpu-descriptor
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-09-26 09:41:31 +02:00
Jim Blandy
3666f1aef8
Add test case for #4167 , marked as an expected failure. ( #4168 )
2023-09-25 19:55:55 -04:00
Jacob Hughes
27f2ce397a
Re-export Naga ( #4172 )
2023-09-25 13:23:03 -07:00
Jim Blandy
3bcb114adb
snapshots: Change messages for generating output.
...
Change printlns in the backend functions to say "generating" instead
of "writing" before calling the Naga backends. "Writing" suggests
writing output to a file; "generating" seems more accurate for calling
a backend.
2023-09-25 07:59:41 -07:00
Jim Blandy
5af7ebc955
snapshots: Consolidate path handling.
...
Add a new type, `Input`, representing a particular Naga input file,
with methods to generate related paths - output files with a
particular extension, parameter files, and the input file itself.
Use this throughout `snapshots.rs` to generate paths.
Give `Input` utility methods for reading and writing files.
2023-09-25 07:59:41 -07:00
Jim Blandy
4329a6a51b
snapshots: Name convert_glsl_variations_check output consistently.
...
Rather than adding a `-glsl` suffix to the name, just rely on
`check_targets`' standard naming behavior, treating
`tests/in/variations.glsl` like any other snapshot input.
2023-09-25 07:59:41 -07:00
Jim Blandy
0c69735f59
Change naga::back::spv::DebugInfo::file_name to a &Path.
...
This makes it a bit easier to use in the CLI and snapshot tests.
2023-09-25 07:59:41 -07:00
Jim Blandy
7060246357
Give convert_glsl_folder's output more consistent names.
...
Don't replace dots with dashes in the output filenames for no reason.
Instead, give them names consistent with those generated by
`write_output_glsl`.
2023-09-25 07:59:41 -07:00
Jim Blandy
bc0fc97b26
Delete output files no longer generated by snapshot tests.
2023-09-25 07:59:41 -07:00
Evan Mark Hopkins
dc3d2b1e78
[glsl-out] Polyfill frexp
2023-09-25 13:17:50 +02:00
Jim Blandy
711aa1a834
snapshots: convert_spv: Don't validate the module twice.
...
Remove the call to `Validator::validate` in `convert_spv`, since it
directly follows the call to `check_targets`, which also called
`Validator::validate`.
The only difference between the two is whether `Parameters::god_mode`
is respected, but this difference doesn't seem to have been
deliberate: at the time the call to `check_targets` was added to
`convert_spv` (5f21cf360 , 2021-02-17), the two calls were exactly the
same.
2023-09-25 12:25:15 +02:00
dependabot[bot]
7e0d6c971f
Bump glam from 0.24.1 to 0.24.2 ( #4171 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 00:09:48 -04:00
Jim Blandy
8e393ca213
Add some missing Debug implementations. ( #4166 )
2023-09-22 23:00:07 -04:00
Fredrik Fornwall
85e2141355
Fix using trunk version on mac ( #4164 )
...
Overriding the metal version in the workspace Cargo.toml using a patch
section does not work for projects building against the trunk version:
wgpu = { git = "https://github.com/gfx-rs/wgpu ", branch = "trunk" }
Instead specify the metal dependencies only once in wgpu-hal.
2023-09-22 14:58:33 +02:00
Jim Blandy
57bebbcd20
[wgsl-in] Use deterministic ordering for dependency ordering.
...
Use `FastIndexSet`, rather than `FastHashSet`, for tracking global
declarations' dependencies, so that the order in which functions are
inserted into the `Module` is not dependent on the hash function.
2023-09-21 23:18:18 -07:00
Jim Blandy
1b1ea37f15
[spv-out] Use FastIndexMap for Frontend::switch_cases.
2023-09-21 21:37:32 -07:00
Jim Blandy
89523aec08
Use FastIndexMap for SpecialTypes::predeclared_types.
2023-09-21 21:37:32 -07:00
Jim Blandy
6a254d904d
[wgsl-in] Use FastIndexMap for temporary named expressions table.
2023-09-21 21:37:32 -07:00