Home
last modified time | relevance | path

Searched refs:VK_EXPECT_RV (Results 1 – 9 of 9) sorted by relevance

/hardware/google/gfxstream/common/detector/
DVulkan.cpp76 auto buffer = VK_EXPECT_RV(device->createBufferUnique(bufferCreateInfo)); in DoCreateBuffer()
90 auto bufferMemory = VK_EXPECT_RV(device->allocateMemoryUnique(bufferMemoryAllocateInfo)); in DoCreateBuffer()
141 auto instance = VK_EXPECT_RV(vkhpp::createInstanceUnique(instanceCreateInfo)); in Load()
157 … debugMessenger = VK_EXPECT_RV(instance->createDebugUtilsMessengerEXTUnique(debugCreateInfo)); in Load()
160 const auto physicalDevices = VK_EXPECT_RV(instance->enumeratePhysicalDevices()); in Load()
166 const auto exts = VK_EXPECT_RV(physicalDevice.enumerateDeviceExtensionProperties()); in Load()
231 auto device = VK_EXPECT_RV(physicalDevice.createDeviceUnique(deviceCreateInfo)); in Load()
237 auto commandPool = VK_EXPECT_RV(device->createCommandPoolUnique(commandPoolCreateInfo)); in Load()
279 void* mapped = VK_EXPECT_RV(mDevice->mapMemory(*mStagingBufferMemory, 0, kStagingBufferSize)); in CreateBufferWithData()
323 auto image = VK_EXPECT_RV(mDevice->createImageUnique(imageCreateInfo)); in CreateImage()
[all …]
DGraphicsDetectorVk.cpp30 const auto physicalDevices = VK_EXPECT_RV(vk.instance().enumeratePhysicalDevices()); in PopulateVulkanAvailabilityImpl()
41 const auto exts = VK_EXPECT_RV(physicalDevice.enumerateDeviceExtensionProperties()); in PopulateVulkanAvailabilityImpl()
DGraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.cpp103 …auto descriptorSet0Layout = VK_EXPECT_RV(vk.device().createDescriptorSetLayoutUnique(descriptorSet… in CanHandlePrecisionQualifierWithYuvSampler()
117 …auto descriptorSet0Pool = VK_EXPECT_RV(vk.device().createDescriptorPoolUnique(descriptorPoolCreate… in CanHandlePrecisionQualifierWithYuvSampler()
125 …auto descriptorSets = VK_EXPECT_RV(vk.device().allocateDescriptorSetsUnique(descriptorSet0Allocate… in CanHandlePrecisionQualifierWithYuvSampler()
154 …auto pipelineLayout = VK_EXPECT_RV(vk.device().createPipelineLayoutUnique(pipelineLayoutCreateInfo… in CanHandlePrecisionQualifierWithYuvSampler()
160 … auto vertShaderModule = VK_EXPECT_RV(vk.device().createShaderModuleUnique(vertShaderCreateInfo)); in CanHandlePrecisionQualifierWithYuvSampler()
166 … auto fragShaderModule = VK_EXPECT_RV(vk.device().createShaderModuleUnique(fragShaderCreateInfo)); in CanHandlePrecisionQualifierWithYuvSampler()
291 auto pipeline = VK_EXPECT_RV(vk.device().createGraphicsPipelineUnique({}, pipelineCreateInfo)); in CanHandlePrecisionQualifierWithYuvSampler()
DGraphicsDetectorVkExternalMemoryHost.cpp196 auto physicalDevices = VK_EXPECT_RV(vk.instance().enumeratePhysicalDevices()); in PopulateVulkanExternalMemoryHostQuirkImpl()
201 const auto exts = VK_EXPECT_RV(physicalDevice.enumerateDeviceExtensionProperties()); in PopulateVulkanExternalMemoryHostQuirkImpl()
DVulkan.h54 #define VK_EXPECT_RV(x) \ macro
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp532 auto instance = VK_EXPECT_RV(vkhpp::createInstanceUnique(instanceCreateInfo)); in SetUpTypicalVkTestEnvironment()
536 auto physicalDevices = VK_EXPECT_RV(instance->enumeratePhysicalDevices()); in SetUpTypicalVkTestEnvironment()
554 const auto exts = VK_EXPECT_RV(physicalDevice.enumerateDeviceExtensionProperties()); in SetUpTypicalVkTestEnvironment()
601 auto device = VK_EXPECT_RV(physicalDevice.createDeviceUnique(deviceCreateInfo)); in SetUpTypicalVkTestEnvironment()
DGfxstreamEnd2EndVkTests.cpp517 auto descriptorPool = VK_EXPECT_RV(device.createDescriptorPoolUnique(descriptorPoolCreateInfo)); in AllocateDescriptorBundle()
529 …auto descriptorSetLayout = VK_EXPECT_RV(device.createDescriptorSetLayoutUnique(descriptorSetLayout… in AllocateDescriptorBundle()
DGfxstreamEnd2EndTests.h147 #define VK_EXPECT_RV(x) \ macro
DGfxstreamEnd2EndVkSnapshotPipelineTests.cpp99 auto vertexBuffer = VK_EXPECT_RV(device.createBufferUnique(vertexBufferCreateInfo)); in createAndPopulateBuffer()
116 VK_EXPECT_RV(device.allocateMemoryUnique(vertexBufferMemoryAllocateInfo)); in createAndPopulateBuffer()