vulkan
vulkan copied to clipboard
Vulkan API bindings for Go programming language
MoltenVK installed: C02F32EDML85:vulkancube_glfw bytedance$ ls /usr/local/lib/MoltenVK/ MoltenVK.xcframework dylib include run: C02F32EDML85:vulkancube_glfw bytedance$ make CGO_CFLAGS="-I"/usr/local/Cellar/glfw/3.3.7/include"" CGO_LDFLAGS="-L"/usr/local/Cellar/glfw/3.3.7/lib"" go install error: # github.com/vulkan-go/vulkan ld: framework not found MoltenVK clang: error: linker command failed...
_Originally posted by @cers000 in https://github.com/vulkan-go/vulkan/issues/33#issuecomment-601501892_ > The Vulkan 1.2 specification was launched on January 15th, 2020 As such, a new issue is probably a better place to track that...
I added an UPDATING.md file that details what I did. It builds, but crashes on my mac..
If possible, I would like if the package would automatically append a null terminator where appropriate converting from go strings to c strings. An example of the current behavior when...
When trying to run `vulkancube` or `vulkandraw`, I get ``` go: finding module for package github.com/xlab/closer go: finding module for package github.com/vulkan-go/vulkan go: finding module for package github.com/vulkan-go/asche go: finding...
When I run `go get "github.com/vulkan-go/vulkan"`, the framework cannot be found: ``` ~/W/A/go-vulkan-engine ❯❯❯ go get "github.com/vulkan-go/vulkan" ✘ 2 # github.com/vulkan-go/vulkan ld: framework not found MoltenVK clang: error: linker command...
Using `SetDefaultGetInstanceProcAddr` on MacOS just causes the error `vulkan: error loading default getProcAddr`. This is because: 1. First, this function calls `setDefaultProcAddr` https://github.com/vulkan-go/vulkan/blob/956e3850d8f9d2e617caf5a60622c638ff729c2b/init.go#L22 2. In `setDefaultProcAddr`, it calls `getDefaultProcAddr` https://github.com/vulkan-go/vulkan/blob/956e3850d8f9d2e617caf5a60622c638ff729c2b/vk_wrapper_desktop.c#L14...
I am trying to follow https://vulkan-tutorial.com/ except using Go. I have done the tutorial once in C/C++, so I have a basic understanding of Vulkan (emphasis on basic). I also...
Vulkan 1.1 introduced some new functions. The most important function is EnumerateInstanceVersion() which is used to enumerate supported instance versions. Many extensions are now members of the Vulkan core: -...
The Vulkan documentation for [DeviceCreateInfo](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceCreateInfo.html) states that > pEnabledFeatures is NULL or a pointer to a VkPhysicalDeviceFeatures structure containing boolean indicators of all the features to be enabled. But the...