[dxvk] Remove dead enableRtOutputNanFixup option

Dead code since 2.0, not sure why this was still in here.
This commit is contained in:
Philip Rebohle 2022-11-18 22:29:04 +01:00
parent e037d24017
commit a130146f15
4 changed files with 0 additions and 12 deletions

View File

@ -14,7 +14,6 @@ namespace dxvk {
D3D11Options::D3D11Options(const Config& config, const Rc<DxvkDevice>& device) {
this->dcSingleUseMode = config.getOption<bool>("d3d11.dcSingleUseMode", true);
this->enableRtOutputNanFixup = config.getOption<bool>("d3d11.enableRtOutputNanFixup", false);
this->zeroInitWorkgroupMemory = config.getOption<bool>("d3d11.zeroInitWorkgroupMemory", false);
this->forceVolatileTgsmAccess = config.getOption<bool>("d3d11.forceVolatileTgsmAccess", false);
this->relaxedBarriers = config.getOption<bool>("d3d11.relaxedBarriers", false);

View File

@ -20,10 +20,6 @@ namespace dxvk {
/// than once.
bool dcSingleUseMode;
/// Enables workaround to replace NaN render target
/// outputs with zero
bool enableRtOutputNanFixup;
/// Zero-initialize workgroup memory
///
/// Workargound for games that don't initialize

View File

@ -35,7 +35,6 @@ namespace dxvk {
}
invariantPosition = options.invariantPosition;
enableRtOutputNanFixup = options.enableRtOutputNanFixup;
zeroInitWorkgroupMemory = options.zeroInitWorkgroupMemory;
forceVolatileTgsmAccess = options.forceVolatileTgsmAccess;
disableMsaa = options.disableMsaa;
@ -55,9 +54,6 @@ namespace dxvk {
floatControl.set(DxbcFloatControlFlag::DenormPreserve64);
}
}
if (!devInfo.vk12.shaderSignedZeroInfNanPreserveFloat32)
enableRtOutputNanFixup = true;
}
}

View File

@ -31,9 +31,6 @@ namespace dxvk {
/// atomic operations for append/consume buffers.
bool useSubgroupOpsForAtomicCounters = false;
/// Enables NaN fixup for render target outputs
bool enableRtOutputNanFixup = false;
/// Clear thread-group shared memory to zero
bool zeroInitWorkgroupMemory = false;