FidelityFX-SDK
FidelityFX-SDK copied to clipboard
Macro Parenthesis Syntax Conflict in FXC
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.