MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / TEST

Function TEST

library/test/test_api_create_device.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51TEST(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
60TEST(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};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected