Commit Graph

16 Commits (73aed6c6bd542826b5bca15ffbcc153a5f8350b9)

Author SHA1 Message Date
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 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 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