Closed tari3x closed 4 years ago
The triangle example should compile and "run" properly now. The other example needs fixing (and the handling of record extension is wrong)
Thanks! bin/triangle got built, however when running I get
Fatal error: exception Dl.DL_error("/usr/lib64/libvulkan.so: undefined symbol: vkBindBufferMemory2")
Do you happen to know what vulkan version I need? My system got 1.0.65.
This is a vulkan 1.1 function. The error is happening because post-1.0 functions are not protected by the functor mechanism used for extensions. I will fix the issue by adjusting the spec analyzer and code generator to be aware of those version-gated functions. Thanks for the report.
Cool, thanks! I'll upgrade my system in the meantime, is nearing end of life anyway.
Got newer vulkan, and triangle works! Thanks!
My goal is to evaluate a polynomial in each pixel and to draw a picture where the colour in each pixel represents the computed value. Do you expect any issues with that, or is the current API sufficient?
It should work: it is a matter of setting the vertew buffer, a texture buffer, and an index buffer. The "tesseract" example does something similar. (It only doesn't work reliably currently because I cut some corners on synchronization when writing it for an APU laptop.)
Also note, that the vulkan API is extremely front loaded: there is a lot of ceremony before doing anything even compared to modern openGL . And compared to openGL there is also lot of data types, thus this binding generator: a quick grep shows that olivine generate bindings for more than 1800 datatypes currently.
Cool! I sent you an email regarding general vulkan help (hope you got it!), but I think this issues is resolved, I'll close it.
It should work: it is a matter of setting the vertew buffer, a texture buffer, and an index buffer.
Curious, why would I need those? I kinda want to short-cut the whole rendering pipeline and just compute my pixels directly. Or does vulkan just not work like that?
I ran make twice, each time it failed differently, output below.