vkd3d-proton/libs
Hans-Kristian Arntzen 3dfcc10312 vkd3d: Refactor away the global_mask.
The global mask was added with the intention to block PCI-e BAR memory
types from being used, however, this ends up being somewhat clumsy when
we want to allow PCI-e BAR for specific allocations.

Refactor the memory allocation scheme to never end up in a situation
where we accidentally allocate PCI-e BAR memory. We only attempt one
memory type. This makes is so that pure DEVICE cannot fallback to BAR,
and pure HOST allocations (if they somehow fail) cannot fallback to BAR.

The first eligible memory type is always selected.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2022-05-23 09:59:24 +02:00
..
d3d12 d3d12: Do not export ordinals for most symbols. 2021-10-12 11:09:16 +01:00
vkd3d vkd3d: Refactor away the global_mask. 2022-05-23 09:59:24 +02:00
vkd3d-common common: Fix missing include. 2022-04-22 18:31:59 +02:00
vkd3d-shader Use Windows specific environment calls for better Windows compatibility. 2022-04-22 17:40:21 +02:00
vkd3d-utils d3d12: Do not export ordinals for most symbols. 2021-10-12 11:09:16 +01:00
.gitignore libs/vkd3d: Trace build version. 2018-06-27 22:43:49 +02:00
meson.build meta: Add missing newlines to end of files 2020-11-05 17:16:57 +01:00