GPUOpen-Effects / FidelityFX-FSR2

FidelityFX Super Resolution 2
Other
1.97k stars 181 forks source link

Failed to compile with VS2022+UE5.02 #14

Closed ArcEcho closed 2 years ago

ArcEcho commented 2 years ago

image

File: FSR2\Source\ffx-fsr2-api\dx12\shaders\ffx_fsr2_shaders_dx12.cpp Line: 391

image

//memset(&outBlob, 0, sizeof(Fsr2ShaderBlobDX12));
memset(outBlob, 0, sizeof(Fsr2ShaderBlobDX12));
TheNewJavaman commented 2 years ago

I also encountered this bug today, fixed using the same snippet ^

TheNewJavaman commented 2 years ago

Will be fixed in the next release by #33 and #40 (same change, different PRs) according an official AMD dev

rys commented 2 years ago

Yep, that was fixed in 2.1 released earlier today, thanks for the patience!