Skip to content

Commit

Permalink
tests: Update based on upstreamed change requests
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep committed Jan 5, 2024
1 parent 5be328f commit 8602bfb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/loader_regression_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,9 @@ TEST(EnumeratePhysicalDevices, OneCall) {

TEST(EnumeratePhysicalDevices, TwoCall) {
FrameworkEnvironment env{};
auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).set_min_icd_interface_version(5);
auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2))
.set_min_icd_interface_version(5)
.add_instance_extension({VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME});

const uint32_t real_device_count = 2;
for (uint32_t i = 0; i < real_device_count; i++) {
Expand All @@ -753,7 +755,9 @@ TEST(EnumeratePhysicalDevices, TwoCall) {

TEST(EnumeratePhysicalDevices, MatchOneAndTwoCallNumbers) {
FrameworkEnvironment env{};
auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).set_min_icd_interface_version(5);
auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2))
.set_min_icd_interface_version(5)
.add_instance_extension({VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME});

const uint32_t real_device_count = 3;
for (uint32_t i = 0; i < real_device_count; i++) {
Expand Down Expand Up @@ -787,7 +791,9 @@ TEST(EnumeratePhysicalDevices, MatchOneAndTwoCallNumbers) {

TEST(EnumeratePhysicalDevices, TwoCallIncomplete) {
FrameworkEnvironment env{};
auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).set_min_icd_interface_version(5);
auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2))
.set_min_icd_interface_version(5)
.add_instance_extension({VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME});

const uint32_t real_device_count = 2;
for (uint32_t i = 0; i < real_device_count; i++) {
Expand Down

0 comments on commit 8602bfb

Please sign in to comment.