You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't find an official spec for the constant, but did a find reference in this proposal:
The HLSL Infinity constant syntax violates C token rules by using the # character, and is not consistent with C or C++ language styling. This causes technical challenges by using reserved preprocessor tokens, but also makes the feature foreign and less approachable in a C-like language.
When using clang format on
clang-format will separate it to
This is invalid HLSL code and won't allow it to be compiled.
The text was updated successfully, but these errors were encountered: