Monado OpenXR Runtime
vk_function_loaders.c File Reference

Functions to fill in the functions. More...

#include "vk/vk_helpers.h"
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 sections of this are generated by scripts/generate_vk_helpers.py - lists of functions and of optional extensions to check for. In those, please update the script and run it, instead of editing directly in this file. The generated parts are delimited by special comments.

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
Moses Turner moses.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m