2020-04-16 14:04:40 -07:00
|
|
|
# Build file for shaders.
|
|
|
|
|
|
|
|
# You must have glslangValidator in your path, or patch here.
|
|
|
|
|
|
|
|
glslang_validator = glslangValidator
|
|
|
|
|
|
|
|
rule glsl
|
|
|
|
command = $glslang_validator -V -o $out $in
|
|
|
|
|
2020-04-17 16:01:37 -07:00
|
|
|
build image.spv: glsl image.comp | scene.h
|
2020-04-20 17:15:36 -07:00
|
|
|
|
2020-04-24 13:06:47 -07:00
|
|
|
build kernel1.spv: glsl kernel1.comp | scene.h tilegroup.h setup.h
|
2020-04-21 17:55:17 -07:00
|
|
|
|
2020-04-28 11:02:19 -07:00
|
|
|
build kernel2s.spv: glsl kernel2s.comp | scene.h tilegroup.h segment.h setup.h
|
|
|
|
|
2020-04-24 13:06:47 -07:00
|
|
|
build kernel3.spv: glsl kernel3.comp | scene.h tilegroup.h ptcl.h setup.h
|
2020-04-21 19:30:14 -07:00
|
|
|
|
2020-04-24 13:06:47 -07:00
|
|
|
build kernel4.spv: glsl kernel4.comp | ptcl.h setup.h
|