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
Aevyrie
b8853689fe
wgpu 0.8 BlendState change
2021-06-05 23:52:02 -07:00
Mohammed Al-Tameemi
17ca6e5a3e
Updated to the new color attachment method
2021-05-25 20:21:56 -04:00
Ben Hansen
de57cdf4ea
fixes #173
2021-05-24 14:23:53 -06:00
Ben Hansen
68b563b8e6
updated tutorial3-pipeline docs
2021-05-18 20:28:08 -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
Hiroaki Yutani
24f565ee58
Update winit to 0.24
2021-04-16 00:28:55 +09:00
Hiroaki Yutani
7293547212
Bump cgmath version
2021-04-11 16:38:53 +09:00
Ben Hansen
e7318530d4
migrated docs for tutorials 1-3 and cargo fmt
2021-02-18 20:56:47 -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
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
Renato Caldas
d44f216b14
Fix inconsistent position of the 'size' field in the beginner tutorials
2021-01-15 19:31:51 +00:00
DevJac
468807e8a3
Link to Cargo Book for more info about build scripts
2020-12-31 19:22:54 -07:00
Ben Hansen
aa8f9f269d
fixed #119
2020-11-14 20:07:40 -07:00
Ben Hansen
6f29ba738b
fixes #108
2020-10-17 14:51:41 -06:00
Kalle Huttunen
3396259576
Add note about the GLSL used
2020-10-09 21:35:34 +03:00
Fraser Li
071f4b3f4f
Fix typos
2020-10-04 20:25:46 +11: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
9d15abf7ee
fixing issues in tutorial3 for #92
2020-09-23 15:38:01 -06:00
Ben Hansen
e9e325459d
using anyhow instead of failure
2020-08-29 15:22:06 -06:00
Ben Hansen
08fa40dccc
changed tutorial3 to use build script and migrated doc to 0.6
2020-08-24 13:34:37 -06:00
Cedric Hutchings
36363d73f4
Add an explanation of what entry_point means
...
... you have no idea how much trouble this caused me
2020-06-16 10:00:44 -04:00
Mark Hildreth
bd84d92766
Fixed name of package
2020-05-31 11:24:54 -04:00
Mark Hildreth
f61585f85b
Some small fixes.
2020-05-30 00:08:52 -04:00
Ebrahim Byagowi
3555c713cb
Use shaderc instead the deprecated glsl-to-spirv
...
I was getting lots of these errors,
glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/../Include/Common.h:99:
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:314:54: error: 'operator=' is a private member of 'glslang::TPoolAllocator'
void setAllocator(TPoolAllocator* a) { allocator = *a; }
~~~~~~~~~ ^ ~~
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:244:21: note: declared private here
TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator
^
And had to replace the apparently now deprecated glsl-to-spirv with shaderc-rs in order to
see the tutorial and thought would be useful for others also.
2020-05-27 00:05:41 +04:30
artvinn
fdb525fa41
Fix some inconsistencies
2020-05-11 19:24:44 +03:00
Ben Hansen
baa9e2656a
tutorial3 migrated
2020-04-18 18:34:30 -06:00
sotrh
583f982924
Merge pull request #4 from rofrol/patch-2
...
typos
2020-01-26 14:09:51 -07:00
Roman Frołow
ba0a461e8a
it's -> its
2020-01-21 21:26:35 +01:00
Roman Frołow
870a3a44ba
Revert paragraph
2020-01-21 21:25:20 +01:00
Roman Frołow
4f8b143e26
Fix my mistake
2020-01-15 23:56:57 +01:00
Roman Frołow
3e36871773
typos
2020-01-14 00:49:48 +01:00
Ben Hansen
da4c268fbc
updated winit to 0.20
2020-01-11 15:55:08 -07:00
Ben Hansen
df7840a3ca
added AutoGithubLink and fixed uniforms challenge
2019-11-26 15:46:46 -07:00
Ben Hansen
348a06ee0f
reorganized project, added challenge impls
2019-11-12 23:52:09 -07:00
Ben Hansen
a374e581fb
put tutorial3 in a folder
2019-10-22 12:54:40 -06:00