GPUOpen-LibrariesAndSDKs / FidelityFX-SDK

The main repository for the FidelityFX SDK.
Other
840 stars 82 forks source link

Very Coooool!!!! #11

Open bigdimboom opened 11 months ago

bigdimboom commented 11 months ago

What are the cmake flags do I use to build this and examples on linux + vulkan?

jlacroixAMD commented 11 months ago

You could try the following from the root directory:

cmake -A .. -DFFX_API_CUSTOM=OFF -DFFX_ALL=ON -DFFX_AUTO_COMPILE_SHADERS=1 cmake --build ./ --config Release

where is the generator for the linux platform you are using.

This will fail to build the dx12 native library, but may build Vulkan ok. However, I have no idea if it will work as none of this has been tested outside of x64. I'd be curious to find out if it works.

bigdimboom commented 11 months ago

No, worries. I will play around with it. There is awesome man!!!

dspcad commented 9 months ago

Hi @jlacroixAMD

I tried to run cmake to build FidelityFX on ubuntu but got the error below: FidelityFX-SDK/framework/cauldron/framework/libs/imgui/backends/imgui_impl_win32.cpp:20:10: fatal error: windows.h: No such file or directory 20 | #include | ^~~ compilation terminated.

Is there any way I can avoid windows part? Thanks.

jlacroixAMD commented 8 months ago

The graphics framework the samples are built on only supports windows at the moment. If you want to build the sample framework for Linux you will need to implement a few extra things:

You may or may not have to make a modified backend for VK if the current one also pulls in windows (I can't remember off the top of my head).

Cheers,

Jason