Commit Graph

71 Commits (eaeb7931a1b8fe379ec7a1855bae6fd988237458)

Author SHA1 Message Date
Ben Hansen ef72161771 Merge branch 'master' of github.com:sotrh/learn-wgpu 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
Josh015 110743247f Whoops 3 years ago
Josh015 a90a168280 Fixed flipped tex_coords in tutorial5-textures 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
sotrh 75948417e7
Merge pull request #257 from FrankenApps/shader-entrypoints
Name shader entry points differently.
3 years ago
Ferdinand Schäffler bd46bdb243 Converted docs. 3 years ago
Pmimo d26d61e4be
Update link to 0.11 docs.rs 3 years ago
Ben Hansen 7cc67f5678 migrated to 0.11 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
Adrian Hornung 6654cae15b Fixed issue with code example was not ported to 0.10.x 3 years ago
Ben Hansen 5ddd876d4f Merge branch '0.10' 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 822f2d6191 started 0.10 3 years ago
Onirik79 cd5c440cc1
minor typo 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 2c811f43a4 Truncated excessive float precision 3 years ago
Ben Hansen 12c7ba6de8 fixed #182 3 years ago
Ben Hansen 87c6fa9971 fixed #158 3 years ago
Joshua Barretto 12ba9bed0c Switched to pollster 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
Aevyrie 5cd42e231c
Missing qualifier 3 years ago
Aevyrie c9003caa9f
ImageDataLayout change 3 years ago
Ben Hansen 2dd8d7bf82 fixes #176 3 years ago
Ben Hansen f1c7536668 migrated tutorial 4 and 5 3 years ago
Ben Hansen 8e6e6e7092 fixed #174 3 years ago
Ben Hansen 46eb5eb139 code now builds on 0.8 3 years ago
sotrh d8a861b515
Merge branch 'master' into cgmath-0.18 3 years ago
Hiroaki Yutani 24f565ee58 Update winit to 0.24 3 years ago
Hiroaki Yutani 7293547212 Bump cgmath version 3 years ago
Sergii Penner 597c37b8b1
Fix typo
Fixed typo 'upc close' -> 'up close'.
3 years ago
Hiroaki Yutani b09302f23e Remove & from set_vertex_buffer() 3 years ago
Linden Krouse f6f6fa29c4
Fixed some spelling and grammar errors 3 years ago
Ben Hansen e3592e2809 migrated docs for tutorials 4-9 3 years ago
Ben Hansen e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 3 years ago
Ben Hansen b4dd4654e4 intermediate tutorial code migrated 3 years ago
Ben Hansen 91879d405b code up to 7 migrated 3 years ago
Renato Caldas e61b939889 Remove stray field 'colour' from State 4 years ago
sotrh 68e06ea4a4
Merge pull request #125 from dannyfritz/patch-1
Texture: BufferInitDescriptor fields.
4 years ago
Danny Fritz 4cd5491921
Texture: BufferInitDescriptor fields. 4 years ago
Kane Rogers 21e455c668
Update to reflect sorth's suggestions
- Add `diffuse_texture` to `texture::Texture` in `State` at the end of the tutorial.
4 years ago
Kane Rogers 6b2a8c8dcc
Additional changes to Texture
1. The fields ` diffuse_texture`, `diffuse_texture_view` and `diffuse_sampler` are not used on `State` in this tutorial and should therefore not be added, so as not to unnecessarily confuse the reader.
2. The `anyhow` crate must be added to `Cargo.toml` in order for `texture.rs` to work.
4 years ago
Kane Rogers fbe39fc0e4
Cleanup Textures tutorial
I have broadly made two sets of changes:

1. General prose cleanup (eg. correcting minor syntax errors, rewriting some sentences to make them more clear)
2. Code consistency (eg. not making use of the `texture` wrapper until it is defined at the end of the page.
4 years ago
Samuel Hurel 936082fafc Minor changes 4 years ago