Commit Graph

48 Commits

Author SHA1 Message Date
Ben Hansen
c0843b3f92 fixes #285 2021-12-29 11:57:29 -07:00
Ben Hansen
2073b0fbc1 updated to 0.12 2021-12-27 12:09:25 -07:00
Ferdinand Schäffler
a39f95af13 Converted code examples. 2021-10-27 12:58:05 +02:00
Ben Hansen
7cc67f5678 migrated to 0.11 2021-10-08 18:40:29 -06:00
Ben Hansen
fd589adbe1 finished code migration 2021-09-11 15:14:31 -06:00
Ben Hansen
7c90669f89 migrated beginner tutorials 2021-09-11 11:11:30 -06:00
Ben Hansen
c0754f9dd3 migrated tutorial5 2021-09-11 10:37:05 -06:00
Ben Hansen
57d7eb763f migrated tutorial4 2021-09-11 10:19:15 -06:00
Ben Hansen
0f618a2ff8 migrated tutorial3 2021-09-11 10:10:18 -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
372082ae90 Rename "Uniform" to "Camera" in labels too 2021-08-27 00:07:50 +02:00
Martino Fontana
b2b77294f6 Change "uniform" naming to "camera" 2021-08-26 21:09:51 +02:00
sotrh
1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
2021-08-09 16:20:36 -06:00
Rokonio
7fb76b4e0e
Fixing #200 2021-08-09 00:46:47 +02:00
Martino Fontana
c55ea96d0d Removed unnecessary .clone() 2021-08-04 15:13:08 +02:00
Martino Fontana
2c811f43a4 Truncated excessive float precision 2021-08-04 14:58: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
2f8bf02710 finished migrating challenge shaders and cargo fmt 2021-05-18 19:16:36 -06:00
Ben Hansen
8e6e6e7092 fixed #174 2021-05-17 21:15:25 -06:00
Ben Hansen
add4ba7328 fixed panics in tutorials 5-8 2021-05-01 19:02:38 -06:00
Ben Hansen
46eb5eb139 code now builds on 0.8 2021-05-01 15:55:26 -06:00
Hiroaki Yutani
156a61b459 tutorial7 2021-04-11 16:46:59 +09:00
Ben Hansen
e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 2021-02-18 20:56:47 -07:00
Ben Hansen
eff8418d37 cargo fmt 2021-02-18 20:04:09 -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
aa773303df cargo fmt 2020-11-18 11:48:37 -07:00
Ben Hansen
c770e1860f fixed code for #116 2020-11-18 10:48:28 -07:00
Ben Hansen
0ccb80e7e3 updated Uniforms struct to use bytemuck derive 2020-11-12 19:28:53 -07:00
Ben Hansen
5abaa16ac1 updated bytemuck to use derive as per #109 2020-11-11 16:06:53 -07:00
Ben Hansen
8ad575f750 finished #121 2020-11-11 15:41:06 -07:00
Ben Hansen
df1d2c412f applied change to main tutorials 2020-11-10 16:52:55 -07:00
Ben Hansen
73aed6c6bd rustfmt 2020-09-27 23:24:43 -06:00
lberrymage
fa418b2c60
Use std::iter::once for encoder queue submission
`std::iter::once` is more idiomatic for passing single-value iterators
than Some(value), and it's even intended for this case according to the
docs.
2020-09-19 22:17:36 -08:00
Ben Hansen
f1d43b9829 env_logger::init() 2020-09-09 20:48:08 -06:00
Ben Hansen
1e8a6ba0a5 migrated tutorial7 2020-09-05 16:45:52 -06:00
Alex Butler
a03a57bb60
Fix some easy-win lints 2020-08-03 11:44:46 +01:00
Ben Hansen
a1e5f474eb fixed #67 2020-07-01 18:17:31 -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
Ben Hansen
2fb06b49fb finishing up 2020-04-25 18:36:50 -06:00
Ben Hansen
a7833f3c16 migrated tutorial7 2020-04-23 21:17:41 -06:00
Ben Hansen
cc0fc1f17f updated code to use texture.rs 2020-02-24 16:23:23 -07:00
Adam Nemecek
077f1b740e whitespace 2020-01-16 13:13:50 -08: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
2c57618925 created examples for loop and array 2019-12-30 17:04:38 -07:00