Commit Graph

55 Commits

Author SHA1 Message Date
sotrh
4f202d376d
Merge pull request #409 from PhelixOchieng/master
Fix: Could not append canvas error when running on wasm
2022-10-20 10:12:57 -06:00
Ben Hansen
3f99b965a9 migrated to 0.14 2022-10-20 10:07:03 -06:00
Phelix
3c09140b80
Fix: Could not append canvas error when running on wasm 2022-10-06 14:03:42 +03:00
jbckly
9a578de950
Fix some code for Dependencies and the window
Needed this to get things rendering for me! otherwise we get:
```
$ cargo run
   Compiling rustp v0.1.0 (/Users/jack/dev/rustp)
warning: unused implementer of `Future` that must be used
 --> src/main.rs:4:5
  |
4 |     run();
  |     ^^^^^^
  |
  = note: `#[warn(unused_must_use)]` on by default
  = note: futures do nothing unless you `.await` or poll them

warning: `rustp` (bin "rustp") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.48s
     Running `target/debug/rustp`
```
2022-09-23 14:18:49 +08:00
Ben Hansen
a2a1d69133 migrated to 0.13 2022-07-01 17:00:19 -06:00
Ajacmac
bbe3d24f70 added wasm-bindgen-futures dependency to tutorial 1 to match code example. wasm-pack won't build without it 2022-06-21 15:06:43 -03:00
7tsvn
38f6cd6081
updated formatting 2022-05-29 21:17:41 +01:00
7tsvn
55b9cba6ae
Update README.md 2022-05-29 21:17:13 +01:00
7tsvn
d444bc7df6 Cleared up some things in tutorial1 2022-05-29 21:14:41 +01:00
sotrh
b6f66e0565
Merge pull request #347 from dis-da-moe/master
Typos, references to `main.rs` supposed to be to `lib.rs`, and readability changes
2022-05-14 12:44:34 -06:00
disdamoe
c736467db4 suggested changes 2022-05-06 23:37:28 +03:00
ikopysov
e43a744b5a
Removed "pollster" from tutorial1-window readme.
It seems that in #345 pollster was removed from the example, but not from the code in the page.
This change removes it from the code in the tutorial, so it will work just by pasting it in the editor.
2022-04-26 04:03:22 +03:00
disdamoe
03e905cc4d Fixed accidental indentation change 2022-04-17 21:08:44 +03:00
disdamoe
33bd66e368 docs for tutorials 1-9: typos, references to main.rs supposed to be to lib.rs, and readability changes 2022-04-17 19:35:45 +03:00
Ben Hansen
0cb0b273c3 fixes #345 2022-04-14 14:00:28 -06:00
Ben Hansen
6324e485f1 tutorials 1-9 now work with wasm 2022-02-18 13:36:21 -07:00
Ben Hansen
a6f6a492e7 tutorial1 now has a web example 2022-01-25 19:52:36 -07:00
Ben Hansen
ef72161771 Merge branch 'master' of github.com:sotrh/learn-wgpu 2021-12-29 11:22:45 -07:00
Ben Hansen
2073b0fbc1 updated to 0.12 2021-12-27 12:09:25 -07:00
Niklas Eicker
064a0a5efd Some small fixes for beginner tutorials 1 to 5 2021-12-18 17:18:21 +01:00
Arif Driessen
6042b6e821
Update README.md 2021-10-31 16:31:58 +01:00
Ben Hansen
7cc67f5678 migrated to 0.11 2021-10-08 18:40:29 -06:00
Lucas Kent
f2c0f2aa3c Add section on why env_logger is needed 2021-09-16 09:51:21 +10:00
Ben Hansen
6d600965f4 some typos 2021-09-13 08:58:14 -06:00
Ben Hansen
b322b8f6b8 reworked swapchain tutorial to use surface 2021-09-11 09:34:13 -06:00
Ben Hansen
822f2d6191 started 0.10 2021-08-28 16:11:33 -06:00
Martino Fontana
2941cf7cd9 Updated dependencies where I can just change the number (not "tobj" and "gif") ("compute" can't start a trace) (didn't touch "pong" and "imgui-demo") 2021-08-04 16:25:23 +02:00
Martino Fontana
c80b5a9ae2 Collapsed event_loop match 2021-08-04 14:17:21 +02:00
Joshua Barretto
12ba9bed0c Switched to pollster 2021-07-14 13:26:05 +01:00
Ben Hansen
b5ce220c2b upgraded to 0.9 2021-06-19 16:31:49 -06:00
Ben Hansen
5f77f40ec1 fixes #191 2021-06-16 19:14:00 -06:00
nyx
7755e16a4b Changed wgpu version in example
Removed shaderc from example
2021-05-25 13:56:38 +02: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
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
47fd27669e migrated tutorials 1 and 2 2021-02-07 12:17:22 -07:00
Ben Hansen
1f9024691c shaderc 1.6 -> 0.7 2021-01-26 02:02:50 -07: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
Ben Hansen
f1d43b9829 env_logger::init() 2020-09-09 20:48:08 -06:00
Ben Hansen
5e4324d0ce env_logger 2020-09-08 00:42:52 -06:00
Ben Hansen
b3b43dbef2 migrated tutorial1 docs 2020-08-20 13:27:51 -06: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
4063cc49de fixed #46 2020-06-09 21:18:45 -06:00
sotrh
17a6af4067
Merge pull request #38 from artvinn/master
Fix some inconsistencies
2020-05-19 15:03:16 -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