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

Invalid C linkage specification

Open jeremyong-az opened this issue 3 years ago • 3 comments

warning C4190: 'fsr2GetPermutationBlobByIndex' has C-linkage specified, but returns UDT 'Fsr2ShaderBlobDX12' which is incompatible with C

Compiling with MSVC generates the warning above, but I haven't had a chance to understand why yet.

jeremyong-az avatar Oct 03 '22 03:10 jeremyong-az

https://github.com/GPUOpen-Effects/FidelityFX-FSR2/issues/43

MOVZX avatar Oct 03 '22 13:10 MOVZX

I'm seeing the warning even with the function rename however

jeremyong-az avatar Oct 03 '22 14:10 jeremyong-az

Yes, that is true. I just want to let you know that someone already reported about this issue 2 months ago and no one repsponded nor commented about it.

MOVZX avatar Oct 03 '22 19:10 MOVZX