mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
012a5c2f74
When setting d3d11.samplerAnisotropy to a non-negative value, AF will be either disabled (0) or enabled with the given anisotropy (>0) for all samplers.
14 lines
512 B
C++
14 lines
512 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->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);
|
|
}
|
|
|
|
} |