bigwheels
bigwheels copied to clipboard
Document HLSL style guide
clang-format
does not play nice with HLSL: it works fine for the code within functions but messes up the struct definitions especially when semantics are specified.
We should either find a way to work around clang-format
to ignore the definitions and at least format the code, or specify a HLSL style guide that should be followed manually.