rev: 21c5e6d2f665d0e8b4ff917a51b664c895dab2ed tukan/tukan/vulkan.sc -rw-r--r-- 438 bytes View raw Log this file
21c5e6d2f665 — Leonard Ritter * renamed project from Liminal to Tukan 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let lib =
    import-c "vulkan.c"
        """"
            #include <vulkan/vulkan.h>
            int FN_VK_MAKE_VERSION (int major, int minor, int patch) {
                return VK_MAKE_VERSION(major,minor,patch);
            }
        '()

load-library "libvulkan.so"

do
    using lib filter "^(vk(.+)|VK(.+)|Vk(.+))$"
    let VK_MAKE_VERSION = lib.FN_VK_MAKE_VERSION
    let VK_API_VERSION_1_0 = (VK_MAKE_VERSION 1 0 0)
    locals;