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
|
2021-04-02 18:59:07 -07:00
|
|
|
command = $glslang_validator $flags -V -o $out $in
|
2020-04-16 14:04:40 -07:00
|
|
|
|
2020-05-11 20:01:06 -07:00
|
|
|
|
2020-05-12 13:38:26 -07:00
|
|
|
build elements.spv: glsl elements.comp | scene.h state.h annotated.h
|
|
|
|
|
2020-05-20 16:36:09 -07:00
|
|
|
build binning.spv: glsl binning.comp | annotated.h state.h bins.h setup.h
|
2020-05-13 15:35:19 -07:00
|
|
|
|
2020-06-02 17:10:20 -07:00
|
|
|
build tile_alloc.spv: glsl tile_alloc.comp | annotated.h tile.h setup.h
|
|
|
|
|
2020-06-09 16:01:47 -07:00
|
|
|
build path_coarse.spv: glsl path_coarse.comp | annotated.h pathseg.h tile.h setup.h
|
2020-06-02 17:10:20 -07:00
|
|
|
|
2020-06-05 15:07:02 -07:00
|
|
|
build backdrop.spv: glsl backdrop.comp | annotated.h tile.h setup.h
|
|
|
|
|
2021-06-08 16:29:40 +09:00
|
|
|
build backdrop_lg.spv: glsl backdrop.comp | annotated.h tile.h setup.h
|
|
|
|
flags = -DBACKDROP_DIST_FACTOR=4
|
|
|
|
|
2020-05-13 15:35:19 -07:00
|
|
|
build coarse.spv: glsl coarse.comp | annotated.h bins.h ptcl.h setup.h
|
2020-05-15 15:20:25 -07:00
|
|
|
|
|
|
|
build kernel4.spv: glsl kernel4.comp | ptcl.h setup.h
|