- return original source when on an unsupported platform - check clang-format is available and return original source.
We use clang-format to format the shader files. Since we assume clang is necessary for compilation, installing clang-format should not be too much of an overhead in terms of adding dependency. Currently, we only support posix systems (macOS, linux).