mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-05 19:46:15 +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:
parent
4e6db51230
commit
b4e4eca99f
@ -20,12 +20,8 @@ namespace dxvk {
|
|||||||
m_options = DxvkOptions(m_config);
|
m_options = DxvkOptions(m_config);
|
||||||
|
|
||||||
m_extProviders.push_back(&DxvkPlatformExts::s_instance);
|
m_extProviders.push_back(&DxvkPlatformExts::s_instance);
|
||||||
|
m_extProviders.push_back(&VrInstance::s_instance);
|
||||||
if (m_options.enableOpenVR)
|
m_extProviders.push_back(&DxvkXrProvider::s_instance);
|
||||||
m_extProviders.push_back(&VrInstance::s_instance);
|
|
||||||
|
|
||||||
if (m_options.enableOpenXR)
|
|
||||||
m_extProviders.push_back(&DxvkXrProvider::s_instance);
|
|
||||||
|
|
||||||
Logger::info("Built-in extension providers:");
|
Logger::info("Built-in extension providers:");
|
||||||
for (const auto& provider : m_extProviders)
|
for (const auto& provider : m_extProviders)
|
||||||
|
@ -4,8 +4,6 @@ namespace dxvk {
|
|||||||
|
|
||||||
DxvkOptions::DxvkOptions(const Config& config) {
|
DxvkOptions::DxvkOptions(const Config& config) {
|
||||||
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
|
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);
|
numCompilerThreads = config.getOption<int32_t> ("dxvk.numCompilerThreads", 0);
|
||||||
useRawSsbo = config.getOption<Tristate>("dxvk.useRawSsbo", Tristate::Auto);
|
useRawSsbo = config.getOption<Tristate>("dxvk.useRawSsbo", Tristate::Auto);
|
||||||
shrinkNvidiaHvvHeap = config.getOption<Tristate>("dxvk.shrinkNvidiaHvvHeap", Tristate::Auto);
|
shrinkNvidiaHvvHeap = config.getOption<Tristate>("dxvk.shrinkNvidiaHvvHeap", Tristate::Auto);
|
||||||
|
@ -11,12 +11,6 @@ namespace dxvk {
|
|||||||
/// Enable state cache
|
/// Enable state cache
|
||||||
bool enableStateCache;
|
bool enableStateCache;
|
||||||
|
|
||||||
/// Enables OpenVR loading
|
|
||||||
bool enableOpenVR;
|
|
||||||
|
|
||||||
/// Enables OpenXR loading
|
|
||||||
bool enableOpenXR;
|
|
||||||
|
|
||||||
/// Number of compiler threads
|
/// Number of compiler threads
|
||||||
/// when using the state cache
|
/// when using the state cache
|
||||||
int32_t numCompilerThreads;
|
int32_t numCompilerThreads;
|
||||||
|
@ -139,14 +139,6 @@ namespace dxvk {
|
|||||||
{ R"(\\SaintsRowTheThird_DX11\.exe$)", {{
|
{ R"(\\SaintsRowTheThird_DX11\.exe$)", {{
|
||||||
{ "d3d11.constantBufferRangeCheck", "True" },
|
{ "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 *
|
/* Crysis 3 - slower if it notices AMD card *
|
||||||
* Apitrace mode helps massively in cpu bound *
|
* Apitrace mode helps massively in cpu bound *
|
||||||
* game parts */
|
* game parts */
|
||||||
@ -195,10 +187,6 @@ namespace dxvk {
|
|||||||
{ R"(\\F1_20(1[89]|[2-9][0-9])\.exe$)", {{
|
{ R"(\\F1_20(1[89]|[2-9][0-9])\.exe$)", {{
|
||||||
{ "d3d11.forceTgsmBarriers", "True" },
|
{ "d3d11.forceTgsmBarriers", "True" },
|
||||||
}} },
|
}} },
|
||||||
/* Subnautica */
|
|
||||||
{ R"(\\Subnautica\.exe$)", {{
|
|
||||||
{ "dxvk.enableOpenVR", "False" },
|
|
||||||
}} },
|
|
||||||
/* Blue Reflection */
|
/* Blue Reflection */
|
||||||
{ R"(\\BLUE_REFLECTION\.exe$)", {{
|
{ R"(\\BLUE_REFLECTION\.exe$)", {{
|
||||||
{ "d3d11.constantBufferRangeCheck", "True" },
|
{ "d3d11.constantBufferRangeCheck", "True" },
|
||||||
|
Loading…
Reference in New Issue
Block a user