Commit Graph

48 Commits

Author SHA1 Message Date
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
Alex Komissarov
d38731e472
Migration to winit 0.23 2020-10-21 01:10:16 +05:00
Ben Hansen
6f29ba738b fixes #108 2020-10-17 14:51:41 -06:00
Ben Hansen
73aed6c6bd rustfmt 2020-09-27 23:24:43 -06:00
Ben Hansen
ad5cd8e12f fixed #93 2020-09-27 22:52:35 -06:00
Ben Hansen
041a230d0d finished threading 2020-09-27 22:52:11 -06:00
Ben Hansen
9b02850917 started threading 2020-09-25 21:27:38 -06:00
Ben Hansen
5409e8ea1e rogue copy paste 2020-09-22 16:02:23 -06:00
Ben Hansen
2ab37aa9b7 some fixes 2020-09-22 16:00:46 -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
cb5cfd074f fixed #86 2020-09-19 15:49:05 -06:00
Ben Hansen
4186d5af45 migrated tutorial12 code 2020-09-14 13:28:50 -06:00
Ben Hansen
8d5de2d87c migrated tutorial11 2020-09-14 12:53:22 -06:00
Ben Hansen
03b1b64e55 migrated tutorial10 2020-09-11 16:19:26 -06:00
Ben Hansen
cfd36577bb migrated tutorial10 code 2020-09-11 15:03:19 -06:00
Ben Hansen
540b03aded Merge branch 'master' of github.com:sotrh/learn-wgpu 2020-08-12 16:09:04 -06:00
Ben Hansen
0cd250d5fe started instancing examples 2020-08-11 13:17:14 -06:00
Alex Butler
a03a57bb60
Fix some easy-win lints 2020-08-03 11:44:46 +01:00
Ben Hansen
252ca8b909 forgot github link, etc 2020-07-24 15:47:04 -06:00
Ben Hansen
0ae192f440 fixed missing screenshot 2020-07-24 15:36:50 -06:00
Ben Hansen
d6d6995066 finished camera changes 2020-07-24 13:24:45 -06:00
Dzmitry Malyshau
e9ea5854ca
Fix a mismatch in light VS versus FS varying of v_color 2020-07-09 16:37:40 -04:00
Ben Hansen
a1e5f474eb fixed #67 2020-07-01 18:17:31 -06:00
Ben Hansen
4063cc49de fixed #46 2020-06-09 21:18:45 -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
67f163aaec fixed crash in later example code 2020-05-19 11:46:04 -06:00
Ben Hansen
752533a706 finish normal mapping 2020-05-04 13:03:39 -06:00
Ben Hansen
387e17ba5f finished normal mapping tutorial 2020-05-03 22:45:42 -06:00
Ben Hansen
a118435ba7 debugging the normal mapping 2020-05-01 14:14:10 -06:00
Ben Hansen
ec5339bd3b started normals tutorial 2020-04-29 12:31:35 -06:00
Ben Hansen
2fb06b49fb finishing up 2020-04-25 18:36:50 -06:00
Ben Hansen
032253fea9 cleaning up for 0.5 2020-04-25 16:32:17 -06:00
Ben Hansen
d8a2657878 adjusted migration to tutorial10 2020-04-25 15:27:56 -06:00
Pointu
a1059d5ccc
Update main.rs 2020-04-24 12:09:16 +08:00
downtime
764f5405db updata wgpu 0.5 2020-04-22 17:39:40 +08:00
downtime
6d2d839411 Updated dependencies 2020-04-22 12:12:29 +08:00
Ben Hansen
ab0513146d cleanup for lighting deploy 2020-04-17 21:26:17 -06:00
Ben Hansen
3b22ab9da9 finished lighting rewrite 2020-04-17 21:23:19 -06:00
Ben Hansen
f9f34459cc started gifs showcase 2020-03-18 14:19:06 -06:00
Ben Hansen
a7f08a1562 fixed missing res folder in lighting 2020-03-18 13:54:02 -06:00
Ben Hansen
e0d88871a5 finished lighting 2020-03-17 20:20:05 -06:00
Ben Hansen
a805bd8fa3 updated lighting tutorial to use model.rs 2020-03-12 16:57:09 -06:00
Ben Hansen
9e30f8bc99 added "spheres" 2020-02-21 15:12:43 -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
4daa013ecf fixing crate structure 2019-12-30 13:35:01 -07:00
Ben Hansen
348a06ee0f reorganized project, added challenge impls 2019-11-12 23:52:09 -07:00