There's no Vulkan subforum yet so..
I believe the Spir-v specification has been released, i was wondering if there was any sort of feature that would allow for shaders that use macros (in GLSL) to change the functionality of the shader. In most cases it would pretty much be a "static if" statement that just choose which block of code to run. Is there anything in the specification that complements this? Or would i essentially need to compile all variants of my shader and create an archive file to store and retrieve them appropriately?