mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-22 05:52:11 +01:00
08b241b3ea
Fixes a regression in The Evil Within. We should probably find a proper solution, but for now this is the best thing we can do for games which reuse command lists.
15 lines
607 B
C++
15 lines
607 B
C++
#include <unordered_map>
|
|
|
|
#include "d3d11_options.h"
|
|
|
|
namespace dxvk {
|
|
|
|
D3D11Options::D3D11Options(const Config& config) {
|
|
this->allowMapFlagNoWait = config.getOption<bool>("d3d11.allowMapFlagNoWait", false);
|
|
this->dcMapSpeedHack = config.getOption<bool>("d3d11.dcMapSpeedHack", true);
|
|
this->fakeStreamOutSupport = config.getOption<bool>("d3d11.fakeStreamOutSupport", false);
|
|
this->maxTessFactor = config.getOption<int32_t>("d3d11.maxTessFactor", 0);
|
|
this->samplerAnisotropy = config.getOption<int32_t>("d3d11.samplerAnisotropy", -1);
|
|
}
|
|
|
|
} |