Commit Graph

513 Commits

Author SHA1 Message Date
Martino Fontana
ed34bbfbce Removed unnecessary mut 2021-08-04 15:15:50 +02:00
Martino Fontana
c55ea96d0d Removed unnecessary .clone() 2021-08-04 15:13:08 +02:00
Martino Fontana
467cec5367 Removed unnecessary borrows 2021-08-04 15:06:53 +02:00
Martino Fontana
2c811f43a4 Truncated excessive float precision 2021-08-04 14:58:23 +02:00
Martino Fontana
c80b5a9ae2 Collapsed event_loop match 2021-08-04 14:17:21 +02:00
Martino Fontana
b5af53b272 Simplify DrawModel and DrawLight lifetimes 2021-08-04 13:20:15 +02:00
Ben Hansen
12c7ba6de8 fixed #182 2021-07-20 17:48:23 -06:00
Ben Hansen
f46b2f6d74 fixed #142 2021-07-20 17:40:06 -06:00
Ben Hansen
87c6fa9971 fixed #158 2021-07-20 17:25:47 -06:00
sotrh
0dce068dcc
Merge pull request #205 from hwoodiwiss/fix-tutorial-10
fix: Tutorial 10 Docs Specular Lighting Shader Problems
2021-07-20 12:27:04 -06:00
sotrh
1bedd09f25
Merge pull request #204 from zesterer/master
Switched to pollster
2021-07-20 10:28:50 -06:00
Hugo Woodiwiss
87d74d104f
Fix type issue when using pow in wgsl 2021-07-18 20:44:46 +01:00
Hugo Woodiwiss
af11f05523
Fix errors in tutorial for specular lighting
Also minor fix to file name
2021-07-18 20:36:11 +01:00
Joshua Barretto
12ba9bed0c Switched to pollster 2021-07-14 13:26:05 +01:00
sotrh
02994d1eb6
Merge pull request #197 from sotrh/0.9
0.9
2021-07-10 12:27:02 -06:00
sotrh
dd7725f2d2
Merge pull request #203 from aricasas/master
Fix typo in News
2021-07-10 10:23:34 -06:00
Ari
df21a35be1 Why'll should be While 2021-07-10 03:04:39 -05:00
Ben Hansen
0813fd03a4 Merge branch 'master' into 0.9 2021-06-28 09:24:39 -06:00
sotrh
ff628ff2c0
Merge pull request #178 from sotrh/dependabot/npm_and_yarn/browserslist-4.16.6
Bump browserslist from 4.11.1 to 4.16.6
2021-06-27 12:34:14 -06:00
sotrh
674d14c36c
Merge pull request #183 from sotrh/dependabot/npm_and_yarn/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4
2021-06-27 12:34:01 -06:00
sotrh
6973012cbd
Merge pull request #186 from sotrh/dependabot/npm_and_yarn/ws-6.2.2
Bump ws from 6.2.1 to 6.2.2
2021-06-27 12:33:45 -06:00
sotrh
7dc6e49e4d
Merge pull request #192 from sotrh/dependabot/npm_and_yarn/postcss-7.0.36
Bump postcss from 7.0.27 to 7.0.36
2021-06-27 12:33:27 -06:00
sotrh
be30044db4
Merge pull request #194 from rokonio/patch-1
Update README.md
2021-06-27 12:33:06 -06:00
Rokonio
0f63cee02e
Update README.md
When the vertex class is updated, the `bytemuck`s trait were missing
2021-06-26 14:47:59 +02:00
Ben Hansen
b5ce220c2b upgraded to 0.9 2021-06-19 16:31:49 -06:00
Ben Hansen
c22808f17a fixed #162 2021-06-19 15:27:55 -06:00
sotrh
5262ef07a2
Merge pull request #193 from krsnik02/patch-1
Add missing fields in PrimitiveState
2021-06-19 09:07:26 -06:00
Gwenhwyfar Hartshaw
55c9a7f44c
Add missing fields in PrimitiveState
The render pipeline page was missing the `clamp_depth` and `conservative` fields of the `wgpu::PrimitiveState` struct, added with wgpu 0.8.  These were correct in the full code, but not the snippets in the doc.
2021-06-18 13:59:09 -04:00
Ben Hansen
5f77f40ec1 fixes #191 2021-06-16 19:14:00 -06:00
dependabot[bot]
64f3089a97
Bump postcss from 7.0.27 to 7.0.36
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.27 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.27...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 12:36:50 +00:00
Ben Hansen
53a019b902 fixed #189 2021-06-09 12:55:00 -06:00
sotrh
d45b0982f4
Merge pull request #190 from aevyrie/patch-3
Remove clamp_depth from DepthStencilState
2021-06-09 12:46:44 -06:00
Aevyrie
2eeffbb84a
Rename RenderPassDepthStencilAttachmentDescriptor
Rename RenderPassDepthStencilAttachmentDescriptor -> RenderPassDepthStencilAttachment

See: https://docs.rs/wgpu/0.8.1/wgpu/struct.RenderPassDepthStencilAttachment.html
2021-06-08 00:19:51 -07:00
Aevyrie
e16efae327
Remove clamp_depth from DepthStencilState
clamp_depth no longer exists on DepthStencilState, and is instead only on PrimitiveState.
2021-06-08 00:01:59 -07:00
sotrh
0585ca5ca5
Merge pull request #188 from aevyrie/patch-2
wgpu 0.8 corrections
2021-06-07 17:24:47 -06:00
sotrh
f2dd260ce6
Merge pull request #187 from aevyrie/patch-1
Update README.md
2021-06-07 17:24:17 -06:00
Aevyrie
5cd42e231c
Missing qualifier 2021-06-06 10:32:38 -07:00
Aevyrie
adc729747b
Fix grammatical error 2021-06-06 10:30:46 -07:00
Ben Hansen
72cd5e9eb4 fixed broken demos 2021-06-06 11:13:38 -06:00
Aevyrie
c9003caa9f
ImageDataLayout change 2021-06-06 01:40:12 -07:00
Aevyrie
b8853689fe
wgpu 0.8 BlendState change 2021-06-05 23:52:02 -07:00
Aevyrie
382f12383e
Update README.md
Small typo.
2021-06-05 21:09:10 -07:00
dependabot[bot]
ebf7436a93
Bump ws from 6.2.1 to 6.2.2
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-05 13:31:59 +00:00
sotrh
dd7d48929f
Merge pull request #181 from al-tameemi/e6029cb
Updated the use of RenderPassColorAttachmentDescriptor to RenderPassColorAttachment
2021-06-01 11:57:27 -06:00
sotrh
d7fdcbefdb
Merge pull request #185 from hwoodiwiss/update-tobj
Update tobj to 3.0.x
2021-06-01 11:51:05 -06:00
Hugo Woodiwiss
3a4b2d56dc
Update tutorial 13 to tobj 3.0.x 2021-06-01 14:30:36 +01:00
Hugo Woodiwiss
fd7b232e6f
Update tutorial 12 to tobj 3.0.x 2021-06-01 14:29:04 +01:00
Hugo Woodiwiss
08fc3e41d0
Update tutorial 11 to tobj 3.0.x 2021-06-01 14:27:13 +01:00
Hugo Woodiwiss
67c9246b2f
Updated tutorial to work with tobj 3.0.x 2021-06-01 14:19:32 +01:00
Hugo Woodiwiss
72ea816735
Update tobj in lighting tutorial 2021-06-01 13:57:56 +01:00