Commit Graph

691 Commits (0.12)
 

Author SHA1 Message Date
Ben Hansen f13781a878 more work on alignment page 2 years ago
Ben Hansen 7a42a0d4db reworking the alignment readme 2 years ago
Ben Hansen 4ae6c3f89f added 0.12.md and examples now compile 2 years ago
Ben Hansen a4ce6093b7 pong is working again 2 years ago
Ben Hansen 2073b0fbc1 updated to 0.12 2 years ago
Ben Hansen 0eed08b713 updated news for pong web release 2 years ago
Ben Hansen 3afb7099b2 Merge branch 'web' 2 years ago
Ben Hansen d3489ec360 updating package-lock.json 2 years ago
Ben Hansen bd6721dde2 some fixes to web 2 years ago
Ben Hansen 9570712cfc trying to fix wasm deploy 2 years ago
Ben Hansen 52aa4a3d9b install wasm-pack on deploy 2 years ago
Ben Hansen ccafb3f6e2 Merge branch 'master' of github.com:sotrh/learn-wgpu 2 years ago
Ben Hansen ac73aee9f5 Merge branch 'web' 2 years ago
Ben Hansen 19c1c08b62 added build-wasm.sh to deploy 2 years ago
sotrh 7addf33691
Merge pull request #274 from Josh015/master
Fixed flipped tex_coords in tutorial5-textures
2 years ago
Josh015 110743247f Whoops 3 years ago
Josh015 a90a168280 Fixed flipped tex_coords in tutorial5-textures 3 years ago
sotrh cd11a65a8e
Merge pull request #273 from redwarp/patch-1
Fix depth buffer challenge
3 years ago
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.
3 years ago
sotrh 96d29fae84
Merge pull request #264 from Newbytee/patch-1
Fix challenge code for tutorial 3 crashing
3 years ago
sotrh aa204f2178
Merge pull request #266 from nxsy/cgmath-prelude-import
Add cgmath prelude import in tutorial 7
3 years ago
sotrh be7aa893d6
Merge pull request #267 from nxsy/tutorial9-rgba-as-reference
Provide explanation why rgba is no longer a reference
3 years ago
sotrh 92c56a6aa4
Merge pull request #272 from nxsy/tutorial12-updates
Minor update nits for tutorial 12
3 years ago
sotrh fc9d31f87c
Merge pull request #268 from nxsy/tutorial9-import-trait
Explain why model::Vertex needs to be imported in tutorial 9
3 years ago
sotrh f01bd48a81
Merge pull request #269 from nxsy/tutorial9-missing-bind-group
Simplify the bind_group flow in tutorial 9
3 years ago
sotrh a3b9a42c7a
Merge pull request #270 from nxsy/tutorial10-into
Update tutorial 10 to match types and remove deprecated flags
3 years ago
sotrh c1ecd50064
Merge pull request #271 from nxsy/tutorial11-missing-renamed-vars
Add missing or rename shader vars
3 years ago
Neil Blakey-Milner 24f4ccea20 Minor update nits for tutorial 12 3 years ago
Neil Blakey-Milner 6f388ff8eb Improve clarity of tutorial11 in terms of updates, files 3 years ago
Neil Blakey-Milner 41d8286645 Add missing or rename shader vars 3 years ago
Neil Blakey-Milner 6be05f781e Update tutorial 10 to match types and remove deprecated flags 3 years ago
Neil Blakey-Milner 85fa2ccea9 Simplify the bind_group flow in tutorial 9 3 years ago
Neil Blakey-Milner 0821b6fd9a Explain why model::Vertex needs to be imported in tutorial 9 3 years ago
Neil Blakey-Milner 02e99b66ab Provide explanation why rgba is no longer a reference 3 years ago
Neil Blakey-Milner f9cfd79d95 Add cgmath prelude import in tutorial 7 3 years ago
Newbyte c189f75913
Fix challenge code for tutorial 3 crashing
Only one of the pipelines were actually adjusted, so let's fix that.
3 years ago
sotrh b0d9ac3245
Merge pull request #261 from Paulo-21/patch-1
Update docs.rs link to 0.11.0
3 years ago
sotrh 4a313515ab
Merge pull request #263 from arifd/master
Typo: TextureUsages::OUTPUT_ATTACHMENT
3 years ago
Arif Driessen 127c3333ce
Merge branch 'sotrh:master' into master 3 years ago
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.
3 years ago
sotrh fbce72a3ea
Merge pull request #262 from arifd/master
small fixes
3 years ago
Arif Driessen a8ebfc7bef
Merge pull request #1 from arifd/redundant-NEW-comment
Remove redundant 'NEW' comment from label
3 years ago
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)
3 years ago
Ben Hansen ba9147f654 example loading in vuepress 3 years ago
Arif Driessen 87c380517d
small typo 3 years ago
Pmimo d9ef1e241e
Update docs.rs link to 0.11.0 3 years ago
sotrh 75948417e7
Merge pull request #257 from FrankenApps/shader-entrypoints
Name shader entry points differently.
3 years ago
sotrh 667d7c16d9
Merge pull request #259 from arifd/master
Rust resolver 2 default in 2021 edition
3 years ago
sotrh d4f5429bbb
Merge pull request #256 from PhilipK/fix-typo-tutorial2
Fix typo in tutorial2-surface README.md
3 years ago
sotrh 9b8a883ae0
Merge pull request #254 from Paulo-21/patch-1
Update link to 0.11 docs.rs
3 years ago