1. 4
    1. 2

      That’s neat, I didn’t know Fortran had that feature.

      I recently learned this same technique is possible in GLSL with “subroutines”, but they’re not supported in SPIR-V, the Vulkan shader format, so it’s basically already deprecated.