vello/piet-gpu/shader/build.ninja

20 lines
501 B
Plaintext
Raw Normal View History

# 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
build elements.spv: glsl elements.comp | scene.h state.h annotated.h
build binning.spv: glsl binning.comp | annotated.h state.h bins.h setup.h
build coarse.spv: glsl coarse.comp | annotated.h bins.h ptcl.h setup.h
build kernel4.spv: glsl kernel4.comp | ptcl.h setup.h