Commit Graph

106 Commits

Author SHA1 Message Date
Ben Hansen
3f2607e663 forgot some stuff 2020-08-28 19:59:04 -06:00
Ben Hansen
0fbb71efb6 migrated tutorial4 2020-08-28 19:47:16 -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
Ben Hansen
50a6a7d7e6 migrated tutorial2 2020-08-22 14:53:07 -06:00
Ben Hansen
b3b43dbef2 migrated tutorial1 docs 2020-08-20 13:27:51 -06:00
sotrh
5d1935aec4
Merge branch 'master' into vertex-use-macro 2020-08-20 13:06:54 -06:00
Ben Hansen
3c4f8f9134 Merge branch 'master' into rework-instancing 2020-08-12 16:10:01 -06:00
Ben Hansen
a5c6b5ad48 finished instancing rewrite 2020-08-12 16:04:50 -06:00
Alex Butler
429fd81286
Minor typo fix "now" -> "know" 2020-08-03 16:52:17 +01:00
Alex Butler
a03a57bb60
Fix some easy-win lints 2020-08-03 11:44:46 +01:00
Alex Butler
541f83f228
Remove mut queue usage in t5 2020-08-03 11:38:25 +01:00
Jan Prudil
36b44e4799
Don't use std::mem for one invocation 2020-07-30 17:36:10 +02:00
Jan Prudil
1dd4d8c694
Use vertex_attr_array 2020-07-30 17:28:46 +02:00
Jan Prudil
e4138f7973
Use vertex_attr_array 2020-07-30 17:23:33 +02:00
Jan Prudil
086c1b23c8
Use vertex_attr_array 2020-07-30 17:13:26 +02:00
Jan Prudil
4fd19939cf
Use vertex_attr_array 2020-07-30 17:10:50 +02:00
sotrh
5e9555d4f3
Merge pull request #72 from Gryff/master
Suggestion: Indent event loop code snippet in swapchain tutorial
2020-07-28 12:11:31 -06:00
sotrh
89fb9f8cf5
Merge pull request #73 from khionu/patch-1
Remove misleading section
2020-07-28 12:10:45 -06:00
Shane Handley
e20bbd7bbf Fix typo related to trait for external type. 2020-07-28 23:26:31 +10:00
Khionu Sybiern
139d2cc04d
Update README.md
Keep `set_vertex_buffer` function to not mislead readers into replacing it instead of supplement it
2020-07-26 22:50:44 -05:00
Gryff
6ba776c01e Fix typo 2020-07-26 21:49:30 +01:00
Gryff
bf20825d0d Indent code snippet for event loop in swap chain tutorial 2020-07-26 21:48:37 +01:00
Alex G Rice
19c8c4a1e3 Clarify what the wgpu-rs's vulkan feature does on Mac OS and other platforms.
Closes #62
2020-07-06 17:26:38 -06:00
Ben Hansen
dfd96093e2 fixed #64 2020-07-01 18:51:09 -06:00
Ben Hansen
2ee06192ed fixed #65 2020-07-01 18:23:06 -06:00
Ben Hansen
a1e5f474eb fixed #67 2020-07-01 18:17:31 -06:00
Toniman20
29191eb76d
Fixed typo in beginner tutorial textures. 2020-06-27 15:17:31 +02: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
sotrh
2eaf6a7ff0
Merge pull request #58 from yutannihilation/doc/add-description-about-img-to_rgba
Add a description about to_rgba()
2020-06-09 21:20:10 -06:00
Ben Hansen
4063cc49de fixed #46 2020-06-09 21:18:45 -06:00
Hiroaki Yutani
760ff67cd8 Add a description about to_rgba() 2020-06-09 22:19:43 +09:00
sotrh
856624f190
Merge pull request #53 from yutannihilation/patch-3
Fix a missing namespace and pub keyword in tutorial8
2020-06-07 12:50:18 -06:00
sotrh
6b90b5f7ae
Merge pull request #54 from yutannihilation/patch-4
Fix a broken link and a missing argument in tutorial9
2020-06-07 12:49:49 -06:00
Hiroaki Yutani
55d47396a4
Fix a broken link and a missing argument in tutorial9 2020-06-07 17:07:43 +09:00
Hiroaki Yutani
2e1c9a0620
Fix a missing namespace and pub keyword in tutorial8 2020-06-07 14:48:20 +09:00
Hiroaki Yutani
08dc0ff221
Fix some typos in tutorial7-instancing 2020-06-07 12:59:28 +09:00
sotrh
f163d92107
Merge pull request #49 from cedric-h/patch-1
grammar fixes
2020-06-02 17:10:30 -06:00
Ben Hansen
8461147ca0 fixed #44 fixed $48 2020-06-01 13:01:12 -06:00
Cedric Hutchings
500d84058b
Merge branch 'master' into patch-1 2020-06-01 14:55:57 -04:00
sotrh
5cdce79ffd
Merge pull request #47 from yutannihilation/patch-2
Fix a broken link
2020-06-01 12:53:48 -06:00
Cedric Hutchings
6d79a960de
grammar fixes
I acknowledge that some of these are purely subjective, but the improper `'s` irks me, heh.
2020-06-01 14:42:52 -04:00
Mark Hildreth
bd84d92766 Fixed name of package 2020-05-31 11:24:54 -04:00
Hiroaki Yutani
6fd4bdeb4c
Fix a broken link 2020-05-31 22:30:20 +09:00
Mark Hildreth
f61585f85b Some small fixes. 2020-05-30 00:08:52 -04:00
Ben Hansen
6ffa5c044c fixed #40 2020-05-28 13:57:07 -06: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
sotrh
17a6af4067
Merge pull request #38 from artvinn/master
Fix some inconsistencies
2020-05-19 15:03:16 -06:00
sotrh
dea850863e
Merge pull request #39 from CleanCut/tutorial1-2-improvements
Fixed some things I noticed while doing tutorial 1 and tutorial 2.
2020-05-19 15:01:59 -06:00
Ben Hansen
57ff442834 fixed #30 2020-05-19 11:51:47 -06:00
Ben Hansen
71d85d536f added warning in depth tutorial 2020-05-19 11:47:59 -06:00