1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 22:08:59 +01:00

[dxvk] Remove options to disable OpenVR/XR support

No longer needed since we no longer load vrclient.so into the game's
process just to query extensions.
This commit is contained in:
Philip Rebohle 2022-01-24 14:50:04 +01:00
parent 4e6db51230
commit b4e4eca99f
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
4 changed files with 2 additions and 26 deletions

View File

@ -20,12 +20,8 @@ namespace dxvk {
m_options = DxvkOptions(m_config);
m_extProviders.push_back(&DxvkPlatformExts::s_instance);
if (m_options.enableOpenVR)
m_extProviders.push_back(&VrInstance::s_instance);
if (m_options.enableOpenXR)
m_extProviders.push_back(&DxvkXrProvider::s_instance);
m_extProviders.push_back(&VrInstance::s_instance);
m_extProviders.push_back(&DxvkXrProvider::s_instance);
Logger::info("Built-in extension providers:");
for (const auto& provider : m_extProviders)

View File

@ -4,8 +4,6 @@ namespace dxvk {
DxvkOptions::DxvkOptions(const Config& config) {
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
enableOpenVR = config.getOption<bool> ("dxvk.enableOpenVR", true);
enableOpenXR = config.getOption<bool> ("dxvk.enableOpenXR", true);
numCompilerThreads = config.getOption<int32_t> ("dxvk.numCompilerThreads", 0);
useRawSsbo = config.getOption<Tristate>("dxvk.useRawSsbo", Tristate::Auto);
shrinkNvidiaHvvHeap = config.getOption<Tristate>("dxvk.shrinkNvidiaHvvHeap", Tristate::Auto);

View File

@ -11,12 +11,6 @@ namespace dxvk {
/// Enable state cache
bool enableStateCache;
/// Enables OpenVR loading
bool enableOpenVR;
/// Enables OpenXR loading
bool enableOpenXR;
/// Number of compiler threads
/// when using the state cache
int32_t numCompilerThreads;

View File

@ -139,14 +139,6 @@ namespace dxvk {
{ R"(\\SaintsRowTheThird_DX11\.exe$)", {{
{ "d3d11.constantBufferRangeCheck", "True" },
}} },
/* Metal Gear Solid 5 */
{ R"(\\mgsvtpp\.exe$)", {{
{ "dxvk.enableOpenVR", "False" },
}} },
/* Raft */
{ R"(\\Raft\.exe$)", {{
{ "dxvk.enableOpenVR", "False" },
}} },
/* Crysis 3 - slower if it notices AMD card *
* Apitrace mode helps massively in cpu bound *
* game parts */
@ -195,10 +187,6 @@ namespace dxvk {
{ R"(\\F1_20(1[89]|[2-9][0-9])\.exe$)", {{
{ "d3d11.forceTgsmBarriers", "True" },
}} },
/* Subnautica */
{ R"(\\Subnautica\.exe$)", {{
{ "dxvk.enableOpenVR", "False" },
}} },
/* Blue Reflection */
{ R"(\\BLUE_REFLECTION\.exe$)", {{
{ "d3d11.constantBufferRangeCheck", "True" },