Commit Graph

42 Commits (e0cd2b0a3992cf5d00e0b54756206e50430032d6)

Author SHA1 Message Date
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 9c07ba5388 tutorial9 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 eff8418d37 cargo fmt 3 years ago
Ben Hansen 3901419a58 beginner tutorial code done 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 733683cf6f removed camera research 4 years ago
Ben Hansen 99fd6523d7 travis build failing 4 years ago
Ben Hansen aa773303df cargo fmt 4 years ago
Ben Hansen c770e1860f fixed code for #116 4 years ago
Ben Hansen aa8f9f269d fixed #119 4 years ago
Ben Hansen 0620f0b05d migrated ModelVertex to use bytemuck derive 4 years ago
Ben Hansen 0ccb80e7e3 updated Uniforms struct to use bytemuck derive 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
Ben Hansen 2ab37aa9b7 some fixes 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 02921f7ffa migrated tutorial9 4 years ago
Ben Hansen cfd36577bb migrated tutorial10 code 4 years ago
Ben Hansen 3dbb6570b7 migrated tutorial9 code 4 years ago
Alex Butler a03a57bb60
Fix some easy-win lints 4 years ago
Ben Hansen a1e5f474eb fixed #67 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
Ben Hansen 67f163aaec fixed crash in later example code 4 years ago
Ben Hansen 2fb06b49fb finishing up 4 years ago
Ben Hansen 368021047a adjusted migration to tutorial9 4 years ago
Pointu 13cbe0ca68
Update main.rs 4 years ago
downtime 764f5405db updata wgpu 0.5 4 years ago
Ben Hansen a805bd8fa3 updated lighting tutorial to use model.rs 4 years ago
Ben Hansen 426e78dc9d fixed missing parts of model tutorial 4 years ago
Ben Hansen 994870fed1 finished model tutorial 4 years ago
Ben Hansen 84fa9fcc9d debugging adding bind groups to material 4 years ago
Ben Hansen e6d402047f started model tutorial 4 years ago