Commit Graph

552 Commits (d24553dec14b2a8299a3dbf9cf9d1c1d35af3879)

Author SHA1 Message Date
TonalidadeHidrica 125353a710 Fix typo: know -> known 3 years ago
TonalidadeHidrica 083d8f0640 Fix typo: were -> where 3 years ago
Ben Hansen eaeb7931a1 update patrons list 3 years ago
rhysd 54121a5c54 fix some typos 3 years ago
Ben Hansen 4d0be61d76 typos in news/0.12 3 years ago
Ben Hansen c0843b3f92 fixes #285 3 years ago
Ben Hansen 611b299072 missed multiview in tutorial3 3 years ago
Ben Hansen 75bc7c4ef7 typo in alignment 3 years ago
Ben Hansen ef72161771 Merge branch 'master' of github.com:sotrh/learn-wgpu 3 years ago
Ben Hansen f13781a878 more work on alignment page 3 years ago
Ben Hansen 7a42a0d4db reworking the alignment readme 3 years ago
Ben Hansen 4ae6c3f89f added 0.12.md and examples now compile 3 years ago
Ben Hansen 2073b0fbc1 updated to 0.12 3 years ago
Niklas Eicker 064a0a5efd Some small fixes for beginner tutorials 1 to 5 3 years ago
sotrh 37a097ad97
Merge pull request #276 from turboMaCk/typos
Typo fixes in main README.md
3 years ago
Ben Hansen 0eed08b713 updated news for pong web release 3 years ago
Marek Fajkus f0b3e72740
suggest clarification 3 years ago
Marek Fajkus 88209a1650
few more 3 years ago
Marek Fajkus 0c9236000a
few more fixes 3 years ago
Marek Fajkus 75c9d21fa0
more fixes 3 years ago
Marek Fajkus 7cb3cc9ddc
improve wording in beginner/tutorial2-surface 3 years ago
Marek Fajkus f16e128c33
fix typos in main README 3 years ago
Ben Hansen 3afb7099b2 Merge branch 'web' 3 years ago
Ben Hansen bd6721dde2 some fixes to web 3 years ago
Ben Hansen ccafb3f6e2 Merge branch 'master' of github.com:sotrh/learn-wgpu 3 years ago
Ben Hansen ac73aee9f5 Merge branch 'web' 3 years ago
Josh015 110743247f Whoops 3 years ago
Josh015 a90a168280 Fixed flipped tex_coords in tutorial5-textures 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
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
sotrh b0d9ac3245
Merge pull request #261 from Paulo-21/patch-1
Update docs.rs link to 0.11.0
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
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
Arif Driessen 6042b6e821
Update README.md 3 years ago
Ferdinand Schäffler bd46bdb243 Converted docs. 3 years ago
Philip Kristoffersen f31af2d2cb
Fix typo in tutorial2-surface README.md
Add a missing "to"
3 years ago
Pmimo d26d61e4be
Update link to 0.11 docs.rs 3 years ago
laalsaas 297923e578
fix typo kronos to khronos 3 years ago
Ben Hansen e010f745c9 updated news for 0.11 3 years ago
Ben Hansen e0e52584a6 fixed pong for 0.11 3 years ago
Ben Hansen 7cc67f5678 migrated to 0.11 3 years ago
sotrh e15fc946ac
Merge pull request #242 from PAUL-BERNARD/master
Fix some typos
3 years ago
sotrh b40fbb6121
Merge pull request #243 from chrisboyce/chrisboyce-tut2-fix
No "first()" method on Iterator
3 years ago
sotrh ff43b83a89
Merge pull request #244 from SuperSamus/master
model.rs: added "_bind_group" where appropriate
3 years ago
Spencer Imbleau 172a65ad72
Fixed typo: BackendBit::Primary is from a previous version 3 years ago
Martino Fontana 11b24cebc5 model.rs: added "_bind_group" where appropriate 3 years ago
Chris Boyce bb32dbdb52
No "first()" method on Iterator
As far as I can tell looking at the docs, there is no "first" method for the Iterator trait, but I believe "next" accomplishes getting the first item in this instance.
3 years ago
Paul BERNARD 1dad054540 typos 3 years ago
Ben Hansen 4adea9e790 fixed pong 3 years ago
Fabian Kloiber 6546507acf Fix wording
Remove duplicate "the" and shuffle some words around
3 years ago
Fabian Kloiber 85857948bf Update field name `attachment`
In the section on `RenderPassColorAttachment` the text uses the old name `attachment` for the field which now is called `view`.
3 years ago
Fabian Kloiber da913a90af Update link to wgpu docs
Link to `wgpu::Limits` pointed to old version 0.7
3 years ago
Ben Hansen 778a7d907b fixed #239 3 years ago
Kuroki Keiichiro 29a084b1b1 Update an explaining comment for its code
The code has been updated for wgpu-0.10 (`wgpu::TextureUsage::SAMPLED`
-> `wgpu::TextureUsages::TEXTURE_BINDING`), but its comment was not
updated at the same time.
3 years ago
sotrh bba4376e34
Merge pull request #233 from rukai/env_logger
Add section on why env_logger is needed
3 years ago
sotrh c013b28f59
Merge pull request #234 from chrisboyce/master
Fixed mask field name in text
3 years ago
sotrh d63ab6f8d5
Merge pull request #237 from TheBlueFireFox/master
Fixed issue with code example was not ported to 0.10.x
3 years ago
sotrh 432077c7d0
Merge pull request #236 from schnippl0r/master
Fixed code snippet.
3 years ago
Adrian Hornung 6654cae15b Fixed issue with code example was not ported to 0.10.x 3 years ago
Mario Kilies e281746334 Fixed code example.
'instance' and 'adapter' are not defined (and not needed) in State.
3 years ago
Onirik79 651da2ff23
Updated a link to wgpu docs 3 years ago
Chris Boyce 1ab24facf2
Fixed mask field name in text 3 years ago
Lucas Kent f2c0f2aa3c Add section on why env_logger is needed 3 years ago
Ben Hansen a2285094c2 fixed #231 3 years ago
Ben Hansen 6d600965f4 some typos 3 years ago
sotrh 316c429d2f
Merge pull request #228 from VillSnow/patch-1
fix type name Camera to CameraUniform
3 years ago
Ben Hansen 76d667cd2e news for 0.10 3 years ago
Ben Hansen 5ddd876d4f Merge branch '0.10' 3 years ago
Ben Hansen 833d18ff05 explaining why imgui-demo and pong are still broken 3 years ago
Ben Hansen 88df0ff823 migrated intermediate tutorials 3 years ago
Ben Hansen 7c90669f89 migrated beginner tutorials 3 years ago
Ben Hansen 358ecb55af migrate tutorial5 docs 3 years ago
Ben Hansen c0754f9dd3 migrated tutorial5 3 years ago
Ben Hansen 57d7eb763f migrated tutorial4 3 years ago
Ben Hansen 0f618a2ff8 migrated tutorial3 3 years ago
Ben Hansen 012dff0de0 renamed tutorial2 3 years ago
Ben Hansen b322b8f6b8 reworked swapchain tutorial to use surface 3 years ago
VillSnow d13ba88020 fix type name Camera to CameraUniform 3 years ago
Ben Hansen 30c5693fb9 no more validation errors 3 years ago
sotrh f64edebffa
Merge pull request #225 from Onirik79/patch-1
minor typo
3 years ago
Ben Hansen 822f2d6191 started 0.10 3 years ago
Ben Hansen 806d5aa8af some notes on pbr 3 years ago
Onirik79 cd5c440cc1
minor typo 3 years ago
Martino Fontana 372082ae90 Rename "Uniform" to "Camera" in labels too 3 years ago
Martino Fontana 463b6117eb Renamed "light" to "light_uniform" 3 years ago
Martino Fontana b2b77294f6 Change "uniform" naming to "camera" 3 years ago
Norbert Pozar f467e54f7a Fix location syntax (GLSL -> WGSL)
Also outdated `VertexFormat` variants.
3 years ago
sotrh ed186bf229
Merge pull request #215 from rokonio/patch-3
Another tiny fix
3 years ago
sotrh 0b1adb463f
Merge pull request #217 from rokonio/patch-4
Fix on vert_attr_array
3 years ago
sotrh 59bc306c32
Merge pull request #214 from rokonio/patch-2
Found a typo
3 years ago
Ben Hansen 8c887605df update patron list 3 years ago
Ben Hansen 70bf012641 fixed tangent/bitangent comp and cargo fmt 3 years ago
Sitong Peng 4211abcc12
your -> you'll 3 years ago
Rokonio aa5856fa91
Fix on vert_attr_array 3 years ago
Rokonio aadd2e67b6
Another tiny fix 3 years ago
Rokonio ab78dcf7a7
Found a typo 3 years ago
sotrh 1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
3 years ago
sotrh 5a51bf47f9
Merge pull request #210 from SuperSamus/master
Miscellaneous improvements
3 years ago
Ben Hansen 58eca592c1 fixed #202 3 years ago
Rokonio 1c26da1757
Fixing #200 3 years ago
Epacnoss d9e6c4a326
Change Float3 to Float32 3 years ago
Martino Fontana 2941cf7cd9 Updated dependencies where I can just change the number (not "tobj" and "gif") ("compute" can't start a trace) (didn't touch "pong" and "imgui-demo") 3 years ago
Martino Fontana c55ea96d0d Removed unnecessary .clone() 3 years ago
Martino Fontana 467cec5367 Removed unnecessary borrows 3 years ago
Martino Fontana 2c811f43a4 Truncated excessive float precision 3 years ago
Martino Fontana c80b5a9ae2 Collapsed event_loop match 3 years ago
Martino Fontana b5af53b272 Simplify DrawModel and DrawLight lifetimes 3 years ago
Ben Hansen 12c7ba6de8 fixed #182 3 years ago
Ben Hansen f46b2f6d74 fixed #142 3 years ago
Ben Hansen 87c6fa9971 fixed #158 3 years ago
sotrh 0dce068dcc
Merge pull request #205 from hwoodiwiss/fix-tutorial-10
fix: Tutorial 10 Docs Specular Lighting Shader Problems
3 years ago
Hugo Woodiwiss 87d74d104f
Fix type issue when using pow in wgsl 3 years ago
Hugo Woodiwiss af11f05523
Fix errors in tutorial for specular lighting
Also minor fix to file name
3 years ago
Joshua Barretto 12ba9bed0c Switched to pollster 3 years ago
sotrh 02994d1eb6
Merge pull request #197 from sotrh/0.9
0.9
3 years ago
Ari df21a35be1 Why'll should be While 3 years ago
Ben Hansen 0813fd03a4 Merge branch 'master' into 0.9 3 years ago
Rokonio 0f63cee02e
Update README.md
When the vertex class is updated, the `bytemuck`s trait were missing
3 years ago
Ben Hansen b5ce220c2b upgraded to 0.9 3 years ago
Ben Hansen c22808f17a fixed #162 3 years ago
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.
3 years ago
Ben Hansen 5f77f40ec1 fixes #191 3 years ago
Ben Hansen 53a019b902 fixed #189 3 years ago
Aevyrie 2eeffbb84a
Rename RenderPassDepthStencilAttachmentDescriptor
Rename RenderPassDepthStencilAttachmentDescriptor -> RenderPassDepthStencilAttachment

See: https://docs.rs/wgpu/0.8.1/wgpu/struct.RenderPassDepthStencilAttachment.html
3 years ago
Aevyrie e16efae327
Remove clamp_depth from DepthStencilState
clamp_depth no longer exists on DepthStencilState, and is instead only on PrimitiveState.
3 years ago
sotrh 0585ca5ca5
Merge pull request #188 from aevyrie/patch-2
wgpu 0.8 corrections
3 years ago
sotrh f2dd260ce6
Merge pull request #187 from aevyrie/patch-1
Update README.md
3 years ago
Aevyrie 5cd42e231c
Missing qualifier 3 years ago
Aevyrie adc729747b
Fix grammatical error 3 years ago
Ben Hansen 72cd5e9eb4 fixed broken demos 3 years ago
Aevyrie c9003caa9f
ImageDataLayout change 3 years ago
Aevyrie b8853689fe
wgpu 0.8 BlendState change 3 years ago