logoalt Hacker News

direwolf20yesterday at 4:18 PM1 replyview on HN

So you still need dynamic linking to load the right driver for your graphics card.


Replies

holowoodmanyesterday at 4:46 PM

Most stuff like that uses some kind of "icd" mechanism that does 'dlopen' on the vendor-specific parts of the library. Afaik neither OpenGL nor Vulkan nor OpenCL are usable without at least dlopen, if not full dynamic linking.