ShaderBuildRecipe

What one shader build needs: the sources of one or more stages.

In the namespace construct::shader. Declared in src/libs/libconstruct/construct/shader/ShaderBuildRecipe.hpp.

Detailed description

construct-scene-evaluator §EV-A6.2. A recipe is the INPUT of the SDF shader forge, content-addressed by key(): two recipes with the same sources are the same build, whichever site asked and however many times. The build runs `compileSdfFragment` per stage — the per-module link with the monolithic fallback (§RU-P1b) — and the artifact carries every stage's serialized QShader in the order the stages are listed.

A stage names itself the way the compile does today ("sdf_generated", "sdf_geometry", "sdf_shading"); the name is part of the key because the compile reports and the artifact cache are keyed by it too.

In this section