mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-21 04:25:25 -04:00
Refactor FrameworkEnvironment API a bit
Redo some of API's for adding layers and ICD's to the test framework.
This commit is contained in:
committed by
Charles Giessen
parent
01cac032ad
commit
c8713e1fbe
@@ -650,7 +650,7 @@ TEST(Allocation, EnumeratePhysicalDevicesIntentionalAllocFail) {
|
||||
// leak memory if one of the out-of-memory conditions trigger.
|
||||
TEST(Allocation, CreateInstanceDeviceWithDXGIDriverIntentionalAllocFail) {
|
||||
FrameworkEnvironment env{};
|
||||
env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_6).set_add_manifest_to_default_driver_location(false));
|
||||
env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_6).set_discovery_type(ManifestDiscoveryType::none));
|
||||
env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2));
|
||||
|
||||
for (uint32_t i = 0; i < 2; i++) {
|
||||
|
||||
Reference in New Issue
Block a user