d3d12: Lower memory storage

This commit is contained in:
vlj 2015-05-29 00:45:53 +02:00 committed by Vincent Lejeune
parent f12cb9b519
commit 906146d8f6

View File

@ -66,7 +66,7 @@ void D3D12GSRender::ResourceStorage::Init(ID3D12Device *device)
// Texture
D3D12_HEAP_DESC heapDescription = {};
heapDescription.SizeInBytes = 1024 * 1024 * 512;
heapDescription.SizeInBytes = 1024 * 1024 * 64;
heapDescription.Properties.Type = D3D12_HEAP_TYPE_UPLOAD;
heapDescription.Flags = D3D12_HEAP_FLAG_ALLOW_ONLY_BUFFERS;
check(device->CreateHeap(&heapDescription, IID_PPV_ARGS(&m_uploadTextureHeap)));