Remove redundant BUFFER_COMPRESSED allocation type

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-12-06 15:29:31 +00:00
committed by Compute-Runtime-Automation
parent 2b1aa8b331
commit dfdd3c597a
39 changed files with 88 additions and 131 deletions

View File

@@ -61,7 +61,6 @@ struct AllocationTypeTagTestCase {
AllocationTypeTagTestCase allocationTypeTagValues[static_cast<int>(GraphicsAllocation::AllocationType::COUNT)] = {
{GraphicsAllocation::AllocationType::BUFFER, "BUFFER"},
{GraphicsAllocation::AllocationType::BUFFER_COMPRESSED, "BFCMPRSD"},
{GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY, "BFHSTMEM"},
{GraphicsAllocation::AllocationType::COMMAND_BUFFER, "CMNDBUFF"},
{GraphicsAllocation::AllocationType::CONSTANT_SURFACE, "CSNTSRFC"},

View File

@@ -193,10 +193,6 @@ TEST(GraphicsAllocationTest, whenAllocationTypeIsSharedResourceCopyThenAllocatio
EXPECT_TRUE(GraphicsAllocation::isLockable(GraphicsAllocation::AllocationType::SHARED_RESOURCE_COPY));
}
TEST(GraphicsAllocationTest, whenAllocationTypeIsBufferCompressedThenAllocationIsNotLockable) {
EXPECT_FALSE(GraphicsAllocation::isLockable(GraphicsAllocation::AllocationType::BUFFER_COMPRESSED));
}
TEST(GraphicsAllocationTest, whenAllocationTypeIsImageThenAllocationIsNotLockable) {
EXPECT_FALSE(GraphicsAllocation::isLockable(GraphicsAllocation::AllocationType::IMAGE));
}