Add logic to create wddm allocation with many handles

Change-Id: I1eeffddf7108183ad867d2b05d313f0cf6941c01
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2019-03-07 15:14:11 +01:00
committed by sys_ocldev
parent 22c3c10679
commit 6abc3f7d9b
12 changed files with 84 additions and 18 deletions

View File

@@ -60,3 +60,7 @@ TEST(UncacheableFlagsTest, givenUncachedResourceFlagWhenGetAllocationFlagsIsCall
allocationFlags = MemObjHelper::getAllocationProperties(0, false, 0, GraphicsAllocation::AllocationType::BUFFER);
EXPECT_FALSE(allocationFlags.flags.uncacheable);
}
TEST(StorageInfoTest, whenStorageInfoIsCreatedWithDefaultConstructorThenReturnsOneHandle) {
StorageInfo storageInfo;
EXPECT_EQ(1u, storageInfo.getNumHandles());
}