TestICD return features, props, & memprops
authorCharles Giessen <charles@lunarg.com>
Wed, 1 Dec 2021 21:19:54 +0000 (14:19 -0700)
committerMike Schuchardt <mikes@lunarg.com>
Tue, 25 Jan 2022 18:54:13 +0000 (10:54 -0800)
Make the TestICD return the features, properties, & memory properties of
a physical device.

tests/loader_regression_tests.cpp

index 0c912668b75181a2d5be95b20acdad93409c4cb3..e02e8174f01ad39d2e4a0b90aca6fe3fa09ffa6f 100644 (file)
@@ -924,6 +924,7 @@ TEST(ExtensionManual, ToolingProperties) {
         FrameworkEnvironment env{};
         env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_6));
         env.get_test_icd().physical_devices.push_back({});
+        env.get_test_icd().physical_devices.back().properties.apiVersion = VK_MAKE_API_VERSION(0, 1, 3, 0);
         env.get_test_icd().supports_tooling_info_core = true;
         env.get_test_icd().tooling_properties.push_back(icd_tool_props);