demos
demos copied to clipboard
Vulkan API crossplatform demos in Go
I get the following when trying to build/run any of the demos. ``` $ go mod tidy .... go: finding module for package github.com/xlab/linmath-go/linmath github.com/vulkan-go/demos/vulkancube imports github.com/xlab/linmath tested by github.com/xlab/linmath.test...
hello, glfw changed GLFWWindow to Handle (see their readme). needs fixed. thanks
``` # github.com/vulkan-go/demos/vulkancube/vulkancube_sdl2 ./main.go:33:31: cannot use surfPtr (type unsafe.Pointer) as type uintptr in argument to vulkan.SurfaceFromPointer Tue 1 Dec 18:29:30 GMT 2020 ``` fixed by adding type conversion... surf :=...
i get this... ```` fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x0] runtime stack: runtime.throw(0x52b296, 0x2a) /usr/lib64/golang/src/runtime/panic.go:774 +0x72 runtime.sigpanic() /usr/lib64/golang/src/runtime/signal_unix.go:378 +0x47c runtime.asmcgocall(0xc000080400, 0x0) /usr/lib64/golang/src/runtime/asm_amd64.s:659...
Because the setup is a bit heavy what do you think about a docker building to help people try this out ? I had trouble with some of the dependencies.
https://github.com/mogol/opengl_texture_widget_example I am going to try to get this going with your code. I already use golang I side flutter and it's very easy once the pattern is worked out....
go build github.com/vulkan-go/vulkan: invalid flag in #cgo LDFLAGS: -Wl,--allow-multiple-definition
if you are having this issue, its actually a problem with this repo https://github.com/vulkan-go/vulkan here is a solution manually delete `-Wl,--allow-multiple-definition` from `vulkan_windows.go` line 8 reference from issue on other...
running the makefile does not successfully build when it runs the go install or go build commands even after setting `GLFW_INCLUDE_DIR` `GLFW_LIB_DIR` I think this has something to do with...
demo vulkandraw no background color.  
Hi, this PR is for the second example vulkandraw. I have no iOS device so I change this part of the code only "mechanically". Successfully tested on Windows 10 and...