Commit Graph

8 Commits (b47081d70c440c917b993255a6288cbae9d45d1a)

Author SHA1 Message Date
Hiroaki Yutani 5e0ecd91cf
Improve tutorial 10 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 107d64a70e preparing for 0.5 deploy 4 years ago
Ben Hansen 032253fea9 cleaning up for 0.5 4 years ago
downtime 6d2d839411 Updated dependencies 4 years ago
Ben Hansen 3b22ab9da9 finished lighting rewrite 4 years ago
Ben Hansen e0d88871a5 finished lighting 5 years ago
Ben Hansen a805bd8fa3 updated lighting tutorial to use model.rs 5 years ago