zeux / volk

Meta loader for Vulkan API
MIT License
1.32k stars 115 forks source link

Question about adding as submodule #161

Closed gruelingpine185 closed 9 months ago

gruelingpine185 commented 9 months ago

Quick question, so I add volk to my projects like so:

git submodule add -b sdk-1.3.261 https://github.com/zeux/volk vendor/volk

. I try to use the "latest" version of volk available. Is there a way that I can use the releases (which by semver are more recent) instead of relying on the available branches? I'd prefer to use git to add it as opposed to downloading the zip.

Or am I doing this wrong? Should I just be adding whatever is in main (or master, or whatever it's called)?

zeux commented 9 months ago

If you want to always track latest version, I believe you need to use -b master.