Dzmitry Malyshau
b7e4ebbeba
Remove profiling dependency
2021-04-29 12:30:29 -04:00
bors[bot] and Chandler Newman
09c943d986
Merge #850
...
850: Add uniform and storage buffer arrays r=kvark a=csnewman
**Connections**
https://github.com/gfx-rs/wgpu/pull/1315
**Description**
Adds uniform and storage buffer arrays
Usage:
```
wgpu::BindGroupEntry {
binding: 0,
resource: BindingResource::BufferArray(&[
buffer1.as_entire_buffer_binding(),
buffer2.as_entire_buffer_binding(),
]),
}
```
Co-authored-by: Chandler Newman <chandler2newman@hotmail.co.uk >
2021-04-29 16:18:52 +00:00
Chandler Newman
5d2e88c6c8
Add uniform and storage buffer arrays
2021-04-29 12:17:37 -04:00
bors[bot] and Dzmitry Malyshau
048551cba3
Merge #878
...
878: Update naga to gfx-23 r=kvark a=kvark
Picks up https://github.com/gfx-rs/wgpu/pull/1353 and https://github.com/gfx-rs/wgpu/pull/1354
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-26 16:17:09 +00:00
Dzmitry Malyshau
e3ba6f37ef
Update naga to gfx-23
2021-04-26 12:16:01 -04:00
bors[bot] and dzil123
80fdbd2286
Merge #876
...
876: Derive Default for PipelineLayoutDescriptor r=kvark a=dzil123
Co-authored-by: dzil123 <5725958+dzil123@users.noreply.github.com >
2021-04-23 17:28:06 +00:00
dzil123
7f71c51ec6
Derive Default for PipelineLayoutDescriptor
2021-04-23 03:49:36 -07:00
bors[bot] and Diggory Hardy
c5ce55d003
Merge #873
...
873: Boids example: cleaner rand code r=kvark a=dhardy
... for a certain definition of cleaner. Is this clearer or just more confusing?
Co-authored-by: Diggory Hardy <git@dhardy.name >
2021-04-22 13:50:05 +00:00
Diggory Hardy
c127f52091
Boids example: cleaner rand code
2021-04-22 10:31:10 +01:00
bors[bot] and grovesNL
e26c6b146b
Merge #872
...
872: Remove zero padding from `create_buffer_init` r=kvark a=grovesNL
Follow-up to #870 (https://github.com/gfx-rs/wgpu-rs/pull/870#issuecomment-824333926 )
Co-authored-by: grovesNL <josh@joshgroves.com >
2021-04-22 02:20:05 +00:00
grovesNL
2acc010ab7
Remove zero padding from create_buffer_init
...
The buffer should already be zeroed so zeroing shouldn't be necessary
2021-04-21 23:03:40 -02:30
bors[bot] and Diggory Hardy
394ecc51fd
Merge #870
...
870: Remove dead code r=kvark a=dhardy
Also, why bother setting the padding bytes to 0?
Co-authored-by: Diggory Hardy <git@dhardy.name >
2021-04-21 18:04:32 +00:00
Diggory Hardy
539634ac49
Remove dead code
2021-04-21 17:26:36 +01:00
bors[bot] and Dzmitry Malyshau
1806a5bd4d
Merge #866
...
866: Update gfx and naga to gfx-22 r=kvark a=kvark
See https://github.com/gfx-rs/wgpu/pull/1339
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-19 22:15:51 +00:00
Dzmitry Malyshau
6bb316386d
Update gfx and naga to gfx-22
2021-04-19 18:15:14 -04:00
bors[bot] and adamnemecek
50e05776d1
Merge #860
...
860: Drops the Sync requirement from UncapturedErrorHandler r=kvark a=adamnemecek
Co-authored-by: adamnemecek <adamnemecek@gmail.com >
2021-04-15 21:12:49 +00:00
bors[bot] and Igor Shaposhnik
2f17019ccc
Merge #861
...
861: Remove glslangvalidator requirements from water example r=kvark a=Gordon-F
`glslangvalidator` is no longer needed because the example uses WGSL.
Co-authored-by: Igor Shaposhnik <Gordon-F@users.noreply.github.com >
2021-04-15 20:57:15 +00:00
Igor Shaposhnik
3bce5376a7
Remove glslangvalidator requirements from water example
2021-04-15 23:14:25 +03:00
adamnemecek
960363933d
Drops the Sync requrement from UncapturedErrorHandler
2021-04-15 11:57:19 -07:00
bors[bot] and ashpil
ce9e04a215
Merge #859
...
859: Fix typos - it's -> its r=cwfitzgerald a=ashpil
As I was reading the documentation, I found an instance where "it's" should actually be "its", as it is used as a possessive, not a contraction. I fixed that and `grep`ed for other instances, of which I found one and fixed as well.
Co-authored-by: ashpil <shpilenok2001@gmail.com >
2021-04-15 16:49:12 +00:00
ashpil
9ca323bd23
Fix typos it's -> its
2021-04-15 12:39:16 -04:00
bors[bot] and Dzmitry Malyshau
34558fa42a
Merge #858
...
858: Update blend APIs r=kvark a=kvark
Picks up https://github.com/gfx-rs/wgpu/pull/1333
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-15 15:49:11 +00:00
Dzmitry Malyshau
19d3a4da4b
Update blend APIs
2021-04-15 11:48:42 -04:00
bors[bot] and adamnemecek
1f8e411a8b
Merge #857
...
857: updated wgpu with more copyable types r=kvark a=adamnemecek
Co-authored-by: adamnemecek <adamnemecek@gmail.com >
2021-04-14 20:42:37 +00:00
adamnemecek
65c4251456
Updated wgpu version
2021-04-14 13:26:26 -07:00
Aaron Housh
9ce3c22767
Add map alignment from wgpu-types ( #853 )
...
* Add map alignment, and fix staging belt aligning to it instead for validations
* bump wgpu versions
2021-04-13 09:44:59 -04:00
bors[bot] and Patrick LaFontaine
0d3f4b8000
Merge #855
...
855: Remove comment about `Vec::remove_item` r=kvark a=Pat-Lafon
Sadly, `Vec::remove_item` was an unstable method that was deprecated and has now been removed.
https://github.com/rust-lang/rust/pull/80972
This pr removes a comment suggesting to use `Vec::remove_item` when it stabilizes.
Co-authored-by: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com >
2021-04-13 05:23:42 +00:00
Patrick LaFontaine
566867c5b1
Remove comment about Vec::remove_item
2021-04-13 00:01:17 -04:00
bors[bot] and Dzmitry Malyshau
53600ecd83
Merge #851
...
851: Update naga to gfx-21 r=kvark a=kvark
See https://github.com/gfx-rs/wgpu/pull/1320
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-11 05:26:26 +00:00
Dzmitry Malyshau
5163926f58
Update naga to gfx-21
2021-04-11 01:25:42 -04:00
bors[bot] and Richard Tjerngren
ec2627a139
Merge #847
...
847: Don't pin web-sys and wasm-bindgen versions r=grovesNL a=RichoDemus
Pinning them forces all downstream dependencies to use exactly this version
The latest release of wgpu has pinned an old version of wasm-bindgen, forcing users to downgrade wasm-bindgen-cli in order to build
Co-authored-by: Richard Tjerngren <git@richodemus.com >
Co-authored-by: RichoDemus <git@richodemus.com >
2021-04-09 02:22:20 +00:00
RichoDemus
8b34076995
Use latest version of wasm-bindgen-cli
2021-04-07 18:21:26 +02:00
Richard Tjerngren
a2ab4ac58c
Don't pin web-sys and wasm-bindgen versions
...
Pinning them forces all downstream dependencies to use exactly this version
The latest release of wgpu has pinned an old version of wasm-bindgen, forcing users to downgrade wasm-bindgen-cli in order to build
2021-04-07 16:06:03 +02:00
bors[bot] and Dzmitry Malyshau
1de388afac
Merge #845
...
845: Update wgpu with depth clamping API changes r=kvark a=kvark
Picks up https://github.com/gfx-rs/wgpu/pull/1309
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-06 13:40:10 +00:00
Dzmitry Malyshau
729d9e2f37
Update wgpu with depth clamping API changes
2021-04-05 23:27:53 -04:00
bors[bot] and Dzmitry Malyshau
41f44dab1c
Merge #844
...
844: Update wgpu to the cross feature fix r=kvark a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-05 05:13:48 +00:00
Dzmitry Malyshau
07351e7b06
Update wgpu to the cross feature fix
2021-04-05 01:13:13 -04:00
bors[bot] and Dzmitry Malyshau
c5c1c5c7cb
Merge #843
...
843: Update wgpu-core with SPIRV coordinate fix r=kvark a=kvark
See https://github.com/gfx-rs/wgpu/pull/1305
Fixes #842
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-04 23:08:31 +00:00
Dzmitry Malyshau
e15d8eaa3c
Update wgpu-core with SPIRV coordinate fix
2021-04-04 19:08:03 -04:00
bors[bot] and Dzmitry Malyshau
14f7d7bcab
Merge #839
...
839: Update naga to gfx-20 r=kvark a=kvark
See https://github.com/gfx-rs/wgpu/pull/1304
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-04 15:36:50 +00:00
Dzmitry Malyshau
2ea206d401
Update naga to gfx-20
2021-04-04 11:36:13 -04:00
bors[bot] and adamnemecek
82b7068498
Merge #835
...
835: frame capture r=kvark a=adamnemecek
Co-authored-by: adamnemecek <adamnemecek@gmail.com >
2021-04-01 20:28:21 +00:00
adamnemecek
312b3b6208
frame capture
2021-04-01 13:25:59 -07:00
bors[bot] and Connor Fitzgerald
7daf7bc7d2
Merge #829
...
829: Add Downlevel Infrastructure r=kvark a=cwfitzgerald
wgpu-rs frontend for https://github.com/gfx-rs/wgpu/pull/1297 .
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2021-04-01 15:59:54 +00:00
Connor Fitzgerald
d2eecc807d
Add downlevel infrastructure
2021-04-01 11:53:16 -04:00
bors[bot] and Dzmitry Malyshau
e835f2972d
Merge #826
...
826: Disable SPIRV-Cross by default r=cwfitzgerald a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-03-31 12:23:28 +00:00
Dzmitry Malyshau
52cc52ad8e
Disable SPIRV-Cross by default
2021-03-31 08:22:42 -04:00
bors[bot] and Dy11on
e6141bec95
Merge #827
...
827: Fixed water example file section in the README.md r=cwfitzgerald a=Dy11on
Fixed the file section in the README.md for the water example, since it now uses wgsl
Co-authored-by: Dy11on <26803229+Dy11on@users.noreply.github.com >
2021-03-31 03:32:05 +00:00
Dy11on
088eda606a
Fixed water example file section in the README.md
2021-03-30 22:09:25 -04:00
bors[bot] and Dzmitry Malyshau
d44fc6ff85
Merge #763
...
763: Port the water example shaders to WGSL r=cwfitzgerald a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-03-31 01:39:05 +00:00