GPUOpen-LibrariesAndSDKs / FidelityFX-SDK

The main repository for the FidelityFX SDK.
Other
835 stars 80 forks source link

Macro Parenthesis Syntax Conflict in FXC #68

Open MikhailGorobets opened 3 months ago

MikhailGorobets commented 3 months ago

When using the FXC compiler, I get the following error:

ffx_core_hlsl.h(43,34): error X1500: syntax error : unexpected token ')'
ffx_core_hlsl.h(43,36-66): error X1500: syntax error : unexpected token 'GroupMemoryBarrierWithGroupSync'

Removing the parentheses in the macro FFX_GROUP_MEMORY_BARRIER and in the corresponding function resolves this issue.