tests/vkrenderframework.cpp
bool VkRenderFramework::DeviceIsMockICD() {
    VkPhysicalDeviceProperties props = vk_testing::PhysicalDevice(gpu()).properties();
    if ((props.vendorID == 0xba5eba11) && (props.deviceID == 0xf005ba11) && (0 == strcmp("Vulkan Mock Device", props.deviceName))) {
        return true;
    }
    return false;
}
// WARNING:  The DevSim layer can override the properties that are tested here, making the result of
// this function dubious when DevSim is active.
The DevSim layer can override the properties that are tested here, making the result of
this function dubious when DevSim is active.
The DevSim layer can override the properties that are tested here making the result of this function dubious when DevSim is active .
bool VkRenderFramework::DeviceIsMockICD() {
    VkPhysicalDeviceProperties props = vk_testing::PhysicalDevice(gpu()).properties();
    if ((props.vendorID == 0xba5eba11) && (props.deviceID == 0xf005ba11) && (0 == strcmp("Vulkan Mock Device", props.deviceName))) {
        return true;
    }
    return false;
}
bool VkRenderFramework :: DeviceIsMockICD ( ) { VkPhysicalDeviceProperties props = vk_testing :: PhysicalDevice ( gpu ( ) ) . properties ( ) ; if ( ( props . vendorID == 0xba5eba11 ) && ( props . deviceID == 0xf005ba11 ) && ( 0 == strcmp ( " " , props . deviceName ) ) ) { return true ; } return false ; }
WARNING:  The DevSim layer can override the properties that are tested here, making the result of
this function dubious when DevSim is active.
WARNING : The DevSim layer can override the properties that are tested here making the result of this function dubious when DevSim is active .