Commit Graph

320 Commits

Author SHA1 Message Date
Hiroaki Yutani
e5bea6e29f Move comment 2021-03-22 08:17:21 +09:00
sotrh
80ecaade61
Merge pull request #146 from yutannihilation/doc/link-to-github
Add a link to GitHub repo
2021-03-21 16:36:27 -06:00
sotrh
195945083b
Merge pull request #149 from yutannihilation/patch-7
Minor fixes on tutorial 6
2021-03-21 16:26:16 -06:00
Hiroaki Yutani
b09302f23e Remove & from set_vertex_buffer() 2021-03-21 23:01:00 +09:00
Hiroaki Yutani
0da538190a
Minor fixes on tutorial 6 2021-03-21 19:06:48 +09:00
Hiroaki Yutani
a13c43f6b2 use winit::Window; 2021-03-20 22:45:14 +09:00
Hiroaki Yutani
79ecc1643b Add a link to GitHub repo 2021-03-20 22:35:03 +09:00
Raphael Van Hoffelen
1699be127d
Fixed spelling mistake 2021-03-15 23:29:14 -04:00
Ben Hansen
37a7e12cea updated patron list 2021-03-10 20:36:23 -07:00
Ben Hansen
3e1f1a8a8a Merge branch '0.7' 2021-03-10 20:19:53 -07:00
Ben Hansen
e833a50c44 updated news md 2021-03-10 20:19:09 -07:00
Linden Krouse
f6f6fa29c4
Fixed some spelling and grammar errors 2021-03-08 17:28:27 -05:00
sotrh
a86a0cc7dc
Merge pull request #138 from dakizu/patch-1
Fix a broken link
2021-03-03 10:21:47 -07:00
[redacted]
3bd1534016
Fix a broken link
Existing link wasn't pointing to normals page.
2021-02-27 20:49:24 -08:00
Ben Hansen
5029aa196d migrated gifs showcase 2021-02-23 21:04:42 -07:00
Ben Hansen
fb73851e5d migrated imgui showcase 2021-02-22 10:20:00 -07:00
Ben Hansen
87d0a97404 migrated intermediate tutorial docs 2021-02-21 10:26:16 -07:00
Ben Hansen
e3592e2809 migrated docs for tutorials 4-9 2021-02-18 21:30:18 -07:00
Ben Hansen
e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 2021-02-18 20:56:47 -07:00
Ben Hansen
361bee3c58 migrated windowless docs 2021-02-18 20:13:23 -07:00
Ben Hansen
b4dd4654e4 intermediate tutorial code migrated 2021-02-13 01:30:42 -07:00
Ben Hansen
3901419a58 beginner tutorial code done 2021-02-12 00:18:27 -07:00
Ben Hansen
91879d405b code up to 7 migrated 2021-02-11 23:29:40 -07:00
Ben Hansen
47fd27669e migrated tutorials 1 and 2 2021-02-07 12:17:22 -07:00
Aleksey Halahan
ad0515bdfb
Fix a type in the code example
Was missing the `slice` method
2021-01-29 00:02:16 +01:00
Ben Hansen
19c99e28d0 Merge branch 'master' of https://github.com/sotrh/learn-wgpu 2021-01-26 02:03:31 -07:00
Ben Hansen
1f9024691c shaderc 1.6 -> 0.7 2021-01-26 02:02:50 -07:00
Fisher Darling
5547528cf0
Fixed small typo in beginner/tutorial8-depth 2021-01-21 19:14:01 +00:00
Renato Caldas
d44f216b14 Fix inconsistent position of the 'size' field in the beginner tutorials 2021-01-15 19:31:51 +00:00
Renato Caldas
e61b939889 Remove stray field 'colour' from State 2021-01-15 19:12:44 +00:00
Renato Caldas
67635a5fad Fix typos in beginner tutorial 4 2021-01-15 18:42:34 +00:00
Ben Hansen
a6883b59f9 Added patrons to the intro page 2021-01-14 23:50:55 -07:00
paq
6302a2372c
Fix syntax error in tutorial 6 2021-01-03 15:58:12 +09:00
DevJac
468807e8a3 Link to Cargo Book for more info about build scripts 2020-12-31 19:22:54 -07:00
Ben Hansen
733683cf6f removed camera research 2020-12-21 13:33:42 -07:00
Ben Hansen
99fd6523d7 travis build failing 2020-12-20 21:05:18 -07:00
Ben Hansen
8608460977 fixed #129 2020-12-12 15:53:42 -07:00
Ben Hansen
c92d2a528e modified camera tutorial to use DeviceEvent 2020-11-25 16:51:22 -07:00
sotrh
7b1a81ccfe
Merge pull request #123 from kanerogers/patch-4
Clarify changes to State struct
2020-11-23 23:37:16 -07:00
sotrh
68e06ea4a4
Merge pull request #125 from dannyfritz/patch-1
Texture: BufferInitDescriptor fields.
2020-11-23 23:36:09 -07:00
Ben Hansen
f1d35b6b38 finished cleanup 2020-11-23 23:29:52 -07:00
sotrh
039d840698
Merge pull request #124 from kanerogers/patch-6
Cleanup Textures tutorial
2020-11-23 16:06:01 -07:00
Danny Fritz
4cd5491921
Texture: BufferInitDescriptor fields. 2020-11-22 08:43:15 -07:00
Kane Rogers
21e455c668
Update to reflect sorth's suggestions
- Add `diffuse_texture` to `texture::Texture` in `State` at the end of the tutorial.
2020-11-22 21:08:34 +11:00
Ben Hansen
28c8637d73 finished compute exampute example 2020-11-21 13:16:07 -07:00
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.
2020-11-20 19:44:10 +11:00
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.
2020-11-20 19:14:27 +11:00
Ben Hansen
e462670b72 migrated docs for tutorial7 2020-11-18 11:47:13 -07:00
Ben Hansen
c770e1860f fixed code for #116 2020-11-18 10:48:28 -07:00
Kane Rogers
b93a57d9b3
Clarify changes to State struct
Not a big one, just being explicit where the fields need to be updated on the struct.
2020-11-18 00:04:10 +11:00
Ben Hansen
aa8f9f269d fixed #119 2020-11-14 20:07:40 -07:00
Ben Hansen
0620f0b05d migrated ModelVertex to use bytemuck derive 2020-11-14 14:57:39 -07:00
Ben Hansen
9a221fb2c4 migrated Light struct to use bytemuck derive 2020-11-14 14:43:29 -07:00
Ben Hansen
0ccb80e7e3 updated Uniforms struct to use bytemuck derive 2020-11-12 19:28:53 -07:00
Ben Hansen
5abaa16ac1 updated bytemuck to use derive as per #109 2020-11-11 16:06:53 -07:00
Ben Hansen
8ad575f750 finished #121 2020-11-11 15:41:06 -07:00
sotrh
fd8c3e169d
Merge pull request #107 from benmkw/master
add info about alignment
2020-11-09 15:06:49 -07:00
Benedikt Mandelkow
f5ba33713a add code example 2020-11-05 18:09:27 +01:00
Samuel Hurel
936082fafc Minor changes 2020-10-31 12:34:24 +01:00
sotrh
31a6262d75 Rename Readme.md to README.md 2020-10-30 13:18:18 +01:00
Benedikt Mandelkow
14dec8ba59 add info about alignment 2020-10-30 13:18:18 +01:00
sotrh
8f5215963a
Merge pull request #113 from pudnax/link_typo
Fixed the link to zip file
2020-10-21 17:09:21 -06:00
sotrh
3e83cf5a17
Merge pull request #112 from pudnax/winit_0.23
Migration to winit 0.23
2020-10-21 17:08:44 -06:00
Alex Komissarov
ae3f7e8e95
Wrong light_bind_group_layout 2020-10-21 02:01:47 +05:00
Alex Komissarov
c42e07bb7d
Clean probably missed stuff from '0.5 -> 0.6' 2020-10-21 01:52:11 +05:00
Alex Komissarov
e5a5d6d66c
Fixed the link to zip file 2020-10-21 01:34:06 +05:00
Alex Komissarov
d38731e472
Migration to winit 0.23 2020-10-21 01:10:16 +05:00
Ben Hansen
fb5c9fc8fe fixes #111 2020-10-19 15:05:28 -06:00
Ben Hansen
6f29ba738b fixes #108 2020-10-17 14:51:41 -06:00
sotrh
8e9ff17565
Merge pull request #103 from wozniak/patch-1
set_vertex_buffer doesn't expect a reference
2020-10-09 15:11:12 -06:00
sotrh
6fab63e809
Merge pull request #104 from kejor/tutorial5docs-missing-parameter-snippet
Add missing parameter on tutorial5 snippet
2020-10-09 15:10:47 -06:00
Kalle Huttunen
3396259576
Add note about the GLSL used 2020-10-09 21:35:34 +03:00
kejor
5572e36e0c
Adding missing parameter on tutorial5 snippet
Added parameter `&queue` to `texture::Texture::from_bytes` call.
2020-10-08 20:33:02 -05:00
matthew
64fa3c9017
more 2020-10-08 20:15:01 -04:00
matthew
6cb43e8e61
set_vertex_buffer doesn't expect a reference 2020-10-08 20:04:56 -04:00
Alan Kemp
909c2debfc DeviceExt is now in a util namespace 2020-10-08 22:20:10 +01:00
Rubick
5a45a9c5ce
Merge branch 'master' into master 2020-10-06 20:08:45 +08:00
sotrh
4377ca102f
Merge pull request #98 from kanerogers/patch-1
Add `use` statement for DeviceExt
2020-10-05 21:28:01 -06:00
sotrh
c0e8174dbf
Merge pull request #99 from fraserli/master
Fix typos
2020-10-05 21:02:34 -06:00
sotrh
cb06098bec
Merge pull request #100 from kunalarya/patch-1
Minor copy editing of instancing docs.
2020-10-05 21:01:00 -06:00
Alec Goncharow
836b38d827
Update README.md
minor typo fix, streen -> screen
2020-10-04 23:43:46 -04:00
Alec Goncharow
944a568eb9
Update README.md
655828f88f changed the name of the `vulkan` feature to `vulkan-portability`
2020-10-04 23:42:31 -04:00
kunalarya
a7083eecee
Minor copy editing of instancing docs.
Thanks for writing this tutorial! It's been a very helpful resource! I made some very minor edits -- feel free to reject any of them :)
2020-10-04 11:42:05 -07:00
Fraser Li
071f4b3f4f
Fix typos 2020-10-04 20:25:46 +11:00
Kane Rogers
5f89b92651
Add use statement for DeviceExt
I tripped over this one while following along with the tutorial. I added a little link to extension traits as I'm aware the audience of this tutorial may not be familiar with them.

