AlignUp SizeInBytes for buffer memory #46
Labels
investigating
Still to be determined whether we work on this
optimization
Improvement in performance or memory usage
D3D12MemoryAllocator/src/D3D12MemAlloc.cpp
Line 8023 in 7597f71
If you are using the same heap for buffers and textures, it would be possible for a "small" texture with 4kb alignment to be placed in that memory space after the buffer, if the size is not aligned up. Is there any other reason you align up the size when you allocate memory for a buffer?
Or is the intention to always use separate heaps for buffers and textures?
The text was updated successfully, but these errors were encountered: