2020-04-17 07:04:40 +10: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-18 09:01:37 +10:00
|
|
|
build image.spv: glsl image.comp | scene.h
|
2020-04-21 10:15:36 +10:00
|
|
|
|
2020-04-25 06:06:47 +10:00
|
|
|
build kernel1.spv: glsl kernel1.comp | scene.h tilegroup.h setup.h
|
2020-04-22 10:55:17 +10:00
|
|
|
|
2020-04-29 04:02:19 +10:00
|
|
|
build kernel2s.spv: glsl kernel2s.comp | scene.h tilegroup.h segment.h setup.h
|
|
|
|
|
2020-05-01 10:06:01 +10:00
|
|
|
build kernel2f.spv: glsl kernel2f.comp | scene.h tilegroup.h fill_seg.h setup.h
|
2020-04-22 12:30:14 +10:00
|
|
|
|
2020-05-01 10:06:01 +10:00
|
|
|
build kernel3.spv: glsl kernel3.comp | scene.h tilegroup.h segment.h fill_seg.h ptcl.h setup.h
|
|
|
|
|
|
|
|
build kernel4.spv: glsl kernel4.comp | ptcl.h segment.h fill_seg.h setup.h
|