Commit Graph

3216 Commits

Author SHA1 Message Date
Dzmitry Malyshau
564330432f Bump wgpu version to 0.10.1 2021-08-18 15:34:08 -04:00
Connor Fitzgerald
12c82b9b9e Fix repo size and logo 2021-08-18 15:25:36 -04:00
Dzmitry Malyshau
9da5c1d3a0
Release v0.10 (#1820)
* Release v0.10

* hal/gles: update glow handles logic
2021-08-18 19:06:21 +00:00
Connor Fitzgerald
80ec65e892
Merge pull request #1814 from kocsis1david/write-texture-data-offset
write_texture data offset
2021-08-18 02:29:15 -04:00
Connor Fitzgerald
c493b63b33 Fix zero sized buffer creation 2021-08-18 01:06:23 -04:00
Dzmitry Malyshau
9b85882ff8 [dx12] implement num_workgroups 2021-08-18 00:14:44 -04:00
Dávid Kocsis
41da55db08 write_texture data offset 2021-08-17 22:16:34 +02:00
Imbris
6ba30cbc0b Run tests in the CI for all workspace members 2021-08-17 13:57:29 -04:00
Adam Gausmann
ee3b85928e Fix panic in GLES shader processing
The backend panics while trying to process uniform global variables
when the variable's name is not found in the emitted ReflectionInfo.
This patch converts the panicking line into an explicit check, and
ignores the corresponding global variable if the name iis not found.

Resolves #1803
2021-08-16 16:00:23 -04:00
Dzmitry Malyshau
4dc5546a17 Naga update to 69b70f8 2021-08-16 01:35:19 -04:00
Dzmitry Malyshau
a222e6eb11 hal/egl: defer surface initialization to configure() time 2021-08-14 12:33:12 -04:00
Connor Fitzgerald
dcefcfdcf3
Merge pull request #1800 from kvark/dx12-root
dx12: switch root parameter updates from eager to lazy
2021-08-14 00:54:12 -04:00
Dzmitry Malyshau
c9fdaef3e1 dx12: switch root parameter updates from eager to lazy 2021-08-14 00:40:41 -04:00
Dzmitry Malyshau
3f42b59ccc Remove caching from the main action 2021-08-13 23:01:13 -04:00
Dzmitry Malyshau
1e7d86b655 Update Naga to 69b70f8 2021-08-13 02:09:43 -04:00
Dzmitry Malyshau
450defb743 Fix panic in surface cleanup 2021-08-13 02:09:43 -04:00
Dzmitry Malyshau
f2a18ee57c Update naga to 1907a92 2021-08-12 23:58:19 -04:00
Connor Fitzgerald
f0520f8c54
Merge pull request #1792 from ecton/surface-safety-docs
Document additional safety requirements of `Instance::create_surface`
2021-08-12 12:29:04 -04:00
Jonathan Johnson
494bde01c2
Added safety clarification to create_surface
This clarifies that the window that a surface is created on must be kept
alive for the lifetime of the surface. This requirement and a proposal
to change it are described in https://github.com/gfx-rs/wgpu/issues/1463
2021-08-12 09:04:02 -07:00
Connor Fitzgerald
4dc0e265ac
Merge pull request #1764 from kvark/submitted-work
Implement onSubmittedWorkDone
2021-08-12 00:06:45 -04:00
Dzmitry Malyshau
4a1ae0d7ec Issue surface texture transitions 2021-08-11 20:58:42 -04:00
Dzmitry Malyshau
dffe1f1793 Return a texture by the surface 2021-08-11 20:58:42 -04:00
Dzmitry Malyshau
f78061bcef Merge swap chain into surface 2021-08-11 20:58:42 -04:00
Connor Fitzgerald
3afab9c5aa
Splits non-uniform indexing into two different features (#1785) 2021-08-10 22:43:08 -04:00
Connor Fitzgerald
a60d2f6f3b
Merge pull request #1774 from ElArtista/gles_storage_limits 2021-08-10 13:09:49 -04:00
Agorgianitis Loukas
8796089636 Gather downlevel flags and require them all at once 2021-08-07 11:17:43 +03:00
Agorgianitis Loukas
5bc42843cf Add downlevel flag for storage buffers in vertex shaders 2021-08-06 21:22:16 +03:00
Connor Fitzgerald
7798534d42
Merge pull request #1773 from pythonesque/patch-1
Fix dynamic offset handling for render bundles
2021-08-06 13:55:51 -04:00
Joshua Yanovski
bff04c1502
Fix dynamic offset handling for render bundles
I found this while testing a "bundlemark" version of bunnymark.
2021-08-06 10:38:35 -07:00
Agorgianitis Loukas
dd24b48b11
Fix scissor test leak when presenting gles backend (#1772)
* Fix scissor test leak when presenting gles backend

* Set color mask before presenting gles backend to avoid potential leak
2021-08-06 10:54:09 -04:00
Zicklag
9310f264f1
Update Naga With New Storage Classes API (#1766) 2021-08-05 13:50:51 -04:00
Zicklag
553fc52f67
Implement adapter_is_surface_supported() for Web (#1767) 2021-08-05 10:01:43 -04:00
Lonsdaleiter
64ffdd52ad
Added is_surface_supported (#1763) 2021-08-04 14:27:08 +00:00
Dzmitry Malyshau
80cf1ffff9 Implement onSubmittedWorkDone 2021-08-04 01:03:26 -04:00
Mikko Lehtonen
5d9c276c82
Include naga diagnostic in the parse error (#1760)
Wraps the Naga's `ParseError` with `NagaParseError` type, that uses the
Naga's full error formatting for its `Display` impl, including shader
source.
2021-08-03 17:27:34 -04:00
Dzmitry Malyshau
b9d18a1699
Remove bors config (#1759) 2021-08-03 11:57:55 -04:00
Dzmitry Malyshau
50da3f33ba
Merge pull request #1758 from kvark/windows-error
Fix error with resolver=1 on non-Windows
2021-08-03 11:52:54 -04:00
Mikko Lehtonen
78e4cd5dbc Remove AsDisplay trait in error formatting 2021-08-03 11:51:52 -04:00
Mikko Lehtonen
019dca3cfa Error formatting impls closer to errors
This is achieved by making a ErrorFormatter helper that is passed to
fmt_pretty, making the impls a lot simpler.
2021-08-03 11:51:52 -04:00
Mikko Lehtonen
e4cdddc639 Move error formatting to wgpu-core 2021-08-03 11:51:52 -04:00
Connor Fitzgerald
11d31d5377
Merge pull request #1753 from euclio/wiki-link
update link to wgpu users wiki
2021-08-01 19:56:59 -04:00
Connor Fitzgerald
61b1a36225
Merge pull request #1754 from katharostech/bytemuck-hello-compute-output
Use Bytemuck to Cast Hello Compute Output
2021-08-01 19:56:36 -04:00
Zicklag
70093eca9e Use Bytemuck to Cast Hello Compute Output
This makes the cast of the output data in the hello-compute example
easier to read and it matches the way we cast the input data as well.
2021-08-01 16:23:14 -05:00
Andy Russell
2163d90c76
update link to wgpu users wiki 2021-08-01 17:11:19 -04:00
Connor Fitzgerald
5c9f1ad319
Merge pull request #1749 from euclio/wiki-link
update link to WebGPU wiki
2021-08-01 02:33:28 -04:00
Andy Russell
943e2ace99
update link to WebGPU wiki 2021-08-01 02:07:55 -04:00
Connor Fitzgerald
bbeb30a2c9
Merge pull request #1745 from katharostech/new-clippy-lints
Fix New Clippy Lints From Rust 1.54.0
2021-07-29 18:27:18 -04:00
Zicklag
07cd75a36b Fix New Clippy Lints From Rust 1.54.0
Fixes a number of new lints introduce in the updated clippy that
CI is now using.
2021-07-29 16:29:46 -05:00
bors[bot]
7c4ab4e611
Merge #1739
1739: Run Reftests on WARP r=kvark a=cwfitzgerald

**Connections**

#1551.

**Description**

All the segmentation faults on linux, none of them on windows.

**Testing**

It is!


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-07-29 13:34:17 +00:00
Connor Fitzgerald
b2080bf2ad
Add --no-fail-fast to CI 2021-07-29 09:24:07 -04:00