GPUOpen-Drivers / AMDVLK

AMD Open Source Driver For Vulkan
MIT License
1.69k stars 160 forks source link

Disable llvm build #318

Closed shivania2 closed 1 year ago

shivania2 commented 1 year ago

I am building AMDVLK for linux based distro(Photon). Is there any option to disable llvm build for AMDvlk and use the llvm libraries provided by the distro itself from upstream.

Flakebi commented 1 year ago

There are some changes in our downstream LLVM fork that are required for the Vulkan driver to work correctly (most notably waterfall loops). So, if you try using upstream LLVM with AMDVLK, it will build, but you won’t get a conforming Vulkan driver and it will produce incorrect code for some applications.

tl;dr: No, please don’t try to do that.

shivania2 commented 1 year ago

Thanks Fakebi