FidelityFX-SDK icon indicating copy to clipboard operation
FidelityFX-SDK copied to clipboard

Macro Parenthesis Syntax Conflict in FXC

Open MikhailGorobets opened this issue 1 year ago • 0 comments

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.

MikhailGorobets avatar May 22 '24 09:05 MikhailGorobets