mojoshader_vulkan.c
changeset 1272 cddbd25553fe
parent 1271 5a67d082c55f
child 1275 7fc13cff18ff
equal deleted inserted replaced
1271:5a67d082c55f 1272:cddbd25553fe
    10 #define __MOJOSHADER_INTERNAL__ 1
    10 #define __MOJOSHADER_INTERNAL__ 1
    11 #include "mojoshader_internal.h"
    11 #include "mojoshader_internal.h"
    12 
    12 
    13 #if SUPPORT_PROFILE_SPIRV
    13 #if SUPPORT_PROFILE_SPIRV
    14 
    14 
    15 #include "vulkan.h"
    15 #include "vulkan/vulkan.h"
    16 
    16 
    17 #define VULKAN_INSTANCE_FUNCTION(ret, func, params) \
    17 #define VULKAN_INSTANCE_FUNCTION(ret, func, params) \
    18     typedef ret (VKAPI_CALL *vkfntype_MOJOSHADER_##func) params;
    18     typedef ret (VKAPI_CALL *vkfntype_MOJOSHADER_##func) params;
    19 #define VULKAN_DEVICE_FUNCTION(ret, func, params) \
    19 #define VULKAN_DEVICE_FUNCTION(ret, func, params) \
    20 	typedef ret (VKAPI_CALL *vkfntype_MOJOSHADER_##func) params;
    20 	typedef ret (VKAPI_CALL *vkfntype_MOJOSHADER_##func) params;