Lines Matching refs:instance_data
41 struct instance_data { struct
47 struct instance_data *instance; argument
188 static struct device_data *new_device_data(VkDevice device, struct instance_data *instance) in new_device_data()
243 struct instance_data *instance_data = FIND(struct instance_data, physicalDevice); in nullhw_CreateDevice() local
244 struct device_data *device_data = new_device_data(*pDevice, instance_data); in nullhw_CreateDevice()
266 static struct instance_data *new_instance_data(VkInstance instance) in new_instance_data()
268 struct instance_data *data = calloc(1, sizeof(*data)); in new_instance_data()
274 static void destroy_instance_data(struct instance_data *data) in destroy_instance_data()
315 struct instance_data *instance_data = new_instance_data(*pInstance); in nullhw_CreateInstance() local
316 vk_instance_dispatch_table_load(&instance_data->vtable, in nullhw_CreateInstance()
318 instance_data->instance); in nullhw_CreateInstance()
327 struct instance_data *instance_data = FIND(struct instance_data, instance); in nullhw_DestroyInstance() local
328 instance_data->vtable.DestroyInstance(instance, pAllocator); in nullhw_DestroyInstance()
329 destroy_instance_data(instance_data); in nullhw_DestroyInstance()
373 struct instance_data *instance_data = FIND(struct instance_data, instance); in vkGetInstanceProcAddr() local
374 if (instance_data->vtable.GetInstanceProcAddr == NULL) return NULL; in vkGetInstanceProcAddr()
375 return instance_data->vtable.GetInstanceProcAddr(instance, funcName); in vkGetInstanceProcAddr()