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