Cleanup how tests create PhysicalDeviceGroup vectors
authorCharles Giessen <charles@lunarg.com>
Thu, 20 Jul 2023 18:25:12 +0000 (12:25 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 24 Jul 2023 22:32:05 +0000 (16:32 -0600)
commitb9bd696af8c89094bb6fffd1051fa08c120ca8d1
tree071e6ecc471f10dc3235942aa7d239606bc2d2e9
parent6c0da7b1c37576554b1a878fd1404644aaad3107
Cleanup how tests create PhysicalDeviceGroup vectors

Makes use of the vectors initialization constructor to remove iterating over
the elements of the vector to set the sType manually.

Also zero's out the VkPhysicalDevice array in the TestICD so that non-filled
in elements have a value of zero instead of being uninitialized.
tests/framework/icd/test_icd.cpp
tests/framework/layer/test_layer.cpp
tests/loader_layer_tests.cpp