Lines Matching refs:vkp
91 vector<const char*> getValidationLayers (const vk::PlatformInterface& vkp)
93 return getValidationLayers(enumerateInstanceLayerProperties(vkp));
292 const vk::PlatformInterface& vkp = context.getPlatformInterface();
293 const vector<vk::VkExtensionProperties> availableExtensions = vk::enumerateInstanceExtensionProperties(vkp, DE_NULL);
328 Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExtensionsVec, cmdLine, debugReportRecorder.get(), pAllocator);
331 Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExtensionsVec, cmdLine, pAllocator);
348 vector<const char*> addDebugReportExt(const vk::PlatformInterface& vkp, const vk::VkInstanceCreateInfo& createInfo)
350 if (!isDebugReportSupported(vkp))
379 const vk::PlatformInterface& vkp = context.getPlatformInterface();
390 enabledLayers = getValidationLayers(vkp);
396 enabledExtensions = addDebugReportExt(vkp, createInfo);
409 return CustomInstance(context, vk::createInstance(vkp, &createInfo, pAllocator), recorder);
411 return CustomInstance(context, vk::createInstance(vkp, &createInfo, pAllocator));
425 const vk::PlatformInterface& vkp = context.getPlatformInterface();
436 enabledLayers = getValidationLayers(vkp);
442 enabledExtensions = addDebugReportExt(vkp, createInfo);
455 vk::VkResult result = vkp.createInstance(&createInfo, pAllocator, &raw_instance);
466 vk::Move<vk::VkDevice> createCustomDevice (bool validationEnabled, const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice, const vk::VkDeviceCreateInfo* pCreateInfo, const vk::VkAllocationCallbacks* pAllocator)
497 return createDevice(vkp, instance, vki, physicalDevice, &createInfo, pAllocator);
742 const vk::PlatformInterface& vkp = m_context.getPlatformInterface();
912 m_logicalDevice = createCustomDevice(validationEnabled, vkp, instance, vki, physicalDevice, &deviceCreateInfo);
913 m_deviceDriver = de::MovePtr<vk::DeviceDriver>(new vk::DeviceDriver(vkp, instance, *m_logicalDevice, apiVersion));