mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +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
@@ -190,7 +190,7 @@ Buffer *Buffer::create(Context *context,
|
||||
*context,
|
||||
HwHelper::renderCompressedBuffersSupported(*hwInfo),
|
||||
memoryManager->isLocalMemorySupported(rootDeviceIndex),
|
||||
HwHelper::get(hwInfo->platform.eRenderCoreFamily).obtainRenderBufferCompressionPreference(*hwInfo, size));
|
||||
HwHelper::get(hwInfo->platform.eRenderCoreFamily).isBufferSizeSuitableForRenderCompression(size));
|
||||
|
||||
if (ptr) {
|
||||
if (!memoryProperties.flags.useHostPtr) {
|
||||
|
||||
Reference in New Issue
Block a user