Ben Hansen
0813fd03a4
Merge branch 'master' into 0.9
2021-06-28 09:24:39 -06:00
Rokonio
0f63cee02e
Update README.md
...
When the vertex class is updated, the `bytemuck`s trait were missing
2021-06-26 14:47:59 +02:00
Ben Hansen
b5ce220c2b
upgraded to 0.9
2021-06-19 16:31:49 -06:00
Ben Hansen
c22808f17a
fixed #162
2021-06-19 15:27:55 -06:00
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.
2021-06-18 13:59:09 -04:00
Ben Hansen
5f77f40ec1
fixes #191
2021-06-16 19:14:00 -06:00
Aevyrie
2eeffbb84a
Rename RenderPassDepthStencilAttachmentDescriptor
...
Rename RenderPassDepthStencilAttachmentDescriptor -> RenderPassDepthStencilAttachment
See: https://docs.rs/wgpu/0.8.1/wgpu/struct.RenderPassDepthStencilAttachment.html
2021-06-08 00:19:51 -07:00
Aevyrie
e16efae327
Remove clamp_depth from DepthStencilState
...
clamp_depth no longer exists on DepthStencilState, and is instead only on PrimitiveState.
2021-06-08 00:01:59 -07:00
sotrh
0585ca5ca5
Merge pull request #188 from aevyrie/patch-2
...
wgpu 0.8 corrections
2021-06-07 17:24:47 -06:00
Aevyrie
5cd42e231c
Missing qualifier
2021-06-06 10:32:38 -07:00
Aevyrie
adc729747b
Fix grammatical error
2021-06-06 10:30:46 -07:00
Aevyrie
c9003caa9f
ImageDataLayout change
2021-06-06 01:40:12 -07:00
Aevyrie
b8853689fe
wgpu 0.8 BlendState change
2021-06-05 23:52:02 -07:00
Aevyrie
382f12383e
Update README.md
...
Small typo.
2021-06-05 21:09:10 -07:00
sotrh
dd7d48929f
Merge pull request #181 from al-tameemi/e6029cb
...
Updated the use of RenderPassColorAttachmentDescriptor to RenderPassColorAttachment
2021-06-01 11:57:27 -06:00
Hugo Woodiwiss
67c9246b2f
Updated tutorial to work with tobj 3.0.x
2021-06-01 14:19:32 +01:00
Mohammed Al-Tameemi
17ca6e5a3e
Updated to the new color attachment method
2021-05-25 20:21:56 -04:00
nyx
7755e16a4b
Changed wgpu version in example
...
Removed shaderc from example
2021-05-25 13:56:38 +02:00
Ben Hansen
2dd8d7bf82
fixes #176
2021-05-24 14:45:15 -06:00
Ben Hansen
de57cdf4ea
fixes #173
2021-05-24 14:23:53 -06:00
Ben Hansen
b160f28d48
tutorials 6-9 migrated
2021-05-20 17:53:47 -06:00
Ben Hansen
f1c7536668
migrated tutorial 4 and 5
2021-05-18 20:38:15 -06:00
Ben Hansen
68b563b8e6
updated tutorial3-pipeline docs
2021-05-18 20:28:08 -06:00
Ben Hansen
8e6e6e7092
fixed #174
2021-05-17 21:15:25 -06:00
Ben Hansen
f3ebc0e666
fixed panic in tutorials 3 and 4
2021-05-01 18:10:01 -06:00
Ben Hansen
46eb5eb139
code now builds on 0.8
2021-05-01 15:55:26 -06:00
sotrh
d8a861b515
Merge branch 'master' into cgmath-0.18
2021-04-18 19:36:12 -06:00
sotrh
c5c3e907c7
Merge pull request #163 from segalll/master
...
Fix typos in beginner window tutorial
2021-04-18 19:33:45 -06:00
Hiroaki Yutani
24f565ee58
Update winit to 0.24
2021-04-16 00:28:55 +09:00
Henry Segal
18dff8f171
Fix typos
2021-04-14 20:56:28 -05:00
Hiroaki Yutani
1bb374c89e
docs
2021-04-11 17:09:10 +09:00
Hiroaki Yutani
7293547212
Bump cgmath version
2021-04-11 16:38:53 +09:00
Sergii Penner
597c37b8b1
Fix typo
...
Fixed typo 'upc close' -> 'up close'.
2021-04-02 20:10:18 -06:00
sotrh
674312d3b2
Merge pull request #147 from yutannihilation/tutorial1-use
...
use winit:🪟 :Window
2021-03-29 09:02:09 -06:00
sotrh
d5ab40ade1
Merge pull request #151 from vigdail/patch-1
...
Tutorial 9. Texture::load() return type fix
2021-03-29 09:00:36 -06:00
sotrh
220366adcc
Merge pull request #152 from pop/edits/misc-typos
...
Misc typo and code fixes.
2021-03-29 08:59:30 -06:00
Chris
0926c253e5
Rename OUTPUT_ATTACHMENT to RENDER_ATTACHMENT
2021-03-27 11:59:08 +01:00
Elijah C. Voigt
bcc79b5e41
Misc typo and code fixes.
...
009: impl Vertex for ModelVertex was using the vertex_attr_array! macro.
009: RenderPipelineDescriptor has a `vertex` member not `vertex_state`.
009: to_rgba() should be to_rgba8(), to_rgba is set to be deprecated.
010: BindGroupDescriptor has a `entries` member not `bindings`.
010: Remove re-declaration of mat4 model_matrix;
010: Prefer hard-coded [#.#; #] instead of `Foo::fn().into()`.
010: Clarify which shader frag/vert file changes are in.
011: Change Model::load return type to Result<Self>.
011: TextureDescriptor does not have a array_layer_count member.
012: Add .into() to calls in Uniforms::update_view_proj().
012: Dereference delta variable in State::input().
013: Add more changed lines to Model::load to avoid compiler yelling.
2021-03-26 09:46:37 -07:00
vigdail
9f254cc794
Tutorial 9. Texture::load() return type fix
2021-03-24 16:07:31 +00:00
Hiroaki Yutani
f0f1ec0e12
Fix module path
2021-03-22 08:19:24 +09:00
Hiroaki Yutani
e5bea6e29f
Move comment
2021-03-22 08:17:21 +09: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
Raphael Van Hoffelen
1699be127d
Fixed spelling mistake
2021-03-15 23:29:14 -04: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
e3592e2809
migrated docs for tutorials 4-9
2021-02-18 21:30:18 -07:00