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

Is pixlib.lib mandatory?

Open ohmaya opened this issue 1 year ago • 1 comments

I was integrating https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/tree/release-FSR3-3.0.3/sdk, by:

FetchContent_Declare(
    GIT_REPOSITORY ... .git
    SOURCE_SUBDIR sdk

Hopefully, this does not process content above /sdk.

1 of my engine's RHI DX12 projects contains a pixlib.lib right below ffx_backend_dx12_x64.lib in Additional Dependencies. Build of this project will fail due to missing that lib.

Thanks.

ohmaya avatar Dec 22 '23 02:12 ohmaya

Introduced by ffx_backend_dx12_x64: https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/blob/release-FSR3-3.0.3/sdk/src/backends/dx12/CMakeLists.txt#L340

if (NOT FFX_BUILD_AS_DLL)
    target_link_libraries (ffx_backend_dx12_${FFX_PLATFORM_NAME} pixlib)
endif()

pixlib is not in the solutions generated by BuildAllCauldronEffectsSolution.bat and BuildAllNativeEffectsSolution.bat.

ohmaya avatar Dec 22 '23 07:12 ohmaya