Lines Matching refs:instance
42 dev->instance, vn_device_to_handle(dev),
63 .pNext = dev->instance->experimental.globalFencing == VK_TRUE
289 assert(!physical_dev->instance->renderer->info.has_dma_buf_import);
347 struct vn_instance *instance = physical_dev->instance;
354 dev->instance = instance;
356 dev->renderer = instance->renderer;
363 result = vn_call_vkCreateDevice(instance, physical_dev_handle, create_info,
417 vn_call_vkDestroyDevice(instance, dev_handle, NULL);
431 struct vn_instance *instance = physical_dev->instance;
433 pAllocator ? pAllocator : &instance->base.base.alloc;
440 return vn_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY);
451 return vn_error(instance, result);
458 return vn_error(instance, result);
495 vn_async_vkDestroyDevice(dev->instance, device, NULL);
522 dev->instance, device, heapIndex, localDeviceIndex, remoteDeviceIndex,
536 return vn_error(dev->instance, result);
553 dev->instance, device, timestampCount, pTimestampInfos, pTimestamps,