Josh015
a90a168280
Fixed flipped tex_coords in tutorial5-textures
2021-11-25 20:01:47 -05:00
sotrh
cd11a65a8e
Merge pull request #273 from redwarp/patch-1
...
Fix depth buffer challenge
2021-11-25 15:32:37 -07:00
Benoît Vermont
9ba4795d9c
Fix challenge depth buffer challenge
...
The shader.wgsl contains entry point `vs_main` and `fs_main`, but the rust code would reference them `main` and `main`
It would cause the following crash when trying to run the code:
```
[2021-11-25T14:50:43Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
note: label = `Render Pipeline`
error matching VERTEX shader requirements against the pipeline
unable to find entry point 'main'
```
This fixes it.
2021-11-25 15:56:52 +01:00
sotrh
96d29fae84
Merge pull request #264 from Newbytee/patch-1
...
Fix challenge code for tutorial 3 crashing
2021-11-24 16:02:34 -07:00
sotrh
aa204f2178
Merge pull request #266 from nxsy/cgmath-prelude-import
...
Add cgmath prelude import in tutorial 7
2021-11-24 16:00:36 -07:00
sotrh
be7aa893d6
Merge pull request #267 from nxsy/tutorial9-rgba-as-reference
...
Provide explanation why rgba is no longer a reference
2021-11-24 15:58:49 -07:00
sotrh
92c56a6aa4
Merge pull request #272 from nxsy/tutorial12-updates
...
Minor update nits for tutorial 12
2021-11-24 15:56:19 -07:00
sotrh
fc9d31f87c
Merge pull request #268 from nxsy/tutorial9-import-trait
...
Explain why model::Vertex needs to be imported in tutorial 9
2021-11-24 15:56:00 -07:00
sotrh
f01bd48a81
Merge pull request #269 from nxsy/tutorial9-missing-bind-group
...
Simplify the bind_group flow in tutorial 9
2021-11-24 15:55:27 -07:00
sotrh
a3b9a42c7a
Merge pull request #270 from nxsy/tutorial10-into
...
Update tutorial 10 to match types and remove deprecated flags
2021-11-24 15:53:00 -07:00
sotrh
c1ecd50064
Merge pull request #271 from nxsy/tutorial11-missing-renamed-vars
...
Add missing or rename shader vars
2021-11-24 15:52:06 -07:00
Neil Blakey-Milner
24f4ccea20
Minor update nits for tutorial 12
2021-11-23 18:56:50 -08:00
Neil Blakey-Milner
6f388ff8eb
Improve clarity of tutorial11 in terms of updates, files
2021-11-23 18:14:17 -08:00
Neil Blakey-Milner
41d8286645
Add missing or rename shader vars
2021-11-23 18:12:38 -08:00
Neil Blakey-Milner
6be05f781e
Update tutorial 10 to match types and remove deprecated flags
2021-11-23 11:19:18 -08:00
Neil Blakey-Milner
85fa2ccea9
Simplify the bind_group flow in tutorial 9
2021-11-22 18:52:49 -08:00
Neil Blakey-Milner
0821b6fd9a
Explain why model::Vertex needs to be imported in tutorial 9
2021-11-22 18:22:19 -08:00
Neil Blakey-Milner
02e99b66ab
Provide explanation why rgba is no longer a reference
2021-11-22 17:52:17 -08:00
Neil Blakey-Milner
f9cfd79d95
Add cgmath prelude import in tutorial 7
2021-11-22 16:44:30 -08:00
Newbyte
c189f75913
Fix challenge code for tutorial 3 crashing
...
Only one of the pipelines were actually adjusted, so let's fix that.
2021-11-22 18:46:43 +01:00
sotrh
b0d9ac3245
Merge pull request #261 from Paulo-21/patch-1
...
Update docs.rs link to 0.11.0
2021-11-20 13:24:54 -07:00
sotrh
4a313515ab
Merge pull request #263 from arifd/master
...
Typo: TextureUsages::OUTPUT_ATTACHMENT
2021-11-20 13:24:34 -07:00
Arif Driessen
127c3333ce
Merge branch 'sotrh:master' into master
2021-11-19 16:56:21 +01:00
Arif Driessen
cdf980a44a
Typo: TextureUsages::OUTPUT_ATTACHMENT
...
TextureUsages::OUTPUT_ATTACHMENT doesn't exist. Changing to TextureUsages::RENDER_ATTACHMENT, which is what the code example uses.
2021-11-17 19:31:10 +01:00
sotrh
fbce72a3ea
Merge pull request #262 from arifd/master
...
small fixes
2021-11-14 11:28:07 -07:00
Arif Driessen
a8ebfc7bef
Merge pull request #1 from arifd/redundant-NEW-comment
...
Remove redundant 'NEW' comment from label
2021-11-07 20:02:24 +01:00
Arif Driessen
f0035b6b9b
Remove redundant 'NEW' comment from label
...
PipelineLayoutDescriptor already has its label set when we get to this point in the tutorial.
(It's set at docs/beginner/tutorial3-pipeline/README.md, line 154)
2021-11-07 20:00:29 +01:00
Ben Hansen
ba9147f654
example loading in vuepress
2021-11-06 18:30:22 -06:00
Arif Driessen
87c380517d
small typo
2021-11-06 22:26:47 +01:00
Pmimo
d9ef1e241e
Update docs.rs link to 0.11.0
2021-11-05 21:28:06 +01:00
sotrh
75948417e7
Merge pull request #257 from FrankenApps/shader-entrypoints
...
Name shader entry points differently.
2021-11-05 11:22:03 -06:00
sotrh
667d7c16d9
Merge pull request #259 from arifd/master
...
Rust resolver 2 default in 2021 edition
2021-11-01 13:59:35 -06:00
sotrh
d4f5429bbb
Merge pull request #256 from PhilipK/fix-typo-tutorial2
...
Fix typo in tutorial2-surface README.md
2021-11-01 13:59:04 -06:00
sotrh
9b8a883ae0
Merge pull request #254 from Paulo-21/patch-1
...
Update link to 0.11 docs.rs
2021-11-01 13:57:08 -06:00
Arif Driessen
6042b6e821
Update README.md
2021-10-31 16:31:58 +01:00
Ben Hansen
f25377f38b
fixed fullscreen
2021-10-28 17:48:54 -06:00
Ben Hansen
592f9b3738
white text is hard to read on white background
2021-10-28 17:15:43 -06:00
Ferdinand Schäffler
bd46bdb243
Converted docs.
2021-10-27 13:17:40 +02:00
Ferdinand Schäffler
a39f95af13
Converted code examples.
2021-10-27 12:58:05 +02:00
Philip Kristoffersen
f31af2d2cb
Fix typo in tutorial2-surface README.md
...
Add a missing "to"
2021-10-27 06:41:05 +02:00
Pmimo
d26d61e4be
Update link to 0.11 docs.rs
2021-10-26 00:53:11 +02:00
Ben Hansen
141c94f48a
wasm now loading
2021-10-24 17:37:30 -06:00
Ben Hansen
0da913d253
wasm is building
2021-10-22 15:55:39 -06:00
sotrh
e683f9de4c
Merge pull request #251 from laalsaas/laalsaas-fix-typo
...
fix typo kronos to khronos
2021-10-20 10:04:50 -06:00
laalsaas
297923e578
fix typo kronos to khronos
2021-10-18 13:18:53 +02:00
sotrh
19ee4aa659
Merge pull request #248 from sotrh/0.11
...
0.11
2021-10-15 14:06:56 -06:00
Ben Hansen
e010f745c9
updated news for 0.11
2021-10-15 13:45:20 -06:00
Ben Hansen
e0e52584a6
fixed pong for 0.11
2021-10-15 12:05:03 -06:00
Ben Hansen
7cc67f5678
migrated to 0.11
2021-10-08 18:40:29 -06:00
Ben Hansen
e13b0418ee
Using existing GithubAction for deploy.yml
2021-10-08 11:50:35 -06:00