MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / GetPhysicalDeviceProperties

Function GetPhysicalDeviceProperties

tests/icd/test_icd.cpp:428–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
429 VkPhysicalDeviceProperties* pProperties) {
430 pProperties->apiVersion = VK_HEADER_VERSION_COMPLETE;
431 pProperties->driverVersion = 1;
432 pProperties->vendorID = 0xba5eba11;
433 pProperties->deviceID = 0xf005ba11;
434 pProperties->deviceType = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU;
435 // Keep to match with other MockICD
436 strcpy(pProperties->deviceName, "Vulkan Mock Device");
437 pProperties->pipelineCacheUUID[0] = 18;
438 pProperties->limits = SetLimits(&pProperties->limits);
439 pProperties->sparseProperties = {VK_TRUE, VK_TRUE, VK_TRUE, VK_TRUE, VK_TRUE};
440}
441
442static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice,
443 uint32_t* pQueueFamilyPropertyCount,

Callers 6

PropertiesMethod · 0.50
InitFrameworkMethod · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls 1

SetLimitsFunction · 0.85

Tested by

no test coverage detected