Commit Graph

143 Commits

Author SHA1 Message Date
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
Nathan Stocks
e247decf46 Fixed some things I noticed while doing tutorial 1 and tutorial 2. 2020-05-12 22:45:23 -06:00
artvinn
fdb525fa41 Fix some inconsistencies 2020-05-11 19:24:44 +03:00
CJ Burkey
de381c070f
very -> vary 2020-04-30 02:54:53 -04:00
Ben Hansen
6bd7d714e8 missed "y is down" in tutorial4 2020-04-25 18:40:07 -06:00
Ben Hansen
2fb06b49fb finishing up 2020-04-25 18:36:50 -06:00
Ben Hansen
368021047a adjusted migration to tutorial9 2020-04-25 14:10:14 -06:00
Ben Hansen
2b8e97b6fa migrated tutorial8 2020-04-25 12:21:51 -06:00
Ben Hansen
a7833f3c16 migrated tutorial7 2020-04-23 21:17:41 -06:00
Ben Hansen
66eeae019c migrated tutorial6 2020-04-22 16:21:31 -06:00
downtime
764f5405db updata wgpu 0.5 2020-04-22 17:39:40 +08:00
Ben Hansen
1205f18443 migrated tutorial5 2020-04-21 13:05:48 -06:00
Ben Hansen
82048bcc31 migrated tutorial4 2020-04-19 13:57:01 -06:00
Ben Hansen
6b1cd8d893 Merge branch 'master' into 0.5 2020-04-19 12:36:13 -06:00
Ben Hansen
baa9e2656a tutorial3 migrated 2020-04-18 18:34:30 -06:00
Ben Hansen
f8738e4850 migrated tutorial2 2020-04-18 17:57:16 -06:00
Ben Hansen
4fb7d39bcf tutorial1 updated 2020-04-18 16:48:18 -06:00
shika-blyat
58b1aeb7bc
Fix static_tree instead of static-tree type 2020-04-15 03:51:32 +02:00
Ben Hansen
426e78dc9d fixed missing parts of model tutorial 2020-03-12 15:56:43 -06:00
Ben Hansen
994870fed1 finished model tutorial 2020-03-11 22:14:56 -06:00
Ben Hansen
84fa9fcc9d debugging adding bind groups to material 2020-03-10 21:53:46 -06:00
Ben Hansen
e6d402047f started model tutorial 2020-03-06 13:19:12 -07:00
Ben Hansen
0e836ca4fa updated news and tutorial 8 readme 2020-02-24 17:02:18 -07:00
Ben Hansen
cc0fc1f17f updated code to use texture.rs 2020-02-24 16:23:23 -07: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
sotrh
dabca840e2
Merge pull request #11 from adamnemecek/master
whitespace
2020-01-21 13:17:33 -07:00
sotrh
bc85bc24b5
Merge pull request #10 from rofrol/patch-3
Removed physical_size
2020-01-21 13:15:07 -07:00
sotrh
7ba3287a8c
Merge pull request #3 from rofrol/patch-1
typo - missing are
2020-01-21 13:13:36 -07:00
sotrh
31df80eedb
Merge branch 'master' into fixes 2020-01-21 13:09:46 -07:00
Ben Hansen
965ea7d7ac fixed some errors in examples 2020-01-21 13:05:34 -07:00
sotrh
2926abceba
Merge pull request #6 from AlisCode/master
Fix missing call to self.queue.submit
2020-01-20 17:16:59 -07:00
Ben Hansen
c41ed7766e fixed depth challenge 2020-01-20 17:05:13 -07:00
Adam Nemecek
9e204b8a95 in tutorial2 added missing adapter in constructor 2020-01-17 15:32:26 -08:00
Roman Frołow
4f8b143e26
Fix my mistake 2020-01-15 23:56:57 +01:00
Roman Frołow
9d5f4b5956
Removed physical_size 2020-01-15 22:40:14 +01:00
Olivier Pinon
fc8a747acf Fix missing call to self.queue.submit 2020-01-14 23:33:40 +01:00
Ben Hansen
aa45a0605f finished main.rs tutorial 8 2020-01-14 12:02:41 -07:00
Roman Frołow
3e36871773
typos 2020-01-14 00:49:48 +01:00
Roman Frołow
fc28106fb1
typo - missing are 2020-01-14 00:20:47 +01:00
Ben Hansen
da4c268fbc updated winit to 0.20 2020-01-11 15:55:08 -07:00
Ben Hansen
ab225f2725 finished instancing challenge 2020-01-09 13:08:01 -07:00
Ben Hansen
caf75336e9 finishe most of instance tutorial 2020-01-01 22:29:29 -07:00
Ben Hansen
2c57618925 created examples for loop and array 2019-12-30 17:04:38 -07:00
Ben Hansen
df7840a3ca added AutoGithubLink and fixed uniforms challenge 2019-11-26 15:46:46 -07:00
Ben Hansen
8ed63c03cf fixed link issue 2019-11-22 16:19:09 -07:00
Ben Hansen
58fa5be6d2 finished uniforms tutorial 2019-11-22 16:09:38 -07:00
Ben Hansen
348a06ee0f reorganized project, added challenge impls 2019-11-12 23:52:09 -07:00
Ben Hansen
c9df90042f textures 2019-11-05 01:02:41 -07:00
Ben Hansen
045b960bee finished windowless 2019-11-01 01:10:33 -06:00
Ben Hansen
e35d51ee7b tutorial4-buffer 2019-10-25 01:57:14 -06:00
Ben Hansen
a374e581fb put tutorial3 in a folder 2019-10-22 12:54:40 -06:00
Ben Hansen
6642ff9aff tutorial3-pipeline 2019-10-21 18:12:28 -06:00
Ben Hansen
cd341fcdae fixed typos and such 2019-10-19 16:01:59 -06:00
Ben Hansen
121037a7c2 tutorial2-swapchain 2019-10-19 14:32:52 -06:00
Ben Hansen
8ecb859b9f tutorial 1 finished 2019-10-16 17:35:58 -06:00