mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[dxgi] Remove useless d3d10.enable option
This commit is contained in:
parent
ad3542f4fc
commit
7a0360d7c2
@ -63,13 +63,6 @@
|
|||||||
# dxgi.syncInterval = -1
|
# dxgi.syncInterval = -1
|
||||||
|
|
||||||
|
|
||||||
# Enables or dsables d3d10 support.
|
|
||||||
#
|
|
||||||
# Supported values: True, False
|
|
||||||
|
|
||||||
# d3d10.enable = True
|
|
||||||
|
|
||||||
|
|
||||||
# Handle D3D11_MAP_FLAG_DO_NOT_WAIT correctly when D3D11DeviceContext::Map()
|
# Handle D3D11_MAP_FLAG_DO_NOT_WAIT correctly when D3D11DeviceContext::Map()
|
||||||
# is called. Enabling this can potentially improve performance, but breaks
|
# is called. Enabling this can potentially improve performance, but breaks
|
||||||
# games which do not expect Map() to return an error despite using the flag.
|
# games which do not expect Map() to return an error despite using the flag.
|
||||||
|
@ -108,14 +108,10 @@ namespace dxvk {
|
|||||||
LARGE_INTEGER* pUMDVersion) {
|
LARGE_INTEGER* pUMDVersion) {
|
||||||
HRESULT hr = DXGI_ERROR_UNSUPPORTED;
|
HRESULT hr = DXGI_ERROR_UNSUPPORTED;
|
||||||
|
|
||||||
if (InterfaceName == __uuidof(IDXGIDevice))
|
if (InterfaceName == __uuidof(IDXGIDevice)
|
||||||
hr = S_OK;
|
|| InterfaceName == __uuidof(ID3D10Device)
|
||||||
|
|
||||||
if (m_factory->GetOptions()->d3d10Enable) {
|
|
||||||
if (InterfaceName == __uuidof(ID3D10Device)
|
|
||||||
|| InterfaceName == __uuidof(ID3D10Device1))
|
|| InterfaceName == __uuidof(ID3D10Device1))
|
||||||
hr = S_OK;
|
hr = S_OK;
|
||||||
}
|
|
||||||
|
|
||||||
// We can't really reconstruct the version numbers
|
// We can't really reconstruct the version numbers
|
||||||
// returned by Windows drivers from Vulkan data
|
// returned by Windows drivers from Vulkan data
|
||||||
|
@ -36,7 +36,6 @@ namespace dxvk {
|
|||||||
this->maxDeviceMemory = VkDeviceSize(config.getOption<int32_t>("dxgi.maxDeviceMemory", 0)) << 20;
|
this->maxDeviceMemory = VkDeviceSize(config.getOption<int32_t>("dxgi.maxDeviceMemory", 0)) << 20;
|
||||||
this->maxSharedMemory = VkDeviceSize(config.getOption<int32_t>("dxgi.maxSharedMemory", 0)) << 20;
|
this->maxSharedMemory = VkDeviceSize(config.getOption<int32_t>("dxgi.maxSharedMemory", 0)) << 20;
|
||||||
|
|
||||||
this->d3d10Enable = config.getOption<bool>("d3d10.enable", true);
|
|
||||||
this->nvapiHack = config.getOption<bool>("dxgi.nvapiHack", true);
|
this->nvapiHack = config.getOption<bool>("dxgi.nvapiHack", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ namespace dxvk {
|
|||||||
VkDeviceSize maxDeviceMemory;
|
VkDeviceSize maxDeviceMemory;
|
||||||
VkDeviceSize maxSharedMemory;
|
VkDeviceSize maxSharedMemory;
|
||||||
|
|
||||||
/// Enables D3D10 support
|
|
||||||
bool d3d10Enable;
|
|
||||||
|
|
||||||
/// Enables nvapi workaround
|
/// Enables nvapi workaround
|
||||||
bool nvapiHack;
|
bool nvapiHack;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user