google / google/bigwheels

Document HLSL style guide

Open
#108 0 comments 0 reactions 1 assignee Claimed by @chaoticbob View on GitHub
documentation
Dominant language
C++
Stars
107
Forks
42
PR merge metrics
No merged PRs in 30d

Description

`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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.