vkd3d-proton/libs
Hans-Kristian Arntzen a019a21f70 vkd3d: Allocate one large buffer for a heap and offset into it.
Greatly reduce VA allocations we have to make and makes returned VA more
sensible, and better matches returned VAs we see on native drivers.

D3D12 usage flags for buffers seem generic enough that there
is no obvious benefit to place smaller VkBuffers on top of
VkDeviceMemory.

Ideally, physical_buffer_address is used here, but this works as a
good fallback if that path is added later.

With this patch and previous VA optimization, I'm observing a 2.0-2.5%
FPS uplift on SOTTR when CPU bound.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2019-10-03 12:06:16 +02:00
..
vkd3d vkd3d: Allocate one large buffer for a heap and offset into it. 2019-10-03 12:06:16 +02:00
vkd3d-common vkd3d: Handle lists in debug env vars consistently. 2019-05-17 20:41:09 +02:00
vkd3d-shader vkd3d-shader: Always emit the invocation count for geometry shaders. 2019-10-01 19:16:48 +02:00
vkd3d-utils vkd3d: Add stubs for versioned root signatures. 2019-04-10 18:56:55 +02:00
.gitignore libs/vkd3d: Trace build version. 2018-06-27 22:43:49 +02:00