#include #include "d3d11_options.h" namespace dxvk { D3D11Options::D3D11Options(const Config& config) { this->allowMapFlagNoWait = config.getOption("d3d11.allowMapFlagNoWait", false); this->dcSingleUseMode = config.getOption("d3d11.dcSingleUseMode", true); this->fakeStreamOutSupport = config.getOption("d3d11.fakeStreamOutSupport", false); this->maxTessFactor = config.getOption("d3d11.maxTessFactor", 0); this->samplerAnisotropy = config.getOption("d3d11.samplerAnisotropy", -1); this->deferSurfaceCreation = config.getOption("dxgi.deferSurfaceCreation", false); this->numBackBuffers = config.getOption("dxgi.numBackBuffers", 0); this->syncInterval = config.getOption("dxgi.syncInterval", -1); this->syncMode = D3D11SwapChainSyncMode(config.getOption("dxgi.syncMode", 0)); } }