Add hwhelper function allowRenderCompressionForContext

Rename and unify compression related functions.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-11-10 12:53:38 +01:00
committed by Compute-Runtime-Automation
parent e096e5b0f8
commit ed04053007
9 changed files with 21 additions and 13 deletions

View File

@ -115,7 +115,7 @@ GEN12LPTEST_F(HwHelperTestGen12Lp, givenDifferentSizesOfAllocationWhenCheckingCo
const size_t sizesToCheck[] = {128, 256, 512, 1023, 1024, 1025};
for (size_t size : sizesToCheck) {
EXPECT_FALSE(helper.obtainRenderBufferCompressionPreference(hardwareInfo, size));
EXPECT_FALSE(helper.isBufferSizeSuitableForRenderCompression(size));
}
}