mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Remove 32 bit code paths from allocation schemes.
Change-Id: I4825ff504abacdd4c08ac49c7d678daa100d23dc Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
00243a455d
commit
fd17b391c8
@@ -382,7 +382,7 @@ void Buffer::checkMemory(MemoryPropertiesFlags memoryProperties,
|
||||
GraphicsAllocation::AllocationType Buffer::getGraphicsAllocationType(const MemoryPropertiesFlags &properties, Context &context,
|
||||
bool renderCompressedBuffers, bool isLocalMemoryEnabled,
|
||||
bool preferCompression) {
|
||||
if (is32bit || context.isSharedContext || properties.flags.forceSharedPhysicalMemory) {
|
||||
if (context.isSharedContext || properties.flags.forceSharedPhysicalMemory) {
|
||||
return GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user