We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreal Engine expects the following HLSL syntax to work properly.
static const struct { int member; } varName = { value };
But Slang errors out as following,
c.slang(2): error 20001: unexpected '{', expected identifier { ^
The following syntax works for Slang but we need to support what UE expects.
struct StructName { int member; }; static const StructName varName = { value };
The text was updated successfully, but these errors were encountered:
csyonghe
Successfully merging a pull request may close this issue.
Unreal Engine expects the following HLSL syntax to work properly.
But Slang errors out as following,
The following syntax works for Slang but we need to support what UE expects.
The text was updated successfully, but these errors were encountered: