# Build file for shaders. # You must have Vulkan tools in your path, or patch here. glslang_validator = glslangValidator spirv_cross = spirv-cross rule glsl command = $glslang_validator -V -o $out $in rule hlsl command = $spirv_cross --hlsl $in --output $out rule msl command = $spirv_cross --msl $in --output $out build gen/prefix.spv: glsl prefix.comp build gen/prefix.hlsl: hlsl gen/prefix.spv build gen/prefix.msl: msl gen/prefix.spv