Commit Graph

11 Commits

Author SHA1 Message Date
Alex Butler
a03a57bb60
Fix some easy-win lints 2020-08-03 11:44:46 +01:00
Ben Hansen
a1e5f474eb fixed #67 2020-07-01 18:17:31 -06:00
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.
2020-05-27 00:05:41 +04:30
Ben Hansen
2fb06b49fb finishing up 2020-04-25 18:36:50 -06:00
Ben Hansen
66eeae019c migrated tutorial6 2020-04-22 16:21:31 -06:00
Ben Hansen
cc0fc1f17f updated code to use texture.rs 2020-02-24 16:23:23 -07:00
Adam Nemecek
077f1b740e whitespace 2020-01-16 13:13:50 -08:00
Ben Hansen
da4c268fbc updated winit to 0.20 2020-01-11 15:55:08 -07:00
Ben Hansen
4daa013ecf fixing crate structure 2019-12-30 13:35:01 -07:00
Ben Hansen
df7840a3ca added AutoGithubLink and fixed uniforms challenge 2019-11-26 15:46:46 -07:00
Ben Hansen
58fa5be6d2 finished uniforms tutorial 2019-11-22 16:09:38 -07:00