Skip to content

Commit

Permalink
Update patch for dxvk commit 2405e47
Browse files Browse the repository at this point in the history
Fixes doitsujin#6

Also extends compatibility to dxvk 1.4.3

Source-commit: 88e6392346dc1677d4898e6d4aa27a9026778e08
Signed-off-by: Juuso Alasuutari <juuso.alasuutari@gmail.com>
  • Loading branch information
Sporif authored and imaami committed Jun 26, 2021
1 parent 2dd90f2 commit c4356fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/dxvk/dxvk_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
namespace dxvk {

DxvkOptions::DxvkOptions(const Config& config) {
enableAsync = config.getOption<bool> ("dxvk.enableAsync", false);
enableStateCache = config.getOption<bool> ("dxvk.enableStateCache", true);
enableOpenVR = config.getOption<bool> ("dxvk.enableOpenVR", true);
enableOpenXR = config.getOption<bool> ("dxvk.enableOpenXR", true);
numAsyncThreads = config.getOption<int32_t> ("dxvk.numAsyncThreads", 0);
numCompilerThreads = config.getOption<int32_t> ("dxvk.numCompilerThreads", 0);
useRawSsbo = config.getOption<Tristate>("dxvk.useRawSsbo", Tristate::Auto);
halveNvidiaHVVHeap = config.getOption<Tristate>("dxvk.halveNvidiaHVVHeap", Tristate::Auto);
hud = config.getOption<std::string>("dxvk.hud", "");
enableAsync = config.getOption<bool> ("dxvk.enableAsync", false);
numAsyncThreads = config.getOption<int32_t> ("dxvk.numAsyncThreads", 0);
}

}
14 changes: 7 additions & 7 deletions src/dxvk/dxvk_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ namespace dxvk {
DxvkOptions() { }
DxvkOptions(const Config& config);

// Enable async pipelines
bool enableAsync;

/// Enable state cache
bool enableStateCache;

Expand All @@ -20,14 +17,17 @@ namespace dxvk {
/// Enables OpenXR loading
bool enableOpenXR;

/// Number of compiler threads
/// when using async pipelines
int32_t numAsyncThreads;

/// Number of compiler threads
/// when using the state cache
int32_t numCompilerThreads;

// Enable async pipelines
bool enableAsync;

/// Number of compiler threads
/// when using async pipelines
int32_t numAsyncThreads;

/// Shader-related options
Tristate useRawSsbo;

Expand Down

0 comments on commit c4356fe

Please sign in to comment.