mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
343e4c3075
Adds a binning stage. This is a first draft, and a number of loose ends exist.
26 lines
760 B
Plaintext
26 lines
760 B
Plaintext
# 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
|
|
|
|
build image.spv: glsl image.comp | scene.h
|
|
|
|
build kernel1.spv: glsl kernel1.comp | scene.h tilegroup.h setup.h
|
|
|
|
build kernel2s.spv: glsl kernel2s.comp | scene.h tilegroup.h segment.h setup.h
|
|
|
|
build kernel2f.spv: glsl kernel2f.comp | scene.h tilegroup.h fill_seg.h setup.h
|
|
|
|
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
|
|
|
|
|
|
build elements.spv: glsl elements.comp | scene.h state.h annotated.h
|
|
|
|
build binning.spv: glsl binning.comp | annotated.h setup.h
|