Commit Graph

56 Commits (82d50cba6cc1fca4deec9286aa2766837f1dd9a3)

Author SHA1 Message Date
Ben Hansen 05767326d9 tutorial 9 working on desktop 2 years ago
Ben Hansen 2bb9be1660 tutorials 2-8 now have working web examples 2 years ago
Ben Hansen 59f0ec16f0 migrated tutorial to use lib.r 2 years ago
Hiroaki Yutani 8c6c491b11 Remove padding in INDICES 3 years ago
Ben Hansen c0843b3f92 fixes #285 3 years ago
Ben Hansen 2073b0fbc1 updated to 0.12 3 years ago
Ferdinand Schäffler a39f95af13 Converted code examples. 3 years ago
Ben Hansen 7cc67f5678 migrated to 0.11 3 years ago
Ben Hansen fd589adbe1 finished code migration 3 years ago
Ben Hansen 7c90669f89 migrated beginner tutorials 3 years ago
Ben Hansen 57d7eb763f migrated tutorial4 3 years ago
Ben Hansen 0f618a2ff8 migrated tutorial3 3 years ago
Ben Hansen b322b8f6b8 reworked swapchain tutorial to use surface 3 years ago
Ben Hansen 822f2d6191 started 0.10 3 years ago
Ben Hansen 70bf012641 fixed tangent/bitangent comp and cargo fmt 3 years ago
sotrh 1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
3 years ago
Rokonio 848758a792
Fixing #200 3 years ago
Rokonio 747b399d13
Fixing #200 3 years ago
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") 3 years ago
Martino Fontana c80b5a9ae2 Collapsed event_loop match 3 years ago
Joshua Barretto 12ba9bed0c Switched to pollster 3 years ago
Ben Hansen b5ce220c2b upgraded to 0.9 3 years ago
Ben Hansen 2f8bf02710 finished migrating challenge shaders and cargo fmt 3 years ago
Ben Hansen f9ee77844d removed shaderc from build.rs 3 years ago
Ben Hansen d2889cd50a beginner tutorial code now uses wgsl 3 years ago
Ben Hansen f3ebc0e666 fixed panic in tutorials 3 and 4 3 years ago
Ben Hansen 46eb5eb139 code now builds on 0.8 3 years ago
sotrh d8a861b515
Merge branch 'master' into cgmath-0.18 3 years ago
Hiroaki Yutani 24f565ee58 Update winit to 0.24 3 years ago
Hiroaki Yutani 7293547212 Bump cgmath version 3 years ago
Ben Hansen e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 3 years ago
Ben Hansen 91879d405b code up to 7 migrated 3 years ago
Ben Hansen 47fd27669e migrated tutorials 1 and 2 3 years ago
Ben Hansen 19c99e28d0 Merge branch 'master' of https://github.com/sotrh/learn-wgpu 3 years ago
Ben Hansen 1f9024691c shaderc 1.6 -> 0.7 3 years ago
Renato Caldas d44f216b14 Fix inconsistent position of the 'size' field in the beginner tutorials 4 years ago
Ben Hansen aa773303df cargo fmt 4 years ago
Ben Hansen aa8f9f269d fixed #119 4 years ago
Ben Hansen 5abaa16ac1 updated bytemuck to use derive as per #109 4 years ago
Ben Hansen 8ad575f750 finished #121 4 years ago
Ben Hansen df1d2c412f applied change to main tutorials 4 years ago
Ben Hansen 6f29ba738b fixes #108 4 years ago
Ben Hansen 73aed6c6bd rustfmt 4 years ago
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.
4 years ago
Ben Hansen f1d43b9829 env_logger::init() 4 years ago
Ben Hansen 5e4324d0ce env_logger 4 years ago
Ben Hansen e9e325459d using anyhow instead of failure 4 years ago
Ben Hansen 0fbb71efb6 migrated tutorial4 4 years ago
Ben Hansen b3a6d3163d migrated tutorial4 code 4 years ago
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.
4 years ago