Monado OpenXR Runtime
vk_function_loaders.c File Reference

Functions to fill in the functions. More...

#include "vk/vk_helpers.h"
#include "vk_function_loaders_instance.c.inc"
#include "vk_function_loaders_device.c.inc"
Include dependency graph for vk_function_loaders.c:

Macros

#define GET_PROC(vk, name)   (PFN_##name) vk->vkGetInstanceProcAddr(NULL, #name);
 
#define GET_INS_PROC(vk, name)   (PFN_##name) vk->vkGetInstanceProcAddr(vk->instance, #name);
 
#define GET_DEV_PROC(vk, name)   (PFN_##name) vk->vkGetDeviceProcAddr(vk->device, #name);
 

Functions

VkResult vk_get_loader_functions (struct vk_bundle *vk, PFN_vkGetInstanceProcAddr g)
 Can be done on a completely bare bundle. More...
 
VkResult vk_get_instance_functions (struct vk_bundle *vk)
 Requires a instance to have been created and set on the bundle. More...
 
VkResult vk_get_device_functions (struct vk_bundle *vk)
 Requires a device to have been created and set on the bundle. More...
 

Detailed Description

Functions to fill in the functions.

Note that some functionality in this file is generated by the script src/xrt/auxiliary/vk/vk_generate_inc_files.py. The generated parts are included via .c.inc files.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
Lubosz Sarnecki lubos.nosp@m.z.sa.nosp@m.rneck.nosp@m.i@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om
Moshi Turner moshi.nosp@m.turn.nosp@m.er@pr.nosp@m.oton.nosp@m.mail..nosp@m.com