Commit Graph

62 Commits

Author SHA1 Message Date
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
sotrh
dea850863e
Merge pull request #39 from CleanCut/tutorial1-2-improvements
Fixed some things I noticed while doing tutorial 1 and tutorial 2.
2020-05-19 15:01:59 -06:00
Ben Hansen
67f163aaec fixed crash in later example code 2020-05-19 11:46:04 -06:00
Nathan Stocks
e247decf46 Fixed some things I noticed while doing tutorial 1 and tutorial 2. 2020-05-12 22:45:23 -06:00
Ben Hansen
752533a706 finish normal mapping 2020-05-04 13:03:39 -06:00
Ben Hansen
387e17ba5f finished normal mapping tutorial 2020-05-03 22:45:42 -06:00
Ben Hansen
a118435ba7 debugging the normal mapping 2020-05-01 14:14:10 -06:00
Ben Hansen
ec5339bd3b started normals tutorial 2020-04-29 12:31:35 -06:00
Ben Hansen
2fb06b49fb finishing up 2020-04-25 18:36:50 -06:00
Ben Hansen
bbeacfa923 migrated windowless 2020-04-25 17:22:26 -06:00
Ben Hansen
4a772f7ee0 migrated gifs 2020-04-25 16:51:23 -06:00
Ben Hansen
032253fea9 cleaning up for 0.5 2020-04-25 16:32:17 -06:00
Ben Hansen
d8a2657878 adjusted migration to tutorial10 2020-04-25 15:27:56 -06:00
Ben Hansen
368021047a adjusted migration to tutorial9 2020-04-25 14:10:14 -06:00
sotrh
a5bdad14ab
Merge pull request #28 from Pointime/0.5
fix async style
2020-04-25 12:24:44 -06:00
Ben Hansen
2b8e97b6fa migrated tutorial8 2020-04-25 12:21:51 -06:00
Pointu
13cbe0ca68
Update main.rs 2020-04-24 12:09:50 +08:00
Pointu
a1059d5ccc
Update main.rs 2020-04-24 12:09:16 +08:00
Ben Hansen
baf4377930 forgot to add examples 2020-04-23 21:18:03 -06:00
Ben Hansen
a7833f3c16 migrated tutorial7 2020-04-23 21:17:41 -06:00
Ben Hansen
66eeae019c migrated tutorial6 2020-04-22 16:21:31 -06:00
downtime
311fd9000d fix my Commit error 2020-04-22 17:48:58 +08:00
downtime
764f5405db updata wgpu 0.5 2020-04-22 17:39:40 +08:00
downtime
6d2d839411 Updated dependencies 2020-04-22 12:12:29 +08:00
Ben Hansen
1205f18443 migrated tutorial5 2020-04-21 13:05:48 -06:00
Ben Hansen
82048bcc31 migrated tutorial4 2020-04-19 13:57:01 -06:00
Ben Hansen
baa9e2656a tutorial3 migrated 2020-04-18 18:34:30 -06:00
Ben Hansen
f8738e4850 migrated tutorial2 2020-04-18 17:57:16 -06:00
Ben Hansen
4fb7d39bcf tutorial1 updated 2020-04-18 16:48:18 -06:00
Ben Hansen
ab0513146d cleanup for lighting deploy 2020-04-17 21:26:17 -06:00
Ben Hansen
3b22ab9da9 finished lighting rewrite 2020-04-17 21:23:19 -06:00
Ben Hansen
be23faee06 finished gif showcase 2020-03-29 19:51:50 -06:00
Ben Hansen
f9f34459cc started gifs showcase 2020-03-18 14:19:06 -06:00
Ben Hansen
a7f08a1562 fixed missing res folder in lighting 2020-03-18 13:54:02 -06:00
Ben Hansen
e0d88871a5 finished lighting 2020-03-17 20:20:05 -06:00
Ben Hansen
a805bd8fa3 updated lighting tutorial to use model.rs 2020-03-12 16:57:09 -06:00
Ben Hansen
3d5740c6b1 Merge branch 'master' into lighting 2020-03-12 16:28:48 -06:00
Ben Hansen
426e78dc9d fixed missing parts of model tutorial 2020-03-12 15:56:43 -06:00
Ben Hansen
994870fed1 finished model tutorial 2020-03-11 22:14:56 -06:00
Ben Hansen
84fa9fcc9d debugging adding bind groups to material 2020-03-10 21:53:46 -06:00
Ben Hansen
e6d402047f started model tutorial 2020-03-06 13:19:12 -07:00
Ben Hansen
cc0fc1f17f updated code to use texture.rs 2020-02-24 16:23:23 -07:00
Ben Hansen
9e30f8bc99 added "spheres" 2020-02-21 15:12:43 -07:00
sotrh
dabca840e2
Merge pull request #11 from adamnemecek/master
whitespace
2020-01-21 13:17:33 -07:00
Ben Hansen
c41ed7766e fixed depth challenge 2020-01-20 17:05:13 -07:00
Adam Nemecek
077f1b740e whitespace 2020-01-16 13:13:50 -08:00
Ben Hansen
aa45a0605f finished main.rs tutorial 8 2020-01-14 12:02:41 -07:00
Ben Hansen
da4c268fbc updated winit to 0.20 2020-01-11 15:55:08 -07:00
Ben Hansen
ab225f2725 finished instancing challenge 2020-01-09 13:08:01 -07:00
Ben Hansen
caf75336e9 finishe most of instance tutorial 2020-01-01 22:29:29 -07:00