Limit blitter max height.

Change-Id: I957d5501cac8b837391f88d6e20d1bf47e681ae5
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2020-03-13 11:04:56 +01:00
committed by sys_ocldev
parent 0884a341c8
commit 3243b9d69d
2 changed files with 7 additions and 2 deletions

View File

@ -1241,3 +1241,8 @@ TEST_F(ScratchSpaceControllerTest, whenScratchSpaceControllerIsDestroyedThenItRe
EXPECT_NE(nullptr, scratchSpaceController.privateScratchAllocation);
//no memory leak is expected
}
TEST(BcsConstantsTests, givenBlitConstantsThenTheyHaveDesiredValues) {
EXPECT_EQ(BlitterConstants::maxBlitWidth, 0x7FC0u);
EXPECT_EQ(BlitterConstants::maxBlitHeight, 0x3FC0u);
}