| 49 | } |
| 50 | |
| 51 | TEST(api_create_device_profile, check_support_vulkan_1_0) { |
| 52 | const VpProfileProperties profile = {VP_LUNARG_MINIMUM_REQUIREMENTS_1_0_NAME, VP_LUNARG_MINIMUM_REQUIREMENTS_1_0_SPEC_VERSION}; |
| 53 | |
| 54 | VkBool32 supported = VK_FALSE; |
| 55 | VkResult result = vpGetPhysicalDeviceProfileSupport(scaffold->instance, scaffold->physicalDevice, &profile, &supported); |
| 56 | EXPECT_TRUE(result == VK_SUCCESS); |
| 57 | EXPECT_TRUE(supported == VK_TRUE); |
| 58 | } |
| 59 | |
| 60 | TEST(api_create_device_profile, check_support_vulkan_1_1) { |
| 61 | const VpProfileProperties profile = {VP_LUNARG_MINIMUM_REQUIREMENTS_1_1_NAME, VP_LUNARG_MINIMUM_REQUIREMENTS_1_1_SPEC_VERSION}; |
nothing calls this directly
no outgoing calls
no test coverage detected