bigwheels icon indicating copy to clipboard operation
bigwheels copied to clipboard

Document HLSL style guide

Open vettoreldaniele opened this issue 1 year ago • 0 comments

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.

vettoreldaniele avatar Apr 18 '23 14:04 vettoreldaniele