mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
Force linear storage for images
Related-To: NEO-3114 Change-Id: I20dd6c7fdf4a223d45f1c3587d8a1327268742d8 Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
@@ -127,6 +127,11 @@ class MemObjHelper {
|
||||
return svmProperties;
|
||||
}
|
||||
|
||||
static bool isLinearStorageForced(const MemoryProperties &memoryProperties) {
|
||||
return isValueSet(memoryProperties.flags, CL_MEM_FORCE_LINEAR_STORAGE_INTEL) ||
|
||||
isValueSet(memoryProperties.flags_intel, CL_MEM_FORCE_LINEAR_STORAGE_INTEL);
|
||||
}
|
||||
|
||||
static bool isSuitableForRenderCompression(bool renderCompressed, const MemoryProperties &properties, ContextType contextType, bool preferCompression);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user