mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
6f707c4c62
WIP. Most of the GPU-side work should be done (though it's not tested end-to-end and it's certainly possible I missed something), but still needs work on encoding side.
27 lines
798 B
GLSL
27 lines
798 B
GLSL
# Build file for shaders.
|
|
|
|
# You must have glslangValidator in your path, or patch here.
|
|
|
|
glslang_validator = glslangValidator
|
|
|
|
rule glsl
|
|
command = $glslang_validator $flags -V -o $out $in
|
|
|
|
|
|
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 tile_alloc.spv: glsl tile_alloc.comp | annotated.h tile.h setup.h
|
|
|
|
build path_coarse.spv: glsl path_coarse.comp | annotated.h pathseg.h tile.h setup.h
|
|
|
|
build backdrop.spv: glsl backdrop.comp | annotated.h tile.h setup.h
|
|
|
|
build backdrop_lg.spv: glsl backdrop.comp | annotated.h tile.h setup.h
|
|
flags = -DBACKDROP_DIST_FACTOR=4
|
|
|
|
build coarse.spv: glsl coarse.comp | annotated.h bins.h ptcl.h setup.h
|
|
|
|
build kernel4.spv: glsl kernel4.comp | ptcl.h setup.h
|