Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Vulkan #144

Open
acdemiralp opened this issue Jul 5, 2018 · 7 comments
Open

Vulkan #144

acdemiralp opened this issue Jul 5, 2018 · 7 comments

Comments

@acdemiralp
Copy link

Vulkan is a graphics API similar to OpenGL and DirectX.
Available here: https://vulkan.lunarg.com/sdk/home
Sadly only provides installers but perhaps the installation could be triggered through conan?

@Croydon
Copy link
Contributor

Croydon commented Nov 12, 2018

There are more SDKs available for Vulkan, so this should be more specific (e.g. https://github.com/ARM-software/vulkan-sdk)

@birsoyo has a recipe for the Lunarg SDk here https://github.com/birsoyo/conan-vulkan

However, I strongly suggest that the package name should be more specific, something like lunarg-vulkan-sdk

@madebr
Copy link

madebr commented Jan 29, 2019

bincrafters/community#624

@SetoKaiba
Copy link

@SpaceIm How to use it? The vulkan-headers doesn't contain the lib. And it doesn't set the lib reference for me as well.

@SetoKaiba
Copy link

https://github.com/alaingalvan/conan-vulkan-sdk/blob/master/conanfile.py

Maybe can take this as a reference? It copies the lib and specifies the lib.

@SpaceIm
Copy link

SpaceIm commented Mar 21, 2021

It depends: do you load function pointers at runtime? Do you want to link vulkan-loader? Are you on Macos or Linux/Windows? Do you need validation layers?

conan-center doesn't provide a monolithic Vulkan SDK, but a set of recipes. All these recipes together are equivalent to the Vulkan SDK of LunarG, but you don't need all these recipes depending on how you use Vulkan.

Basically, you probably need vulkan-headers as a bare minimum.
If you link to vulkan-loader, instead of loading it at runtime (vulkan-loader is installed along GPU drivers on Windows & Linux), you need also vulkan-loader recipe.
If you want to use khronos validation layers, you need vulkan-validationlayers recipe (others validation layers are not yet available in conan-center).
If you are on Macos, you need moltenvk recipe (and depending if you want to dynamically load or link to vulkan functions, or if you want to use validation-layers, you need or doesn't need vulkan-loader).

If you want to compile you shaders to spirv with shaderc, you need shaderc as build requirement.

@SetoKaiba
Copy link

Thank you. vulkan-loader is what I want.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants