File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
shared/source/memory_manager/definitions Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ StorageInfo::StorageInfo() = default;
2626StorageInfo MemoryManager::createStorageInfoFromProperties (const AllocationProperties &properties) {
2727 StorageInfo storageInfo{};
2828 storageInfo.isLockable = GraphicsAllocation::isLockable (properties.allocationType ) || (properties.makeDeviceBufferLockable && properties.allocationType == AllocationType::buffer);
29+
30+ AppResourceHelper::copyResourceTagStr (storageInfo.resourceTag , properties.allocationType ,
31+ sizeof (storageInfo.resourceTag ));
32+
2933 if (properties.subDevicesBitfield .count () == 0 ) {
3034 return storageInfo;
3135 }
@@ -50,9 +54,6 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
5054 storageInfo.subDeviceBitfield = properties.subDevicesBitfield ;
5155 storageInfo.cpuVisibleSegment = GraphicsAllocation::isCpuAccessRequired (properties.allocationType );
5256
53- AppResourceHelper::copyResourceTagStr (storageInfo.resourceTag , properties.allocationType ,
54- sizeof (storageInfo.resourceTag ));
55-
5657 switch (properties.allocationType ) {
5758 case AllocationType::constantSurface:
5859 case AllocationType::kernelIsa:
You can’t perform that action at this time.
0 commit comments