mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[dxgi] Remove emulateUMA option
The option was only used for GTA IV. It broke and we have a better solution now.
This commit is contained in:
parent
9a280b063a
commit
eb8d1885bd
@ -118,15 +118,6 @@
|
||||
# dxgi.maxSharedMemory = 0
|
||||
|
||||
|
||||
# Some games think we are on Intel given a lack of NVAPI or
|
||||
# AGS/atiadlxx support. Report our device memory as shared memory,
|
||||
# and some small amount for a "carveout".
|
||||
|
||||
# Supported values: True, False
|
||||
|
||||
# dxgi.emulateUMA = False
|
||||
|
||||
|
||||
# Override back buffer count for the Vulkan swap chain.
|
||||
# Setting this to 0 or less will have no effect.
|
||||
#
|
||||
|
@ -353,7 +353,7 @@ namespace dxvk {
|
||||
// which can be an integrated GPU on some systems. Report available memory as shared
|
||||
// memory and a small amount as dedicated carve-out if a dedicated GPU is present,
|
||||
// otherwise report memory normally to not unnecessarily confuse games on Deck.
|
||||
if ((m_adapter->isLinkedToDGPU() && deviceProp.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU) || options->emulateUMA) {
|
||||
if ((m_adapter->isLinkedToDGPU() && deviceProp.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU)) {
|
||||
sharedMemory = std::max(sharedMemory, deviceMemory);
|
||||
deviceMemory = 512ull << 20;
|
||||
}
|
||||
|
@ -85,9 +85,6 @@ namespace dxvk {
|
||||
this->customVendorId = parsePciId(config.getOption<std::string>("dxgi.customVendorId"));
|
||||
this->customDeviceId = parsePciId(config.getOption<std::string>("dxgi.customDeviceId"));
|
||||
this->customDeviceDesc = config.getOption<std::string>("dxgi.customDeviceDesc", "");
|
||||
|
||||
// Emulate a UMA device
|
||||
this->emulateUMA = config.getOption<bool>("dxgi.emulateUMA", false);
|
||||
|
||||
// Interpret the memory limits as Megabytes
|
||||
this->maxDeviceMemory = VkDeviceSize(config.getOption<int32_t>("dxgi.maxDeviceMemory", 0)) << 20;
|
||||
|
@ -30,9 +30,6 @@ namespace dxvk {
|
||||
VkDeviceSize maxDeviceMemory;
|
||||
VkDeviceSize maxSharedMemory;
|
||||
|
||||
/// Emulate UMA
|
||||
bool emulateUMA;
|
||||
|
||||
/// Reports Nvidia GPUs running on the proprietary driver as a different
|
||||
/// vendor (usually AMD). Proton will generally disable this option.
|
||||
bool hideNvidiaGpu;
|
||||
|
Loading…
x
Reference in New Issue
Block a user