gpt4 book ai didi

c++ - Vulkan SDK 可再发行组件

转载 作者:太空狗 更新时间:2023-10-29 21:15:14 24 4
gpt4 key购买 nike

我在 LunarG 发布了以下问题,作为 Issue #565,关于 Vulkan SDK 可再发行部分,用于使用 Vulkan 开发的准备就绪的应用程序。我想与 Stack Overflow 开发人员分享它。

Let's say I have Vulkan application demo and wish to send it to potential clients, in order to evaluate it. If I'd develop it using SDK, what is the correct way to deploy it :

a) include the compatible SDK installer in a multi-install process ?

b) include some SDK's dlls and companion files ? Which ones ?

It also raises another question: Can I re-distribute SDK files ?

最佳答案

来自 LunarG 的 Karl Schultz 回复如下:

On Windows, many IHVs include the Vulkan loader DLL in their install packages, placing it in system32/vulkan-1.dll. So, in many cases, your app might just work fine as long as the user has installed drivers with Vulkan support.

You might also consider shipping only the RunTimeInstaller, which is found in the SDK. This would let the user install the run time (loader) as part of your application install. The RTI includes version checking so that it doesn't clobber a newer version installed by IHV drivers, or vice-versa. In short, this is probably the best way to go. It would be better to include the RTI as part of the "multi-install process" rather than include the entire SDK.

If your application needs layers or some other specific item from the SDK, then you'd have to include those explicitly somehow.

Please check the licensing-related files within the SDK concerning redistribution.

关于c++ - Vulkan SDK 可再发行组件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38334158/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com