Commit Graph

9 Commits (73aed6c6bd542826b5bca15ffbcc153a5f8350b9)

Author SHA1 Message Date
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 801ee97038 migrated gifs 4 years ago
Ben Hansen 0cd250d5fe started instancing examples 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 bbeacfa923 migrated windowless 4 years ago
Ben Hansen 4a772f7ee0 migrated gifs 4 years ago
Ben Hansen be23faee06 finished gif showcase 4 years ago
Ben Hansen f9f34459cc started gifs showcase 4 years ago