mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Add hwhelper function allowRenderCompressionForContext
Rename and unify compression related functions. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
e096e5b0f8
commit
ed04053007
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user