Please feel free to rewrite/throw out any of my copy as you see fit.  😄 

Thanks again for this phenomenal tutorial!
2020-10-04 19:30:16 +11:00
Rubick
97df7faea8
fix typo 2020-09-30 16:31:37 +08:00
okaneco
468a425f78 Fix typos and update Beginner tutorials 2, 3
Tutorial 2 - Swapchain
  - Update `get_next_texture` to `get_current_frame`
  - Fix typos
Tutorial 3 - Pipeline
  - Add updated fields to `PipelineLayout` creation
Fix typos in News
2020-09-28 12:17:49 -04:00
Ben Hansen
73aed6c6bd rustfmt 2020-09-27 23:24:43 -06:00
Ben Hansen
786ce2410c fixed config and readded missing tutorial11 2020-09-27 23:12:21 -06:00
Ben Hansen
ad5cd8e12f fixed #93 2020-09-27 22:52:35 -06:00
Ben Hansen
9b02850917 started threading 2020-09-25 21:27:38 -06:00
Ben Hansen
09fe8b9f91 added link to gifs showcase in tutorial5 2020-09-25 15:57:57 -06:00
Ben Hansen
4acb2d60c1 missed ops in tutorial2 2020-09-23 15:56:34 -06:00
Ben Hansen
9d15abf7ee fixing issues in tutorial3 for #92 2020-09-23 15:38:01 -06:00
Ben Hansen
2ab37aa9b7 some fixes 2020-09-22 16:00:46 -06:00
sotrh
03c8ce0a59
Merge pull request #91 from lberrymage/iter-once
Use std::iter::once for encoder queue submission
2020-09-21 15:09:31 -06:00
Ben Hansen
f947ac79c8 fixed read_buffer typo 2020-09-21 12:16:12 -06:00
lberrymage
fa418b2c60
Use std::iter::once for encoder queue submission
`std::iter::once` is more idiomatic for passing single-value iterators
than Some(value), and it's even intended for this case according to the
docs.
2020-09-19 22:17:36 -08:00
Ben Hansen
e065fd7e33 updated news for 0.6 2020-09-19 16:04:10 -06:00
Ben Hansen
cb5cfd074f fixed #86 2020-09-19 15:49:05 -06:00